1051 lines
52 KiB
HTML
1051 lines
52 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"/>
|
|
<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>
|
|
<!-- Generated by Doxygen 1.6.3 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</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 class="tabs">
|
|
<ul>
|
|
<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 class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html">mxIGraphModel</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>com::mxgraph::mxIGraphModel Interface Reference</h1><!-- 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="#_details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com::mxgraph::mxIGraphModel:</div>
|
|
<div class="dynsection">
|
|
<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" alt="com::mxgraph::mxGraphModel" shape="rect" coords="0,56,183,80"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
|
|
<p><a href="interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html">List of all members.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>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#a6457526895ee16775a43819bbdc3b713">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="#a6457526895ee16775a43819bbdc3b713"></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#a57eec23a248ff711df8aa868f2228640">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="#a57eec23a248ff711df8aa868f2228640"></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#a831a9721313f6770e6af7dc418d9ee39">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="#a831a9721313f6770e6af7dc418d9ee39"></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#af29849ffb09c0e0b75e77bda332f4d31">GetParent</a> (Object child)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent of the given cell. <a href="#af29849ffb09c0e0b75e77bda332f4d31"></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#ab18ea07aec23bfbce6c7489269c0985c">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="#ab18ea07aec23bfbce6c7489269c0985c"></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#a7c47f2459ce0dcdae38c35afa4ed1ffc">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="#a7c47f2459ce0dcdae38c35afa4ed1ffc"></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#aff7c4cd19bcb91cd264bcb586ccc37b0">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="#aff7c4cd19bcb91cd264bcb586ccc37b0"></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#a34bc3935f8286a91f53a32fd20da8288">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="#a34bc3935f8286a91f53a32fd20da8288"></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#a1d8a16d05ca148439990b10f3c6a27c5">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="#a1d8a16d05ca148439990b10f3c6a27c5"></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#a74a5bb3bea62d4c8382f15a323d326dc">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="#a74a5bb3bea62d4c8382f15a323d326dc"></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#a8d58a0dafc0e77a7a3f207f5815ef245">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="#a8d58a0dafc0e77a7a3f207f5815ef245"></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#ae2824a854e3533480e819f9056e4bb91">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="#ae2824a854e3533480e819f9056e4bb91"></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#af30f07add01ec93144ffc00d843828fc">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="#af30f07add01ec93144ffc00d843828fc"></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#aff2fb4b36db5ee3a101feba394436b86">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="#aff2fb4b36db5ee3a101feba394436b86"></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#a3db1b6eda5906acbb5114361c91968c0">IsConnectable</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is connectable. <a href="#a3db1b6eda5906acbb5114361c91968c0"></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#a77a36629de99d4d6a14236ed0c1666e3">GetValue</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the user object of the given cell. <a href="#a77a36629de99d4d6a14236ed0c1666e3"></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#afd9cac91d73998f8457285bae5c95689">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="#afd9cac91d73998f8457285bae5c95689"></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#ad79ee951c1a46d126d1f714bd77b5331">GetGeometry</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the geometry of the given cell. <a href="#ad79ee951c1a46d126d1f714bd77b5331"></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#a80f4bfe3ebd152ee3d77ec20a70bcc9d">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="#a80f4bfe3ebd152ee3d77ec20a70bcc9d"></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#ad63404d0f7af96acee601960b8cc4963">GetStyle</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the style of the given cell. <a href="#ad63404d0f7af96acee601960b8cc4963"></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#a960ffa631d4199d149b4e889b480db48">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="#a960ffa631d4199d149b4e889b480db48"></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#a18315c42e0fe1cc594a956342c2dda9a">IsCollapsed</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is collapsed. <a href="#a18315c42e0fe1cc594a956342c2dda9a"></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#a5ea04a022893866cffcbb53044c5171c">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="#a5ea04a022893866cffcbb53044c5171c"></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#a8d6b5254a9a124ef7e82b49eb9d4209b">IsVisible</a> (Object cell)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given cell is visible. <a href="#a8d6b5254a9a124ef7e82b49eb9d4209b"></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#a681fede1578933f051041b3ba4f01129">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="#a681fede1578933f051041b3ba4f01129"></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#a201180e5435be27e37666fe724cb810b">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="#a201180e5435be27e37666fe724cb810b"></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#ac0f0b916828467fbcde0e140f5384da3">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="#ac0f0b916828467fbcde0e140f5384da3"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>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#a42b487c0d42d77170d5c0ce002a0a2ca">Root</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the root cell. <a href="#a42b487c0d42d77170d5c0ce002a0a2ca"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Events</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">mxGraphModelChangeEventHandler </td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphModel.html#a26dacf83c2ca35265f1f667b4d94adf0">GraphModelChange</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Called when the graph model has changed. <a href="#a26dacf83c2ca35265f1f667b4d94adf0"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<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>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="ab18ea07aec23bfbce6c7489269c0985c"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Add" ref="ab18ea07aec23bfbce6c7489269c0985c" args="(Object parent, Object child, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::Add </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell that specifies the parent to contain the child.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>child</em> </td><td>Cell that specifies the child to be inserted.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>index</em> </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#a6a9df7876d2ca6179d58a9b3be663a1c">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a201180e5435be27e37666fe724cb810b"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::BeginUpdate" ref="a201180e5435be27e37666fe724cb810b" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com::mxgraph::mxIGraphModel::BeginUpdate </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#ab56861ed391e6f4a47ecc2f844a5d02d">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6457526895ee16775a43819bbdc3b713"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::CloneCells" ref="a6457526895ee16775a43819bbdc3b713" args="(Object[] cells, bool includeChildren)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object [] com::mxgraph::mxIGraphModel::CloneCells </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cells</em> </td><td>Array of cells to be cloned.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>includeChildren</em> </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#adb5ffb8b1a05c3c77b26a04f06594a29">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a831a9721313f6770e6af7dc418d9ee39"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Contains" ref="a831a9721313f6770e6af7dc418d9ee39" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::Contains </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#aa9ba8b0716a8662bcedbdfb56166b4af">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac0f0b916828467fbcde0e140f5384da3"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::EndUpdate" ref="ac0f0b916828467fbcde0e140f5384da3" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com::mxgraph::mxIGraphModel::EndUpdate </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#aaf217675b10e484a5579be55ca97d402">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a34bc3935f8286a91f53a32fd20da8288"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetChildAt" ref="a34bc3935f8286a91f53a32fd20da8288" args="(Object parent, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::GetChildAt </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell that represents the parent.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>index</em> </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#a68c9439005fe5fb515743065bf555f57">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aff7c4cd19bcb91cd264bcb586ccc37b0"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetChildCount" ref="aff7c4cd19bcb91cd264bcb586ccc37b0" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com::mxgraph::mxIGraphModel::GetChildCount </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#a29a48f5ced94431792f2d476bb154c4e">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae2824a854e3533480e819f9056e4bb91"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetEdgeAt" ref="ae2824a854e3533480e819f9056e4bb91" args="(Object cell, int index)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::GetEdgeAt </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell that specifies the vertex.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>index</em> </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#a5d0e2e8782724472c7aef4257730e075">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d58a0dafc0e77a7a3f207f5815ef245"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetEdgeCount" ref="a8d58a0dafc0e77a7a3f207f5815ef245" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com::mxgraph::mxIGraphModel::GetEdgeCount </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#aaeec9051d010a0f4e94d83e15ecad4ee">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad79ee951c1a46d126d1f714bd77b5331"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetGeometry" ref="ad79ee951c1a46d126d1f714bd77b5331" 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> com::mxgraph::mxIGraphModel::GetGeometry </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#a8d4e41dafd2e678786375489e3a7c2c6">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af29849ffb09c0e0b75e77bda332f4d31"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetParent" ref="af29849ffb09c0e0b75e77bda332f4d31" args="(Object child)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::GetParent </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>child</em> </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#a49cfdcb77a6fd6882c643c325e3d914b">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad63404d0f7af96acee601960b8cc4963"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetStyle" ref="ad63404d0f7af96acee601960b8cc4963" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string com::mxgraph::mxIGraphModel::GetStyle </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#a21d37523be9a952040d58b9ea968a43e">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1d8a16d05ca148439990b10f3c6a27c5"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetTerminal" ref="a1d8a16d05ca148439990b10f3c6a27c5" args="(Object edge, bool source)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::GetTerminal </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>edge</em> </td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </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#a8fd2e93ac9f300a20140a828eecbfbac">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a77a36629de99d4d6a14236ed0c1666e3"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GetValue" ref="a77a36629de99d4d6a14236ed0c1666e3" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::GetValue </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#aafb18bf952de87baba5a3453e222677b">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a57eec23a248ff711df8aa868f2228640"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsAncestor" ref="a57eec23a248ff711df8aa868f2228640" args="(Object parent, Object child)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::IsAncestor </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Cell that specifies the parent.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>child</em> </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#ad07cda5ced546c2b04a34120a779c8ca">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a18315c42e0fe1cc594a956342c2dda9a"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsCollapsed" ref="a18315c42e0fe1cc594a956342c2dda9a" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::IsCollapsed </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#a20cd81d1e947de7224b1b9477aaf9014">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3db1b6eda5906acbb5114361c91968c0"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsConnectable" ref="a3db1b6eda5906acbb5114361c91968c0" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::IsConnectable </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#afd31c7bec1b0dd657cfd9a6f638a9a20">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aff2fb4b36db5ee3a101feba394436b86"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsEdge" ref="aff2fb4b36db5ee3a101feba394436b86" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::IsEdge </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#a3ef44b271e5419fb4a5c6997cb78f26d">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af30f07add01ec93144ffc00d843828fc"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsVertex" ref="af30f07add01ec93144ffc00d843828fc" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::IsVertex </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#ae0421f7bbf1eeb7b1363ad00274b4eb4">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d6b5254a9a124ef7e82b49eb9d4209b"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::IsVisible" ref="a8d6b5254a9a124ef7e82b49eb9d4209b" args="(Object cell)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::IsVisible </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </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#a4cb43b44cd6b8c48b48b6c16e82f3d07">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7c47f2459ce0dcdae38c35afa4ed1ffc"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Remove" ref="a7c47f2459ce0dcdae38c35afa4ed1ffc" args="(Object parent)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::Remove </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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>parent</em> </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#a3db316aa8f0a092e8a93a75235c6a24f">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5ea04a022893866cffcbb53044c5171c"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetCollapsed" ref="a5ea04a022893866cffcbb53044c5171c" args="(Object cell, bool collapsed)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::SetCollapsed </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose collapsed state should be changed.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>collapsed</em> </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#a05f6ea80a4577097b2614fc8e98b06d2">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a80f4bfe3ebd152ee3d77ec20a70bcc9d"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetGeometry" ref="a80f4bfe3ebd152ee3d77ec20a70bcc9d" 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> com::mxgraph::mxIGraphModel::SetGeometry </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the geometry of the given cell. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose geometry should be changed.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>geometry</em> </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#a78ccddb2f444c5eb701916d9ca052028">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a960ffa631d4199d149b4e889b480db48"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetStyle" ref="a960ffa631d4199d149b4e889b480db48" args="(Object cell, string style)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string com::mxgraph::mxIGraphModel::SetStyle </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the style of the given cell. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose style should be changed.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>style</em> </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#a93a1ced4d1eed980881c3223b5b34b03">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a74a5bb3bea62d4c8382f15a323d326dc"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetTerminal" ref="a74a5bb3bea62d4c8382f15a323d326dc" args="(Object edge, Object terminal, bool source)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::SetTerminal </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>edge</em> </td><td>Cell that specifies the edge.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>terminal</em> </td><td>Cell that specifies the new terminal.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </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#a0285540160fcf7de39a997c6f6a201ff">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afd9cac91d73998f8457285bae5c95689"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetValue" ref="afd9cac91d73998f8457285bae5c95689" args="(Object cell, Object value)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::SetValue </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose user object should be changed.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>value</em> </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#a73ee199d8b3dd322e97eb4fb07ca407f">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a681fede1578933f051041b3ba4f01129"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::SetVisible" ref="a681fede1578933f051041b3ba4f01129" args="(Object cell, bool visible)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool com::mxgraph::mxIGraphModel::SetVisible </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><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<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><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell whose visible state should be changed.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>visible</em> </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#ad3c76b19d99dd08f2f5aa96e8e1ba52b">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="a42b487c0d42d77170d5c0ce002a0a2ca"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::Root" ref="a42b487c0d42d77170d5c0ce002a0a2ca" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxIGraphModel::Root<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#a1e682481294b64ba2e7859da9760008e">com::mxgraph::mxGraphModel</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Event Documentation</h2>
|
|
<a class="anchor" id="a26dacf83c2ca35265f1f667b4d94adf0"></a><!-- doxytag: member="com::mxgraph::mxIGraphModel::GraphModelChange" ref="a26dacf83c2ca35265f1f667b4d94adf0" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">mxGraphModelChangeEventHandler com::mxgraph::mxIGraphModel::GraphModelChange</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#a0d3f6bf19b8c13b0d1445d3d4adf9b6e">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>
|
|
<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Jul 20 11:32:32 2012 for mxGraph by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
|
|
</body>
|
|
</html>
|