1084 lines
54 KiB
HTML
1084 lines
54 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.mxIGraphModel Interface 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="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#properties">Properties</a> |
|
|
<a href="#events">Events</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxIGraphModel Interface Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- doxytag: class="com::mxgraph::mxIGraphModel" -->
|
|
<p>Defines the requirements for a graph model to be used with <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet.">mxGraph</a>.
|
|
<a href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com.mxgraph.mxIGraphModel:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="interfacecom_1_1mxgraph_1_1mxIGraphModel.png" usemap="#com.mxgraph.mxIGraphModel_map" alt=""/>
|
|
<map id="com.mxgraph.mxIGraphModel_map" name="com.mxgraph.mxIGraphModel_map">
|
|
<area href="classcom_1_1mxgraph_1_1mxGraphModel.html" title="Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of s..." alt="com.mxgraph.mxGraphModel" shape="rect" coords="0,56,179,80"/>
|
|
</map>
|
|
</div></div>
|
|
|
|
<p><a href="interfacecom_1_1mxgraph_1_1mxIGraphModel-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">Object[] </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a2b33232068cb9c36e0f65c360aad4302">CloneCells</a> (Object[] cells, bool includeChildren)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. <a href="#a2b33232068cb9c36e0f65c360aad4302"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a12fdd478f6d51857e9fdefef8202230a">IsAncestor</a> (Object parent, Object child)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given parent is an ancestor of child. <a href="#a12fdd478f6d51857e9fdefef8202230a"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a70576bd4c9b701362fa668e736a483ec">Contains</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the model contains the given cell. <a href="#a70576bd4c9b701362fa668e736a483ec"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a66dd82bb3fd98ef5b1305d850151f22e">GetParent</a> (Object child)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent of the given cell. <a href="#a66dd82bb3fd98ef5b1305d850151f22e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a68f0488cf5e867b5d9a9a64b8531658e">Add</a> (Object parent, Object child, int index)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. <a href="#a68f0488cf5e867b5d9a9a64b8531658e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdfefab19b882fcaa4e51e146b70014b">Remove</a> (Object parent)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified cell from the model. This operation will remove the cell and all of its children from the model. <a href="#acdfefab19b882fcaa4e51e146b70014b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad31eb9906e53e2d92e6e9156ba70f3e1">GetChildCount</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of children in the given cell. <a href="#ad31eb9906e53e2d92e6e9156ba70f3e1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#af48bca03977c6a7ad6b0916b10559e64">GetChildAt</a> (Object parent, int index)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the child of the given parent at the given index. <a href="#af48bca03977c6a7ad6b0916b10559e64"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a891a419db7e28c278d62ab6046314188">GetTerminal</a> (Object edge, bool source)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the source or target terminal of the given edge depending on the value of the boolean parameter. <a href="#a891a419db7e28c278d62ab6046314188"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a6f57467fa9f0886e1ee43777c4abb3f3">SetTerminal</a> (Object edge, Object terminal, bool source)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the source or target terminal of the given edge using. <a href="#a6f57467fa9f0886e1ee43777c4abb3f3"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad67527a8bf0ecae8e0fc737a2ee0d838">GetEdgeCount</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of distinct edges connected to the given cell. <a href="#ad67527a8bf0ecae8e0fc737a2ee0d838"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a45b739ca59bd36f8d7c63f69e8ae61e0">GetEdgeAt</a> (Object cell, int index)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the edge of cell at the given index. <a href="#a45b739ca59bd36f8d7c63f69e8ae61e0"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdc9b7bf983ce698c8ab58d650884844">IsVertex</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is a vertex. <a href="#acdc9b7bf983ce698c8ab58d650884844"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a55f48b5247ec10a1bb2233ea60c8215f">IsEdge</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is an edge. <a href="#a55f48b5247ec10a1bb2233ea60c8215f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a471cb28306dc3fed8cfc93e1e140fdab">IsConnectable</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is connectable. <a href="#a471cb28306dc3fed8cfc93e1e140fdab"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ab58054989c1b3f1ba47269b66dfd5a8b">GetValue</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the user object of the given cell. <a href="#ab58054989c1b3f1ba47269b66dfd5a8b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a106592d04d501478143594bb3822fe47">SetValue</a> (Object cell, Object value)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the user object of then given cell. <a href="#a106592d04d501478143594bb3822fe47"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a23f5d07903551245edd81a0d7083bff1">GetGeometry</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the geometry of the given cell. <a href="#a23f5d07903551245edd81a0d7083bff1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a726274a683813f9f8dbfb1e8e95015ad">SetGeometry</a> (Object cell, <a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> geometry)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the geometry of the given cell. <a href="#a726274a683813f9f8dbfb1e8e95015ad"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626">GetStyle</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the style of the given cell. <a href="#a3b500dd24fa5dd396bdeb1e8e09b0626"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b">SetStyle</a> (Object cell, string style)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the style of the given cell. <a href="#a005f5979ec0a5f94cbdfeaa9fd52087b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#adfbdb706654adcabf5a8277d7903a715">IsCollapsed</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is collapsed. <a href="#adfbdb706654adcabf5a8277d7903a715"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aa9e29fca5946a975f3151fd729ebbfd8">SetCollapsed</a> (Object cell, bool collapsed)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the collapsed state of the given cell. <a href="#aa9e29fca5946a975f3151fd729ebbfd8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1947ffa03c65ff0a0cb14c7c742a4b8c">IsVisible</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is visible. <a href="#a1947ffa03c65ff0a0cb14c7c742a4b8c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a11faed388a4b66de80863e768fdde957">SetVisible</a> (Object cell, bool visible)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the visible state of the given cell. <a href="#a11faed388a4b66de80863e768fdde957"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db">BeginUpdate</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by use of endUpdate. <a href="#a1ba0c455c49ca2982fee04a7645c22db"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb">EndUpdate</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0. <a href="#a4d3170b6bcffa23d72bb6b6594be3fdb"></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">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a9cc6be0807506584efb6027451753f29">Root</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the root cell. <a href="#a9cc6be0807506584efb6027451753f29"></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#abd1246a669b8db904a28aafc0336499f">mxGraphModelChangeEventHandler</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a9c69f619c961feb7942a2d322f351585">GraphModelChange</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called when the graph model has changed. <a href="#a9c69f619c961feb7942a2d322f351585"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Defines the requirements for a graph model to be used with <a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html" title="Implements a graph object that allows to create diagrams from a graph model and stylesheet.">mxGraph</a>. </p>
|
|
</div><hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a68f0488cf5e867b5d9a9a64b8531658e"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Add" ref="a68f0488cf5e867b5d9a9a64b8531658e" args="(Object parent, Object child, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a68f0488cf5e867b5d9a9a64b8531658e">com.mxgraph.mxIGraphModel.Add</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>child</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that specifies the parent to contain the child.</td></tr>
|
|
<tr><td class="paramname">child</td><td>Cell that specifies the child to be inserted.</td></tr>
|
|
<tr><td class="paramname">index</td><td>Integer that specifies the index of the child.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the inserted child.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae8904c4103503bc620ba3ec8dd0892ca">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1ba0c455c49ca2982fee04a7645c22db"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::BeginUpdate" ref="a1ba0c455c49ca2982fee04a7645c22db" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1ba0c455c49ca2982fee04a7645c22db">com.mxgraph.mxIGraphModel.BeginUpdate</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by use of endUpdate. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a6f033be9b25d1e696e91f79267dea417">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2b33232068cb9c36e0f65c360aad4302"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::CloneCells" ref="a2b33232068cb9c36e0f65c360aad4302" args="(Object[] cells, bool includeChildren)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object [] <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a2b33232068cb9c36e0f65c360aad4302">com.mxgraph.mxIGraphModel.CloneCells</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object[] </td>
|
|
<td class="paramname"><em>cells</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>includeChildren</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cells</td><td>Array of cells to be cloned.</td></tr>
|
|
<tr><td class="paramname">includeChildren</td><td>Boolean indicating if the cells should be cloned with all descendants.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a cloned array of cells.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ac36af210b1b3159dc187dd5fbb298e19">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a70576bd4c9b701362fa668e736a483ec"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Contains" ref="a70576bd4c9b701362fa668e736a483ec" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a70576bd4c9b701362fa668e736a483ec">com.mxgraph.mxIGraphModel.Contains</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the model contains the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell to be checked.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the cell is in the model.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a30cbb76e0bf39460796f494fdbfb2d17">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4d3170b6bcffa23d72bb6b6594be3fdb"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::EndUpdate" ref="a4d3170b6bcffa23d72bb6b6594be3fdb" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a4d3170b6bcffa23d72bb6b6594be3fdb">com.mxgraph.mxIGraphModel.EndUpdate</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a73af4179fe703590e6b3ea8a81ae4e55">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af48bca03977c6a7ad6b0916b10559e64"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetChildAt" ref="af48bca03977c6a7ad6b0916b10559e64" args="(Object parent, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#af48bca03977c6a7ad6b0916b10559e64">com.mxgraph.mxIGraphModel.GetChildAt</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the child of the given parent at the given index. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that represents the parent.</td></tr>
|
|
<tr><td class="paramname">index</td><td>Integer that specifies the index of the child to be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the child at index in parent.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a887f7e219f4eb298f7aad502a3091f89">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad31eb9906e53e2d92e6e9156ba70f3e1"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetChildCount" ref="ad31eb9906e53e2d92e6e9156ba70f3e1" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad31eb9906e53e2d92e6e9156ba70f3e1">com.mxgraph.mxIGraphModel.GetChildCount</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of children in the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose number of children should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the number of children in the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a83223523565c8d883a4e771d4a23f498">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a45b739ca59bd36f8d7c63f69e8ae61e0"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetEdgeAt" ref="a45b739ca59bd36f8d7c63f69e8ae61e0" args="(Object cell, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a45b739ca59bd36f8d7c63f69e8ae61e0">com.mxgraph.mxIGraphModel.GetEdgeAt</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>index</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the edge of cell at the given index. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell that specifies the vertex.</td></tr>
|
|
<tr><td class="paramname">index</td><td>Integer that specifies the index of the edge to return.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the edge at the given index.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a678b42b400eb40558e1e039db7136ee4">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad67527a8bf0ecae8e0fc737a2ee0d838"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetEdgeCount" ref="ad67527a8bf0ecae8e0fc737a2ee0d838" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ad67527a8bf0ecae8e0fc737a2ee0d838">com.mxgraph.mxIGraphModel.GetEdgeCount</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of distinct edges connected to the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell that represents the vertex.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the number of edges connected to cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab20a13d1702278f8cc3507d53c639114">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a23f5d07903551245edd81a0d7083bff1"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetGeometry" ref="a23f5d07903551245edd81a0d7083bff1" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a23f5d07903551245edd81a0d7083bff1">com.mxgraph.mxIGraphModel.GetGeometry</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the geometry of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose geometry should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the geometry of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#afcc8f229d66d1f58200543f189bc2ddd">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a66dd82bb3fd98ef5b1305d850151f22e"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetParent" ref="a66dd82bb3fd98ef5b1305d850151f22e" args="(Object child)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a66dd82bb3fd98ef5b1305d850151f22e">com.mxgraph.mxIGraphModel.GetParent</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>child</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the parent of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">child</td><td>Cell whose parent should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the parent of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a51a36648daf6c29ebbf4e88933bc82b8">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3b500dd24fa5dd396bdeb1e8e09b0626"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetStyle" ref="a3b500dd24fa5dd396bdeb1e8e09b0626" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a3b500dd24fa5dd396bdeb1e8e09b0626">com.mxgraph.mxIGraphModel.GetStyle</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the style of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose style should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the style of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a07c1d07e151c7415ac7e534622611f00">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a891a419db7e28c278d62ab6046314188"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetTerminal" ref="a891a419db7e28c278d62ab6046314188" args="(Object edge, bool source)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a891a419db7e28c278d62ab6046314188">com.mxgraph.mxIGraphModel.GetTerminal</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>edge</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>source</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the source or target terminal of the given edge depending on the value of the boolean parameter. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">edge</td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td class="paramname">source</td><td>Boolean indicating which end of the edge should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the source or target of the given edge.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a339d1951aeaddcfff04414472faa36a3">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab58054989c1b3f1ba47269b66dfd5a8b"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetValue" ref="ab58054989c1b3f1ba47269b66dfd5a8b" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#ab58054989c1b3f1ba47269b66dfd5a8b">com.mxgraph.mxIGraphModel.GetValue</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the user object of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose user object should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the user object of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab47649ca9c1da274b27ac9ede9c4c442">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a12fdd478f6d51857e9fdefef8202230a"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsAncestor" ref="a12fdd478f6d51857e9fdefef8202230a" args="(Object parent, Object child)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a12fdd478f6d51857e9fdefef8202230a">com.mxgraph.mxIGraphModel.IsAncestor</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>child</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given parent is an ancestor of child. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that specifies the parent.</td></tr>
|
|
<tr><td class="paramname">child</td><td>Cell that specifies the child.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if child is an ancestor of parent.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a2257ccb14a06d8e83af26a2b04825b80">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adfbdb706654adcabf5a8277d7903a715"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsCollapsed" ref="adfbdb706654adcabf5a8277d7903a715" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#adfbdb706654adcabf5a8277d7903a715">com.mxgraph.mxIGraphModel.IsCollapsed</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given cell is collapsed. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose collapsed state should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the collapsed state of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a37f7e884b6e4e4eccd5fbb376c056df4">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a471cb28306dc3fed8cfc93e1e140fdab"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsConnectable" ref="a471cb28306dc3fed8cfc93e1e140fdab" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a471cb28306dc3fed8cfc93e1e140fdab">com.mxgraph.mxIGraphModel.IsConnectable</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given cell is connectable. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose connectable state should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the connectable state of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a9c47387dc95dfdf6e6d252ff4b00fa07">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a55f48b5247ec10a1bb2233ea60c8215f"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsEdge" ref="a55f48b5247ec10a1bb2233ea60c8215f" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a55f48b5247ec10a1bb2233ea60c8215f">com.mxgraph.mxIGraphModel.IsEdge</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given cell is an edge. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell that represents the possible edge.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the given cell is an edge.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a894596a870d360fc9a1e16737b9b8183">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acdc9b7bf983ce698c8ab58d650884844"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsVertex" ref="acdc9b7bf983ce698c8ab58d650884844" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdc9b7bf983ce698c8ab58d650884844">com.mxgraph.mxIGraphModel.IsVertex</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given cell is a vertex. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell that represents the possible vertex.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns true if the given cell is a vertex.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a315cc5ce42eedd4b25f04e9ae72c4de6">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1947ffa03c65ff0a0cb14c7c742a4b8c"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsVisible" ref="a1947ffa03c65ff0a0cb14c7c742a4b8c" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a1947ffa03c65ff0a0cb14c7c742a4b8c">com.mxgraph.mxIGraphModel.IsVisible</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns true if the given cell is visible. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose visible state should be returned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the visible state of the given cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a329df4ca7a7ab958a339695ea188842f">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="acdfefab19b882fcaa4e51e146b70014b"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Remove" ref="acdfefab19b882fcaa4e51e146b70014b" args="(Object parent)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#acdfefab19b882fcaa4e51e146b70014b">com.mxgraph.mxIGraphModel.Remove</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>parent</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Removes the specified cell from the model. This operation will remove the cell and all of its children from the model. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>Cell that should be removed.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the removed cell.</dd></dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aee6bf0e1bc6eb7045c543d13611cf3dd">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa9e29fca5946a975f3151fd729ebbfd8"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetCollapsed" ref="aa9e29fca5946a975f3151fd729ebbfd8" args="(Object cell, bool collapsed)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#aa9e29fca5946a975f3151fd729ebbfd8">com.mxgraph.mxIGraphModel.SetCollapsed</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>collapsed</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the collapsed state of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose collapsed state should be changed.</td></tr>
|
|
<tr><td class="paramname">collapsed</td><td>Boolean that specifies the new collpased state.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ab0bc27bc208e6de7fbef26cad23d496f">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a726274a683813f9f8dbfb1e8e95015ad"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetGeometry" ref="a726274a683813f9f8dbfb1e8e95015ad" args="(Object cell, mxGeometry geometry)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a726274a683813f9f8dbfb1e8e95015ad">com.mxgraph.mxIGraphModel.SetGeometry</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> </td>
|
|
<td class="paramname"><em>geometry</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the geometry of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose geometry should be changed.</td></tr>
|
|
<tr><td class="paramname">geometry</td><td>Object that defines the new geometry.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a3a8892a8a0a704d5fd759c18b9e04639">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a005f5979ec0a5f94cbdfeaa9fd52087b"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetStyle" ref="a005f5979ec0a5f94cbdfeaa9fd52087b" args="(Object cell, string style)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a005f5979ec0a5f94cbdfeaa9fd52087b">com.mxgraph.mxIGraphModel.SetStyle</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>style</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the style of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose style should be changed.</td></tr>
|
|
<tr><td class="paramname">style</td><td>String of the form stylename[;key=value] to specify the new cell style.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a50c4137ed3a246f338eb1d755c40ce10">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6f57467fa9f0886e1ee43777c4abb3f3"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetTerminal" ref="a6f57467fa9f0886e1ee43777c4abb3f3" args="(Object edge, Object terminal, bool source)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a6f57467fa9f0886e1ee43777c4abb3f3">com.mxgraph.mxIGraphModel.SetTerminal</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>edge</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>terminal</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>source</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the source or target terminal of the given edge using. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">edge</td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td class="paramname">terminal</td><td>Cell that specifies the new terminal.</td></tr>
|
|
<tr><td class="paramname">source</td><td>Boolean indicating if the terminal is the new source or target terminal of the edge.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#aae517f6ae9e0dbb8fa59a63636c2d725">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a106592d04d501478143594bb3822fe47"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetValue" ref="a106592d04d501478143594bb3822fe47" args="(Object cell, Object value)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a106592d04d501478143594bb3822fe47">com.mxgraph.mxIGraphModel.SetValue</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the user object of then given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose user object should be changed.</td></tr>
|
|
<tr><td class="paramname">value</td><td>Object that defines the new user object.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a03343d292683b6db4662121e9e3cb780">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a11faed388a4b66de80863e768fdde957"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetVisible" ref="a11faed388a4b66de80863e768fdde957" args="(Object cell, bool visible)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a11faed388a4b66de80863e768fdde957">com.mxgraph.mxIGraphModel.SetVisible</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>visible</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the visible state of the given cell. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">cell</td><td>Cell whose visible state should be changed.</td></tr>
|
|
<tr><td class="paramname">visible</td><td>Boolean that specifies the new visible state.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a51a0dd4569d00a19aedd3f59acea8fc5">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="a9cc6be0807506584efb6027451753f29"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Root" ref="a9cc6be0807506584efb6027451753f29" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a9cc6be0807506584efb6027451753f29">com.mxgraph.mxIGraphModel.Root</a><code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the root cell. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#a29f64a41403aa748f49e4d53f2b7c164">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Event Documentation</h2>
|
|
<a class="anchor" id="a9c69f619c961feb7942a2d322f351585"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GraphModelChange" ref="a9c69f619c961feb7942a2d322f351585" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespacecom_1_1mxgraph.html#abd1246a669b8db904a28aafc0336499f">mxGraphModelChangeEventHandler</a> <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a9c69f619c961feb7942a2d322f351585">com.mxgraph.mxIGraphModel.GraphModelChange</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Called when the graph model has changed. </p>
|
|
|
|
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxGraphModel.html#ae25e802cfd2636d859971b86407c2bc3">com.mxgraph.mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this interface was generated from the following file:<ul>
|
|
<li>src/model/mxIGraphModel.cs</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Wed Apr 10 2013 16:31:03 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>
|