|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcdox.gui.undo.FotoEditAction
This class represents the undo/redo action for an Image-correction. This can be blur, sharpen, alphacorrection, contrast or brightness.
| Constructor Summary | |
FotoEditAction(CDoxFrame cf,
ImageElement el,
java.lang.String oKey,
java.lang.String nKey)
Creates a new FotoEditAction which stores the key (id) to the oldImage and the key to the newImage. |
|
| Method Summary | |
void |
invalidate()
This method invalidates the action, which typically means that the undo/redo methods do nothing. |
void |
redo()
Resets the newKey to the ImageElement. |
void |
undo()
Resets the oldKey to the ImageElement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FotoEditAction(CDoxFrame cf,
ImageElement el,
java.lang.String oKey,
java.lang.String nKey)
cf - the CDoxFrameel - the ImageElement which has been corrected,oKey - the oldKey which represents a unique id to an (temp)Image on disknKey - the newKey which represents a unique id to an (temp)Image on disk| 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 | |||||||||