|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdox.gui.undo.RemoveBackgroundAction
This class represents a remove action. Redo will remove the backgroundImage again, undo will insert it.
Constructor Summary | |
RemoveBackgroundAction(CDoxFrame cF,
Cover c,
java.lang.String oKey)
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 backgroundimage |
void |
undo()
Inserts the backgroundimage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoveBackgroundAction(CDoxFrame cF, Cover c, java.lang.String oKey)
cF
- the CDoxFramec
- the cover from which the backgroundImage is removedoKey
- The unique String representation to the TempFile on disk.Method Detail |
public void undo()
undo
in interface DoAction
public void redo()
redo
in interface DoAction
public void invalidate()
DoAction
invalidate
in interface DoAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |