public static class EditableOMGraphic.OMGraphicUndoEvent extends java.lang.Object implements UndoEvent
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected EditableOMGraphic |
eomg |
protected OMGraphic |
stateHolder |
Constructor and Description |
---|
EditableOMGraphic.OMGraphicUndoEvent(EditableOMGraphic eomg,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
EditableOMGraphic |
getEomg() |
OMGraphic |
getStateHolder() |
void |
setDescription(java.lang.String description) |
void |
setState()
Tell the UndoEvent to set its source object back to the state described by
this object.
|
void |
setStateHolder(OMGraphic stateHolder) |
protected void |
setSubclassState()
Called from setState before repaint() is called, so subclasses can update anything in their EditableOMGraphic
state for the restored OMGraphic.
|
protected EditableOMGraphic eomg
protected OMGraphic stateHolder
protected java.lang.String description
public EditableOMGraphic.OMGraphicUndoEvent(EditableOMGraphic eomg, java.lang.String description) throws java.util.MissingResourceException
java.util.MissingResourceException
public java.lang.String getDescription()
getDescription
in interface UndoEvent
public void setState()
UndoEvent
protected void setSubclassState()
public OMGraphic getStateHolder()
public void setStateHolder(OMGraphic stateHolder)
stateHolder
- the stateHolder to setpublic EditableOMGraphic getEomg()
public void setDescription(java.lang.String description)
description
- the description to setCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details