Class MoveNode
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
com.marginallyclever.ro3.apps.commands.MoveNode
- All Implemented Interfaces:
Serializable,UndoableEdit
Move
Nodes from their current parent to another parent.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
MoveNode
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein classAbstractUndoableEdit
-
redo
public void redo()- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit
-
execute
public void execute() -
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
reverse
public void reverse()
-