mxGraph
|
Implements a diagram that may be shared among multiple sessions. More...
Public Member Functions | |
mxSharedDiagram (string state) | |
Constructs a new diagram with the given initial state. More... | |
string | GetDelta () |
Returns the delta of all changes as a string. More... | |
void | ProcessDelta (Object sender, XmlNode delta) |
Appends the given string to the history and dispatches the change to all sessions that are listening to this shared diagram. More... | |
string | ProcessEdit (XmlNode node) |
void | AddDelta (String xml) |
Clears the delta of all changes. More... | |
void | ResetDelta () |
Clears the delta of all changes. More... | |
Protected Attributes | |
string | state |
Holds the initial state of the diagram. More... | |
StringBuilder | delta = new StringBuilder() |
Holds the delta of all changes of initial state. More... | |
Properties | |
string | State [get] |
Returns the initial state of the diagram. More... | |
Events | |
mxDiagramChangeEventHandler | DiagramChange |
Fires when the diagram was changed. More... | |
Implements a diagram that may be shared among multiple sessions.
|
inline |
Constructs a new diagram with the given initial state.
state | Initial state of the diagram. |
|
inline |
Clears the delta of all changes.
|
inline |
Returns the delta of all changes as a string.
|
inline |
Appends the given string to the history and dispatches the change to all sessions that are listening to this shared diagram.
sender | |
delta |
|
inline |
|
inline |
Clears the delta of all changes.
|
protected |
Holds the delta of all changes of initial state.
|
protected |
Holds the initial state of the diagram.
|
get |
Returns the initial state of the diagram.
mxDiagramChangeEventHandler com.mxgraph.mxSharedDiagram.DiagramChange |
Fires when the diagram was changed.
Referenced by com.mxgraph.mxSession.mxSession().