|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.DiagramItemState com.mindfusion.diagramming.DiagramNodeState
public class DiagramNodeState
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 |
---|
public DiagramNodeState(DiagramNode node)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |