com.jaxfront.core.util.undo
Class ListMoveUndoableEditWrapper

java.lang.Object
  extended by com.jaxfront.core.util.undo.JAXFrontUndoableEditWrapper
      extended by com.jaxfront.core.util.undo.ListMoveUndoableEditWrapper
All Implemented Interfaces:
JAXFrontUndoableEdit, javax.swing.undo.UndoableEdit

public class ListMoveUndoableEditWrapper
extends JAXFrontUndoableEditWrapper


Constructor Summary
ListMoveUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, ListType target, int fromIndex, int toIndex)
           
ListMoveUndoableEditWrapper(JAXFrontUndoManager manager, java.lang.Object eventSource, java.lang.String target, int fromIndex, int toIndex)
           
 
Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 void die()
           
 java.lang.String getPresentationName()
           
 java.lang.String getRedoPresentationName()
           
 java.lang.String getUndoPresentationName()
           
 void redo()
           
 void serialize(java.io.PrintWriter writer)
           
 void undo()
           
 
Methods inherited from class com.jaxfront.core.util.undo.JAXFrontUndoableEditWrapper
addEdit, evalTargetType, getInfo, isSignificant, macroRedo, macroUndo, replaceEdit, setFirst, setIsInCompoundEdit, setLast, setSignificant, startBlocking, stopBlocking, visualizeRedo, visualizeUndo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListMoveUndoableEditWrapper

public ListMoveUndoableEditWrapper(JAXFrontUndoManager manager,
                                   java.lang.Object eventSource,
                                   ListType target,
                                   int fromIndex,
                                   int toIndex)

ListMoveUndoableEditWrapper

public ListMoveUndoableEditWrapper(JAXFrontUndoManager manager,
                                   java.lang.Object eventSource,
                                   java.lang.String target,
                                   int fromIndex,
                                   int toIndex)
Method Detail

die

public void die()
Specified by:
die in interface javax.swing.undo.UndoableEdit
Overrides:
die in class JAXFrontUndoableEditWrapper

getPresentationName

public java.lang.String getPresentationName()

getRedoPresentationName

public java.lang.String getRedoPresentationName()
Specified by:
getRedoPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getRedoPresentationName in class JAXFrontUndoableEditWrapper

getUndoPresentationName

public java.lang.String getUndoPresentationName()
Specified by:
getUndoPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getUndoPresentationName in class JAXFrontUndoableEditWrapper

canRedo

public boolean canRedo()
Specified by:
canRedo in interface javax.swing.undo.UndoableEdit
Overrides:
canRedo in class JAXFrontUndoableEditWrapper

canUndo

public boolean canUndo()
Specified by:
canUndo in interface javax.swing.undo.UndoableEdit
Overrides:
canUndo in class JAXFrontUndoableEditWrapper

redo

public void redo()
          throws javax.swing.undo.CannotRedoException
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class JAXFrontUndoableEditWrapper
Throws:
javax.swing.undo.CannotRedoException

undo

public void undo()
          throws javax.swing.undo.CannotUndoException
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class JAXFrontUndoableEditWrapper
Throws:
javax.swing.undo.CannotUndoException

serialize

public void serialize(java.io.PrintWriter writer)
Specified by:
serialize in interface JAXFrontUndoableEdit
Overrides:
serialize in class JAXFrontUndoableEditWrapper