2012-05-21 20:32:26 +00:00
<!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" / >
2013-04-04 11:51:15 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< title > mxGraph: com.mxgraph.mxSharedDiagram Class Reference< / title >
2012-05-21 20:32:26 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2013-04-04 11:51:15 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2012-05-21 20:32:26 +00:00
< / head >
< body >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "dirs.html" > < span > Directories< / span > < / a > < / li >
< / ul >
< / div >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / ul >
< / div >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / div >
< / div >
2013-04-04 11:51:15 +00:00
< 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 -->
2012-05-21 20:32:26 +00:00
< div class = "contents" >
2013-04-04 11:51:15 +00:00
<!-- doxytag: class="com::mxgraph::mxSharedDiagram" -->
2012-05-21 20:32:26 +00:00
< p > Implements a diagram that may be shared among multiple sessions.
2013-04-04 11:51:15 +00:00
< a href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#details" > More...< / a > < / p >
2012-05-21 20:32:26 +00:00
< p > < a href = "classcom_1_1mxgraph_1_1mxSharedDiagram-members.html" > List of all members.< / a > < / p >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / table >
2013-04-04 11:51:15 +00:00
< 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)" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#a32eb501cda14ddc913f29dc1d97384dd" > com.mxgraph.mxSharedDiagram.mxSharedDiagram< / a > < / td >
2012-05-21 20:32:26 +00:00
< td > (< / td >
2013-04-04 11:51:15 +00:00
< td class = "paramtype" > string  < / td >
< td class = "paramname" > < em > state< / em > < / td > < td > )< / td >
2012-05-21 20:32:26 +00:00
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Constructs a new diagram with the given initial state. < / p >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
< hr / > < h2 > Member Function Documentation< / h2 >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "aa6eb7edcac8743c15fc609605cb28643" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::AddDelta" ref="aa6eb7edcac8743c15fc609605cb28643" args="(String xml)" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > void < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#aa6eb7edcac8743c15fc609605cb28643" > com.mxgraph.mxSharedDiagram.AddDelta< / a > < / td >
2012-05-21 20:32:26 +00:00
< td > (< / td >
2013-04-04 11:51:15 +00:00
< td class = "paramtype" > String  < / td >
< td class = "paramname" > < em > xml< / em > < / td > < td > )< / td >
2012-05-21 20:32:26 +00:00
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Clears the delta of all changes. < / p >
< / div >
< / div >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "ab973fc3e74a52956b34e53c8eb61d56e" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::GetDelta" ref="ab973fc3e74a52956b34e53c8eb61d56e" args="()" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > string < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab973fc3e74a52956b34e53c8eb61d56e" > com.mxgraph.mxSharedDiagram.GetDelta< / a > < / td >
2012-05-21 20:32:26 +00:00
< td > (< / td >
2013-04-04 11:51:15 +00:00
< td class = "paramname" > < / td > < td > )< / td >
2012-05-21 20:32:26 +00:00
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns the delta of all changes as a string. < / p >
< / div >
< / div >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "a2b201192518fb7c702bb1e5901a36fb6" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::ProcessDelta" ref="a2b201192518fb7c702bb1e5901a36fb6" args="(Object sender, XmlNode delta)" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > void < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#a2b201192518fb7c702bb1e5901a36fb6" > com.mxgraph.mxSharedDiagram.ProcessDelta< / a > < / td >
2012-05-21 20:32:26 +00:00
< td > (< / td >
2013-04-04 11:51:15 +00:00
< td class = "paramtype" > Object  < / td >
< td class = "paramname" > < em > sender< / em > , < / td >
2012-05-21 20:32:26 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2013-04-04 11:51:15 +00:00
< td class = "paramtype" > XmlNode  < / td >
< td class = "paramname" > < em > delta< / em >   < / td >
2012-05-21 20:32:26 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2013-04-04 11:51:15 +00:00
< td > < / td > < td > < code > [inline]< / code > < / td >
2012-05-21 20:32:26 +00:00
< / 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 >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "aa261b4e37f098bda0ca8f17c83abdefe" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::ProcessEdit" ref="aa261b4e37f098bda0ca8f17c83abdefe" args="(XmlNode node)" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > string < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#aa261b4e37f098bda0ca8f17c83abdefe" > com.mxgraph.mxSharedDiagram.ProcessEdit< / a > < / td >
2012-05-21 20:32:26 +00:00
< td > (< / td >
2013-04-04 11:51:15 +00:00
< td class = "paramtype" > XmlNode  < / td >
< td class = "paramname" > < em > node< / em > < / td > < td > )< / td >
2012-05-21 20:32:26 +00:00
< td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2013-04-04 11:51:15 +00:00
< dl class = "params" > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > node< / td > < td > < / td > < / tr >
2012-05-21 20:32:26 +00:00
< / table >
< / dd >
< / dl >
< dl class = "return" > < dt > < b > Returns:< / b > < / dt > < dd > < / dd > < / dl >
< / div >
< / div >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "a586efdac443a384ce8afdfef1ae5bb5a" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::ResetDelta" ref="a586efdac443a384ce8afdfef1ae5bb5a" args="()" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > void < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#a586efdac443a384ce8afdfef1ae5bb5a" > com.mxgraph.mxSharedDiagram.ResetDelta< / a > < / td >
2012-05-21 20:32:26 +00:00
< td > (< / td >
2013-04-04 11:51:15 +00:00
< td class = "paramname" > < / td > < td > )< / td >
2012-05-21 20:32:26 +00:00
< 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 >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "a7d21cd6fa4923562f671f1b4dbe75474" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::delta" ref="a7d21cd6fa4923562f671f1b4dbe75474" args="" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Holds the delta of all changes of initial state. < / p >
< / div >
< / div >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "ab68fece204a474238eebea8ea703f74b" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::state" ref="ab68fece204a474238eebea8ea703f74b" args="" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > string < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#ab68fece204a474238eebea8ea703f74b" > com.mxgraph.mxSharedDiagram.state< / a > < code > [protected]< / code > < / td >
2012-05-21 20:32:26 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Holds the initial state of the diagram. < / p >
< / div >
< / div >
< hr / > < h2 > Property Documentation< / h2 >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "a0c9fff9633cefe81ebdd2cae627d15a7" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::State" ref="a0c9fff9633cefe81ebdd2cae627d15a7" args="" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< td class = "memname" > string < a class = "el" href = "classcom_1_1mxgraph_1_1mxSharedDiagram.html#a0c9fff9633cefe81ebdd2cae627d15a7" > com.mxgraph.mxSharedDiagram.State< / a > < code > [get]< / code > < / td >
2012-05-21 20:32:26 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Returns the initial state of the diagram. < / p >
< / div >
< / div >
< hr / > < h2 > Event Documentation< / h2 >
2013-04-04 11:51:15 +00:00
< a class = "anchor" id = "af00261659d9176c483c8b86555715758" > < / a > <!-- doxytag: member="com::mxgraph::mxSharedDiagram::DiagramChange" ref="af00261659d9176c483c8b86555715758" args="" -->
2012-05-21 20:32:26 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2013-04-04 11:51:15 +00:00
< 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 >
2012-05-21 20:32:26 +00:00
< / 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 >
2013-04-04 11:51:15 +00:00
< / div > <!-- contents -->
< hr class = "footer" / > < address class = "footer" > < small >
2013-08-09 09:08:09 +00:00
Generated on Fri Aug 9 2013 10:05:12 for mxGraph by   < a href = "http://www.doxygen.org/index.html" >
2013-04-04 11:51:15 +00:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.7.6.1
< / small > < / address >
2012-05-21 20:32:26 +00:00
< / body >
< / html >