public interface Undoable
Modifier and Type | Method and Description |
---|---|
void |
addUndoPoint()
adds an undo point to the undo history
|
boolean |
canUndo()
returns whether an undo is possible, i.e.
|
void |
clearUndo()
removes the undo history
|
boolean |
isUndoEnabled()
returns whether undo support is enabled
|
void |
setUndoEnabled(boolean enabled)
sets whether undo support is enabled
|
void |
undo()
undoes the last action
|
boolean isUndoEnabled()
void setUndoEnabled(boolean enabled)
void clearUndo()
boolean canUndo()
void undo()
void addUndoPoint()