Package net.jalbum.undo
Class UndoableMoveEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
net.jalbum.undo.UndoableMoveEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
Representation of an undoable object move
- Since:
- 13
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionUndoableMoveEdit
(AlbumObject ao, AlbumObject newParent, String newName, int newPosition) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, isSignificant, replaceEdit, toString
-
Constructor Details
-
UndoableMoveEdit
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotRedoException
-
getUndoPresentationName
- Specified by:
getUndoPresentationName
in interfaceUndoableEdit
- Overrides:
getUndoPresentationName
in classAbstractUndoableEdit
-
getRedoPresentationName
- Specified by:
getRedoPresentationName
in interfaceUndoableEdit
- Overrides:
getRedoPresentationName
in classAbstractUndoableEdit
-