Package org.jjazz.undomanager.api
Class SimpleEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.jjazz.undomanager.api.SimpleEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
A convenience class to create insignificant undoableedits that can be combined into CompoundEdits.
- See Also:
-
CEdit
- Serialized Form
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, replaceEdit
-
Constructor Details
-
SimpleEdit
-
-
Method Details
-
undo
public void undo()- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
-
undoBody
public abstract void undoBody() -
redo
public void redo()- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
-
redoBody
public abstract void redoBody() -
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
isSignificant
public boolean isSignificant()Must be embedded in a significant CompoundEdit.- Specified by:
isSignificant
in interfaceUndoableEdit
- Overrides:
isSignificant
in classAbstractUndoableEdit
- Returns:
- False
-
toString
- Overrides:
toString
in classAbstractUndoableEdit
-