|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Alternative to java's undoable edit, this edit interface works better with the LAL framework, offering a URI as GUID to allow external manipulation with the preferences. It is a little simplified, for now.
Method Summary | |
boolean |
canRedo()
Checks to see if the action may be applied in the given state of the system. |
boolean |
canUndo()
Checks to see if the action may be undone in the given state of the system. |
void |
die()
Kill the undo. |
java.lang.Object |
getClient()
Gets the recipient of the action. |
java.lang.Object |
getSource()
Gets the source of the action. |
java.lang.String |
getUri()
Get the URI that identifies the type of action this object represents. |
void |
redo()
Apply the action again. |
void |
undo()
Undo the action. |
Method Detail |
public void die()
public boolean canRedo()
true
if the action may be redonepublic boolean canUndo()
true
if the action may be undonepublic void redo()
java.lang.IllegalStateException
- if the action cannot be redonepublic void undo()
java.lang.IllegalStateException
- if the action cannot be undonepublic java.lang.String getUri()
public java.lang.Object getClient()
public java.lang.Object getSource()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |