com.mindfusion.diagramming
Class DiagramNodeState

java.lang.Object
  extended by com.mindfusion.diagramming.DiagramItemState
      extended by com.mindfusion.diagramming.DiagramNodeState
Direct Known Subclasses:
ShapeNodeState

public class DiagramNodeState
extends DiagramItemState

Contains a snapshot of the internal state of a DiagramNode. Instances of this class are used to store the state of nodes for later undo or redo operations. If you derive from DiagramNode and need to implement undo support for the additional internal state defined by your class, do so by deriving from DiagramNodeState and overriding the DiagramNode.createState(), DiagramNode.saveState(com.mindfusion.diagramming.DiagramItemState) and DiagramNode.restoreState(com.mindfusion.diagramming.DiagramItemState) methods.


Field Summary
 
Fields inherited from class com.mindfusion.diagramming.DiagramItemState
item
 
Constructor Summary
DiagramNodeState(DiagramNode node)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramNodeState

public DiagramNodeState(DiagramNode node)