327 lines
16 KiB
HTML
327 lines
16 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<title>mxGraph: com.mxgraph.mxSharedDiagram Class Reference</title>
|
|
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div! -->
|
|
|
|
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
|
|
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">mxGraph
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- Generated by Doxygen 1.7.6.1 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><b>com</b> </li>
|
|
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
|
|
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html">mxSharedDiagram</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#properties">Properties</a> |
|
|
<a href="#events">Events</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxSharedDiagram Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- doxytag: class="com::mxgraph::mxSharedDiagram" -->
|
|
<p>Implements a diagram that may be shared among multiple sessions.
|
|
<a href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#details">More...</a></p>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxSharedDiagram-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a32eb501cda14ddc913f29dc1d97384dd">mxSharedDiagram</a> (string <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab68fece204a474238eebea8ea703f74b">state</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new diagram with the given initial state. <a href="#a32eb501cda14ddc913f29dc1d97384dd"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab973fc3e74a52956b34e53c8eb61d56e">GetDelta</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the delta of all changes as a string. <a href="#ab973fc3e74a52956b34e53c8eb61d56e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a2b201192518fb7c702bb1e5901a36fb6">ProcessDelta</a> (Object sender, XmlNode <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a7d21cd6fa4923562f671f1b4dbe75474">delta</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Appends the given string to the history and dispatches the change to all sessions that are listening to this shared diagram. <a href="#a2b201192518fb7c702bb1e5901a36fb6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#aa261b4e37f098bda0ca8f17c83abdefe">ProcessEdit</a> (XmlNode node)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#aa6eb7edcac8743c15fc609605cb28643">AddDelta</a> (String xml)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the delta of all changes. <a href="#aa6eb7edcac8743c15fc609605cb28643"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a586efdac443a384ce8afdfef1ae5bb5a">ResetDelta</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clears the delta of all changes. <a href="#a586efdac443a384ce8afdfef1ae5bb5a"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab68fece204a474238eebea8ea703f74b">state</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the initial state of the diagram. <a href="#ab68fece204a474238eebea8ea703f74b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">StringBuilder </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a7d21cd6fa4923562f671f1b4dbe75474">delta</a> = new StringBuilder()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the delta of all changes of initial state. <a href="#a7d21cd6fa4923562f671f1b4dbe75474"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="properties"></a>
|
|
Properties</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a0c9fff9633cefe81ebdd2cae627d15a7">State</a><code> [get]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the initial state of the diagram. <a href="#a0c9fff9633cefe81ebdd2cae627d15a7"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="events"></a>
|
|
Events</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacecom_1_1mxgraph.html#a7d517929d5cfd90ae8526a3f946ea6f9">mxDiagramChangeEventHandler</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#af00261659d9176c483c8b86555715758">DiagramChange</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fires when the diagram was changed. <a href="#af00261659d9176c483c8b86555715758"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Implements a diagram that may be shared among multiple sessions. </p>
|
|
</div><hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a32eb501cda14ddc913f29dc1d97384dd"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::mxSharedDiagram" ref="a32eb501cda14ddc913f29dc1d97384dd" args="(string state)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a32eb501cda14ddc913f29dc1d97384dd">com.mxgraph.mxSharedDiagram.mxSharedDiagram</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>state</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new diagram with the given initial state. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">state</td><td>Initial state of the diagram.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="aa6eb7edcac8743c15fc609605cb28643"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::AddDelta" ref="aa6eb7edcac8743c15fc609605cb28643" args="(String xml)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#aa6eb7edcac8743c15fc609605cb28643">com.mxgraph.mxSharedDiagram.AddDelta</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">String </td>
|
|
<td class="paramname"><em>xml</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Clears the delta of all changes. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab973fc3e74a52956b34e53c8eb61d56e"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::GetDelta" ref="ab973fc3e74a52956b34e53c8eb61d56e" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab973fc3e74a52956b34e53c8eb61d56e">com.mxgraph.mxSharedDiagram.GetDelta</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the delta of all changes as a string. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2b201192518fb7c702bb1e5901a36fb6"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::ProcessDelta" ref="a2b201192518fb7c702bb1e5901a36fb6" args="(Object sender, XmlNode delta)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a2b201192518fb7c702bb1e5901a36fb6">com.mxgraph.mxSharedDiagram.ProcessDelta</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>sender</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">XmlNode </td>
|
|
<td class="paramname"><em>delta</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Appends the given string to the history and dispatches the change to all sessions that are listening to this shared diagram. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sender</td><td></td></tr>
|
|
<tr><td class="paramname">delta</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa261b4e37f098bda0ca8f17c83abdefe"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::ProcessEdit" ref="aa261b4e37f098bda0ca8f17c83abdefe" args="(XmlNode node)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#aa261b4e37f098bda0ca8f17c83abdefe">com.mxgraph.mxSharedDiagram.ProcessEdit</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlNode </td>
|
|
<td class="paramname"><em>node</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">node</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a586efdac443a384ce8afdfef1ae5bb5a"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::ResetDelta" ref="a586efdac443a384ce8afdfef1ae5bb5a" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a586efdac443a384ce8afdfef1ae5bb5a">com.mxgraph.mxSharedDiagram.ResetDelta</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Clears the delta of all changes. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="a7d21cd6fa4923562f671f1b4dbe75474"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::delta" ref="a7d21cd6fa4923562f671f1b4dbe75474" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">StringBuilder <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a7d21cd6fa4923562f671f1b4dbe75474">com.mxgraph.mxSharedDiagram.delta</a> = new StringBuilder()<code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the delta of all changes of initial state. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab68fece204a474238eebea8ea703f74b"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::state" ref="ab68fece204a474238eebea8ea703f74b" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab68fece204a474238eebea8ea703f74b">com.mxgraph.mxSharedDiagram.state</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the initial state of the diagram. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="a0c9fff9633cefe81ebdd2cae627d15a7"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::State" ref="a0c9fff9633cefe81ebdd2cae627d15a7" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#a0c9fff9633cefe81ebdd2cae627d15a7">com.mxgraph.mxSharedDiagram.State</a><code> [get]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the initial state of the diagram. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Event Documentation</h2>
|
|
<a class="anchor" id="af00261659d9176c483c8b86555715758"></a><!-- doxytag: member="com::mxgraph::mxSharedDiagram::DiagramChange" ref="af00261659d9176c483c8b86555715758" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespacecom_1_1mxgraph.html#a7d517929d5cfd90ae8526a3f946ea6f9">mxDiagramChangeEventHandler</a> <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html#af00261659d9176c483c8b86555715758">com.mxgraph.mxSharedDiagram.DiagramChange</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Fires when the diagram was changed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/sharing/mxSharedState.cs</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Thu Apr 4 2013 12:42:43 for mxGraph by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.7.6.1
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|