com.bbn.openmap.event
Interface UndoEvent

All Known Implementing Classes:
EditableOMGraphic.OMGraphicUndoEvent, EditableOMPoly.OMPolyUndoEvent, EditableOMRangeRings.OMRangeRingUndoEvent

public interface UndoEvent

An UndoEvent is an object that contains everything needed to reset its source back to a specific state. Used by the UndoStack. This event is used by the UndoStack to tell other objects to undo/redo - go to a certain state. The events that tell the UndoStack to make these notifications are regular ActionEvents, not these.

Author:
ddietrick

Method Summary
 java.lang.String getDescription()
           
 void setState()
          Tell the UndoEvent to set its source object back to the state described by this object.
 

Method Detail

getDescription

java.lang.String getDescription()
Returns:
a short description of what will happen when setState() is invoked.

setState

void setState()
Tell the UndoEvent to set its source object back to the state described by this object.



Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details