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