|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcdox.gui.undo.RemoveAction
This class represents a remove action. Redo will remove the element again, undo will insert it.
| Constructor Summary | |
RemoveAction(Element e,
Cover c)
Creates a new one. |
|
| Method Summary | |
void |
invalidate()
This method invalidates the action, which typically means that the undo/redo methods do nothing. |
void |
redo()
Removes the element. |
void |
undo()
Inserts the element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RemoveAction(Element e,
Cover c)
e - the element that is removed.c - the cover from which the element is removed.| Method Detail |
public void undo()
undo in interface DoActionpublic void redo()
redo in interface DoActionpublic void invalidate()
DoAction
invalidate in interface DoAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||