Implements a diagram that may be shared among multiple sessions.
More...
|
string | state |
| Holds the initial state of the diagram. More...
|
|
StringBuilder | delta = new StringBuilder() |
| Holds the delta of all changes of initial state. More...
|
|
|
string | State [get] |
| Returns the initial state of the diagram. More...
|
|
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.
- Parameters
-
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.
- Parameters
-
string com.mxgraph.mxSharedDiagram.ProcessEdit |
( |
XmlNode |
node | ) |
|
|
inline |
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.
The documentation for this class was generated from the following file:
- src/sharing/mxSharedState.cs