lt.monarch.util
Class EditStyleAction
java.lang.Object
lt.monarch.util.EditStyleAction
- Direct Known Subclasses:
- ChangeThemeAction
public class EditStyleAction
extends java.lang.Object
Class used to store single style object (color, font or some other object).
This class can be used for "Undo" action - it should retrieve previous object according to style tags from Style,
PaintStyle or TextStyle object before the changes will be done. And it can reset style back to it's previous
object value when it is needed.
- See Also:
EditStyleActionType
Method Summary
void |
undo()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditStyleAction
public EditStyleAction(PaintStyle<?> paintStyle,
AbstractPaintTags paintTags,
EditStyleActionType action)
EditStyleAction
public EditStyleAction(TextStyle<?> textStyle,
AbstractPaintTags paintTags,
EditStyleActionType action)
EditStyleAction
public EditStyleAction(Style style,
Key key)
EditStyleAction
protected EditStyleAction()
undo
public void undo()