<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.model.mxGraphModel</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true"title="class or interface in java.io">Serializable</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxGraphModel</span>
extends <ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a>
implements <ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true"title="class or interface in java.io">Serializable</a></pre>
<divclass="block">Extends mxEventSource to implement a graph model. The graph model acts as
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxChildChange.html"title="class in com.mxgraph.model">mxGraphModel.mxChildChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxCollapseChange.html"title="class in com.mxgraph.model">mxGraphModel.mxCollapseChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxGeometryChange.html"title="class in com.mxgraph.model">mxGraphModel.mxGeometryChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxRootChange.html"title="class in com.mxgraph.model">mxGraphModel.mxRootChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxStyleChange.html"title="class in com.mxgraph.model">mxGraphModel.mxStyleChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxTerminalChange.html"title="class in com.mxgraph.model">mxGraphModel.mxTerminalChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxValueChange.html"title="class in com.mxgraph.model">mxGraphModel.mxValueChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxVisibleChange.html"title="class in com.mxgraph.model">mxGraphModel.mxVisibleChange</a></strong></code> </td>
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><ahref="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
<h3>Nested classes/interfaces inherited from interface com.mxgraph.model.<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></h3>
<code><ahref="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a></code></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<divclass="block">Specifies if the model should automatically create Ids for new cells.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a></code></td>
<h3>Fields inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<divclass="block">Constructs a new empty graph model.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#mxGraphModel(java.lang.Object)">mxGraphModel</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</code>
<divclass="block">Constructs a new graph model.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#add(java.lang.Object, java.lang.Object, int)">add</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> child,
int index)</code>
<divclass="block">Adds the specified child to the parent at the given index.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#cellAdded(java.lang.Object)">cellAdded</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Invoked after a cell has been added to a parent.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#cellRemoved(java.lang.Object)">cellRemoved</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Invoked after a cell has been removed from the model.</div>
<divclass="block">Sets a new root using createRoot.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#cloneCell(java.lang.Object, java.util.Map, boolean)">cloneCell</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> mapping,
boolean includeChildren)</code>
<divclass="block">Inner helper method for cloning cells recursively.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#cloneCells(java.lang.Object[], boolean)">cloneCells</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
boolean includeChildren)</code>
<divclass="block">Returns an array of clones for the given array of cells.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#collapsedStateForCellChanged(java.lang.Object, boolean)">collapsedStateForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean collapsed)</code>
<divclass="block">Inner callback to update the collapsed state of the
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#contains(java.lang.Object)">contains</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns true if the model contains the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#createId(java.lang.Object)">createId</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Creates a new Id for the given cell and increments the global counter
for creating new Ids.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<divclass="block">Creates a new root cell with a default layer (child 0).</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a></code></td>
<divclass="block">Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#execute(com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange)">execute</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a> change)</code>
<divclass="block">Executes the given atomic change and adds it to the current edit.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#filterCells(java.lang.Object[], com.mxgraph.model.mxGraphModel.Filter)">filterCells</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#filterDescendants(com.mxgraph.model.mxIGraphModel, com.mxgraph.model.mxGraphModel.Filter)">filterDescendants</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</code>
<divclass="block">Creates a collection of cells using the visitor pattern.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#filterDescendants(com.mxgraph.model.mxIGraphModel, com.mxgraph.model.mxGraphModel.Filter, java.lang.Object)">filterDescendants</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</code>
<divclass="block">Creates a collection of cells using the visitor pattern.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#geometryForCellChanged(java.lang.Object, com.mxgraph.model.mxGeometry)">geometryForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</code>
<divclass="block">Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getCell(java.lang.String)">getCell</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> id)</code>
<divclass="block">Returns the cell for the specified Id or null if no cell can be
found for the given Id.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<divclass="block">Returns the internal lookup table that is used to map from Ids to cells.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildAt(java.lang.Object, int)">getChildAt</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
int index)</code>
<divclass="block">Returns the child of the given parent at the given index.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildCells(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean, boolean)">getChildCells</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
boolean vertices,
boolean edges)</code>
<divclass="block">Returns the children of the given cell that are vertices and/or edges
depending on the arguments.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildCount(java.lang.Object)">getChildCount</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the number of children in the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</code>
<divclass="block">Returns the child edges of the given parent.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildren(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildren</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</code>
<divclass="block">Returns all children of the given cell regardless of their type.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildVertices(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildVertices</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</code>
<divclass="block">Returns the child vertices of the given parent.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getConnections(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getConnections</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns all edges connected to this cell without loops.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getDescendants(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getDescendants</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</code>
<divclass="block">Returns a all descendants of the given cell and the cell itself
as a collection.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean)">getDirectedEdgeCount</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean outgoing)</code>
<divclass="block">Returns the number of incoming or outgoing edges.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean, java.lang.Object)">getDirectedEdgeCount</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean outgoing,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> ignoredEdge)</code>
<divclass="block">Returns the number of incoming or outgoing edges, ignoring the given
edge.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdgeAt(java.lang.Object, int)">getEdgeAt</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
int index)</code>
<divclass="block">Returns the edge of cell at the given index.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdgeCount(java.lang.Object)">getEdgeCount</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the number of distinct edges connected to the given cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns all edges connected to this cell including loops.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean, boolean, boolean)">getEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean incoming,
boolean outgoing,
boolean includeLoops)</code>
<divclass="block">Returns all distinct edges connected to this cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdgesBetween(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object)">getEdgesBetween</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> source,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target)</code>
<divclass="block">Returns all edges from the given source to the given target.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdgesBetween(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object, boolean)">getEdgesBetween</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> source,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target,
boolean directed)</code>
<divclass="block">Returns all edges between the given source and target pair.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getGeometry(java.lang.Object)">getGeometry</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the geometry of the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getIncomingEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getIncomingEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the incoming edges of the given cell without loops.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getNearestCommonAncestor(java.lang.Object, java.lang.Object)">getNearestCommonAncestor</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell1,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell2)</code>
<divclass="block">Returns the nearest common ancestor for the specified cells.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getOpposites(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.Object)">getOpposites</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] edges,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal)</code>
<divclass="block">Returns all opposite cells of terminal for the given edges.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getOpposites(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.Object, boolean, boolean)">getOpposites</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] edges,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal,
boolean sources,
boolean targets)</code>
<divclass="block">Returns all opposite vertices wrt terminal for the given edges, only
returning sources and/or targets as specified.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getOrigin(java.lang.Object)">getOrigin</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the absolute, accumulated origin for the children inside the
given parent.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getOutgoingEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getOutgoingEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the outgoing edges of the given cell without loops.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getParent(java.lang.Object)">getParent</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> child)</code>
<divclass="block">Returns the parent of the given cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getParents(com.mxgraph.model.mxIGraphModel, java.lang.Object[])">getParents</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<divclass="block">Returns the root of the model or the topmost parent of the given cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getStyle(java.lang.Object)">getStyle</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the style of the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getTerminal(java.lang.Object, boolean)">getTerminal</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
boolean isSource)</code>
<divclass="block">Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getTopmostCells(com.mxgraph.model.mxIGraphModel, java.lang.Object[])">getTopmostCells</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells)</code>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getValue(java.lang.Object)">getValue</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns the user object of the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">isAncestor</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> child)</code>
<divclass="block">Returns true if the given parent is an ancestor of the given child.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#isCollapsed(java.lang.Object)">isCollapsed</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns true if the given cell is collapsed.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#isConnectable(java.lang.Object)">isConnectable</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns true if the given cell is connectable.</div>
<divclass="block">Returns true if the model automatically creates Ids and resolves Id
collisions.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#isEdge(java.lang.Object)">isEdge</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns true if the given cell is an edge.</div>
<divclass="block">Returns true if the model automatically update parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#isVertex(java.lang.Object)">isVertex</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns true if the given cell is a vertex.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#isVisible(java.lang.Object)">isVisible</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Returns true if the given cell is visible.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#mergeChildren(com.mxgraph.model.mxICell, com.mxgraph.model.mxICell, boolean)">mergeChildren</a></strong>(<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> from,
<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> to,
boolean cloneAllEdges)</code>
<divclass="block">Merges the children of the given cell into the given target cell inside
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#mergeChildrenImpl(com.mxgraph.model.mxICell, com.mxgraph.model.mxICell, boolean, java.util.Hashtable)">mergeChildrenImpl</a></strong>(<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> from,
<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> to,
boolean cloneAllEdges,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true"title="class or interface in java.util">Hashtable</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> mapping)</code>
<divclass="block">Clones the children of the source cell into the given target cell in
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#parentForCellChanged(java.lang.Object, java.lang.Object, int)">parentForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
int index)</code>
<divclass="block">Inner callback to update the parent of a cell using mxCell.insert
on the parent and return the previous parent.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#remove(java.lang.Object)">remove</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Removes the specified cell from the model.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#restoreClone(java.lang.Object, java.lang.Object, java.util.Map)">restoreClone</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> clone,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> mapping)</code>
<divclass="block">Inner helper method for restoring the connections in
a network of cloned cells.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#rootChanged(java.lang.Object)">rootChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</code>
<divclass="block">Inner callback to change the root of the model and update the internal
datastructures, such as cells and nextId.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setCollapsed(java.lang.Object, boolean)">setCollapsed</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean collapsed)</code>
<divclass="block">Sets the collapsed state of the given cell.</div>
<divclass="block">Specifies if the model automatically creates Ids for new cells and
resolves Id collisions.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">setGeometry</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</code>
<divclass="block">Sets the geometry of the given cell.</div>
<divclass="block">Specifies if the model automatically updates parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setRoot(java.lang.Object)">setRoot</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</code>
<divclass="block">Sets the root of the model and resets all structures.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setStyle(java.lang.Object, java.lang.String)">setStyle</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</code>
<divclass="block">Sets the style of the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">setTerminal</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal,
boolean isSource)</code>
<divclass="block">Sets the source or target terminal of the given edge using.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setTerminals(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object, java.lang.Object)">setTerminals</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> source,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target)</code>
<divclass="block">Sets the source and target of the given edge in a single atomic change.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setValue(java.lang.Object, java.lang.Object)">setValue</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value)</code>
<divclass="block">Sets the user object of then given cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#setVisible(java.lang.Object, boolean)">setVisible</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean visible)</code>
<divclass="block">Sets the visible state of the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#styleForCellChanged(java.lang.Object, java.lang.String)">styleForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</code>
<divclass="block">Inner callback to update the style of the given mxCell
using mxCell.setStyle and return the previous style.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#terminalForCellChanged(java.lang.Object, java.lang.Object, boolean)">terminalForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal,
boolean isSource)</code>
<divclass="block">Inner helper function to update the terminal of the edge using
mxCell.insertEdge and return the previous terminal.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#updateEdgeParent(java.lang.Object, java.lang.Object)">updateEdgeParent</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</code>
<divclass="block">Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#updateEdgeParents(java.lang.Object)">updateEdgeParents</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code>
<divclass="block">Updates the parents of the edges connected to the given cell and all its
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#updateEdgeParents(java.lang.Object, java.lang.Object)">updateEdgeParents</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</code>
<divclass="block">Updates the parents of the edges connected to the given cell and all its
descendants so that the edge is contained in the nearest-common-ancestor.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#valueForCellChanged(java.lang.Object, java.lang.Object)">valueForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value)</code>
<divclass="block">Inner callback to update the user object of the given mxCell
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#visibleStateForCellChanged(java.lang.Object, boolean)">visibleStateForCellChanged</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean visible)</code>
<divclass="block">Sets the visible state of the given mxCell using mxVisibleChange and
<h3>Methods inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<h3>Methods inherited from interface com.mxgraph.model.<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></h3>
diagram are supposed to live in the third generation of cells and below.</div>
</li>
</ul>
<aname="cells">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cells</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> cells</pre>
<divclass="block">Specifies if edges should automatically be moved into the nearest common
ancestor of their terminals. Default is true.</div>
</li>
</ul>
<aname="createIds">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createIds</h4>
<pre>protected boolean createIds</pre>
<divclass="block">Specifies if the model should automatically create Ids for new cells.
Default is true.</div>
</li>
</ul>
<aname="nextId">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>nextId</h4>
<pre>protected int nextId</pre>
<divclass="block">Specifies the next Id to be created. Initial value is 0.</div>
</li>
</ul>
<aname="currentEdit">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentEdit</h4>
<pre>protected transient <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a> currentEdit</pre>
<divclass="block">Holds the changes for the current transaction. If the transaction is
<divclass="block">Constructs a new empty graph model.</div>
</li>
</ul>
<aname="mxGraphModel(java.lang.Object)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>mxGraphModel</h4>
<pre>public mxGraphModel(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</pre>
<divclass="block">Constructs a new graph model. If no root is specified
then a new root mxCell with a default layer is created.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>root</code> - Cell that represents the root cell.</dd></dl>
<divclass="block">Sets a new root using createRoot.</div>
</li>
</ul>
<aname="getUpdateLevel()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getUpdateLevel</h4>
<pre>public int getUpdateLevel()</pre>
</li>
</ul>
<aname="createRoot()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createRoot</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> createRoot()</pre>
<divclass="block">Creates a new root cell with a default layer (child 0).</div>
</li>
</ul>
<aname="getCells()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCells</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> getCells()</pre>
<divclass="block">Returns the internal lookup table that is used to map from Ids to cells.</div>
</li>
</ul>
<aname="getCell(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCell</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getCell(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> id)</pre>
<divclass="block">Returns the cell for the specified Id or null if no cell can be
found for the given Id.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - A string representing the Id of the cell.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the cell for the given Id.</dd></dl>
<divclass="block">Specifies if the model automatically creates Ids for new cells and
resolves Id collisions.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Boolean indicating if the model should created Ids.</dd></dl>
</li>
</ul>
<aname="getRoot()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getRoot</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getRoot()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getRoot()">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the root of the model or the topmost parent of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getRoot()">getRoot</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the root cell.</dd></dl>
</li>
</ul>
<aname="setRoot(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setRoot</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> setRoot(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setRoot(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the root of the model and resets all structures.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setRoot(java.lang.Object)">setRoot</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>root</code> - Cell that specifies the new root.</dd></dl>
</li>
</ul>
<aname="rootChanged(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>rootChanged</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> rootChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</pre>
<divclass="block">Inner callback to change the root of the model and update the internal
datastructures, such as cells and nextId. Returns the previous root.</div>
</li>
</ul>
<aname="createUndoableEdit()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createUndoableEdit</h4>
<pre>protected <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a> createUndoableEdit()</pre>
<divclass="block">Creates a new undoable edit.</div>
</li>
</ul>
<aname="cloneCells(java.lang.Object[], boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cloneCells</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cloneCells(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
boolean includeChildren)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#cloneCells(java.lang.Object[], boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns an array of clones for the given array of cells.
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#cloneCells(java.lang.Object[], boolean)">cloneCells</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cells</code> - Array of cells to be cloned.</dd><dd><code>includeChildren</code> - Boolean indicating if the cells should be cloned
with all descendants.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a cloned array of cells.</dd></dl>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cloneCell(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> mapping,
boolean includeChildren)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</a></pre>
<divclass="block">Inner helper method for cloning cells recursively.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</a></code></dd></dl>
<pre>protected void restoreClone(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> clone,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> mapping)</pre>
<divclass="block">Inner helper method for restoring the connections in
<pre>public boolean isAncestor(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> child)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given parent is an ancestor of the given child.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">isAncestor</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that specifies the parent.</dd><dd><code>child</code> - Cell that specifies the child.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if child is an ancestor of parent.</dd></dl>
</li>
</ul>
<aname="contains(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>contains</h4>
<pre>public boolean contains(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#contains(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the model contains the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#contains(java.lang.Object)">contains</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell to be checked.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the cell is in the model.</dd></dl>
</li>
</ul>
<aname="getParent(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getParent</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getParent(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> child)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getParent(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the parent of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getParent(java.lang.Object)">getParent</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>child</code> - Cell whose parent should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the parent of the given cell.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> add(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> child,
int index)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#add(java.lang.Object, java.lang.Object, int)">mxIGraphModel</a></code></strong></div>
<divclass="block">Adds the specified child to the parent at the given index. If no index
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#add(java.lang.Object, java.lang.Object, int)">add</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that specifies the parent to contain the child.</dd><dd><code>child</code> - Cell that specifies the child to be inserted.</dd><dd><code>index</code> - Integer that specifies the index of the child.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the inserted child.</dd></dl>
</li>
</ul>
<aname="cellAdded(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cellAdded</h4>
<pre>protected void cellAdded(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Invoked after a cell has been added to a parent. This recursively
creates an Id for the new cell and/or resolves Id collisions.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that has been added.</dd></dl>
</li>
</ul>
<aname="createId(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createId</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> createId(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Creates a new Id for the given cell and increments the global counter
for creating new Ids.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell for which a new Id should be created.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a new Id for the given cell.</dd></dl>
</li>
</ul>
<aname="remove(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>remove</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> remove(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#remove(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Removes the specified cell from the model. This operation will remove
the cell and all of its children from the model.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#remove(java.lang.Object)">remove</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that should be removed.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the removed cell.</dd></dl>
</li>
</ul>
<aname="cellRemoved(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cellRemoved</h4>
<pre>protected void cellRemoved(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Invoked after a cell has been removed from the model. This recursively
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parentForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
int index)</pre>
<divclass="block">Inner callback to update the parent of a cell using mxCell.insert
on the parent and return the previous parent.</div>
</li>
</ul>
<aname="getChildCount(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getChildCount</h4>
<pre>public int getChildCount(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildCount(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the number of children in the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildCount(java.lang.Object)">getChildCount</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose number of children should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of children in the given cell.</dd></dl>
</li>
</ul>
<aname="getChildAt(java.lang.Object, int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getChildAt</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getChildAt(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
int index)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildAt(java.lang.Object, int)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the child of the given parent at the given index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildAt(java.lang.Object, int)">getChildAt</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that represents the parent.</dd><dd><code>index</code> - Integer that specifies the index of the child to be
returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child at index in parent.</dd></dl>
</li>
</ul>
<aname="getTerminal(java.lang.Object, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getTerminal</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getTerminal(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
boolean isSource)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getTerminal(java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getTerminal(java.lang.Object, boolean)">getTerminal</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that specifies the edge.</dd><dd><code>isSource</code> - Boolean indicating which end of the edge should be
returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the source or target of the given edge.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> setTerminal(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal,
boolean isSource)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the source or target terminal of the given edge using.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">setTerminal</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that specifies the edge.</dd><dd><code>terminal</code> - Cell that specifies the new terminal.</dd><dd><code>isSource</code> - Boolean indicating if the terminal is the new source or
target terminal of the edge.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new terminal.</dd></dl>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminalForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal,
boolean isSource)</pre>
<divclass="block">Inner helper function to update the terminal of the edge using
mxCell.insertEdge and return the previous terminal.</div>
</li>
</ul>
<aname="updateEdgeParents(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>updateEdgeParents</h4>
<pre>public void updateEdgeParents(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Updates the parents of the edges connected to the given cell and all its
<pre>public void updateEdgeParents(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</pre>
<divclass="block">Updates the parents of the edges connected to the given cell and all its
descendants so that the edge is contained in the nearest-common-ancestor.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose edges should be checked and updated.</dd><dd><code>root</code> - Root of the cell hierarchy that contains all cells.</dd></dl>
<pre>public void updateEdgeParent(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> root)</pre>
<divclass="block">Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Specifies the edge to be updated.</dd><dd><code>root</code> - Current root of the model.</dd></dl>
</li>
</ul>
<aname="getOrigin(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getOrigin</h4>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getOrigin(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Returns the absolute, accumulated origin for the children inside the
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getNearestCommonAncestor(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell1,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell2)</pre>
<divclass="block">Returns the nearest common ancestor for the specified cells.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell1</code> - Cell that specifies the first cell in the tree.</dd><dd><code>cell2</code> - Cell that specifies the second cell in the tree.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the nearest common ancestor of the given cells.</dd></dl>
</li>
</ul>
<aname="getEdgeCount(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEdgeCount</h4>
<pre>public int getEdgeCount(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeCount(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the number of distinct edges connected to the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeCount(java.lang.Object)">getEdgeCount</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the vertex.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of edges connected to cell.</dd></dl>
</li>
</ul>
<aname="getEdgeAt(java.lang.Object, int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEdgeAt</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getEdgeAt(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
int index)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeAt(java.lang.Object, int)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the edge of cell at the given index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeAt(java.lang.Object, int)">getEdgeAt</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that specifies the vertex.</dd><dd><code>index</code> - Integer that specifies the index of the edge to return.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the edge at the given index.</dd></dl>
</li>
</ul>
<aname="isVertex(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isVertex</h4>
<pre>public boolean isVertex(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVertex(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is a vertex.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVertex(java.lang.Object)">isVertex</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the possible vertex.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the given cell is a vertex.</dd></dl>
</li>
</ul>
<aname="isEdge(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isEdge</h4>
<pre>public boolean isEdge(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isEdge(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is an edge.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isEdge(java.lang.Object)">isEdge</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the possible edge.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the given cell is an edge.</dd></dl>
</li>
</ul>
<aname="isConnectable(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isConnectable</h4>
<pre>public boolean isConnectable(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isConnectable(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is connectable.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isConnectable(java.lang.Object)">isConnectable</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose connectable state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the connectable state of the given cell.</dd></dl>
</li>
</ul>
<aname="getValue(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getValue</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getValue(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getValue(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the user object of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getValue(java.lang.Object)">getValue</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose user object should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the user object of the given cell.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> setValue(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setValue(java.lang.Object, java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the user object of then given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setValue(java.lang.Object, java.lang.Object)">setValue</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose user object should be changed.</dd><dd><code>value</code> - Object that defines the new user object.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new value.</dd></dl>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> valueForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> value)</pre>
<divclass="block">Inner callback to update the user object of the given mxCell
that is, the return value of mxCell.getValue.</div>
</li>
</ul>
<aname="getGeometry(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getGeometry</h4>
<pre>public <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> getGeometry(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getGeometry(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the geometry of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getGeometry(java.lang.Object)">getGeometry</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose geometry should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the geometry of the given cell.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> setGeometry(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the geometry of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">setGeometry</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose geometry should be changed.</dd><dd><code>geometry</code> - Object that defines the new geometry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new geometry.</dd></dl>
<pre>protected <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometryForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</pre>
<divclass="block">Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.</div>
</li>
</ul>
<aname="getStyle(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStyle</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> getStyle(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getStyle(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the style of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getStyle(java.lang.Object)">getStyle</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose style should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the style of the given cell.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> setStyle(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setStyle(java.lang.Object, java.lang.String)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the style of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setStyle(java.lang.Object, java.lang.String)">setStyle</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose style should be changed.</dd><dd><code>style</code> - String of the form stylename[;key=value] to specify
the new cell style.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new style.</dd></dl>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> styleForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> style)</pre>
<divclass="block">Inner callback to update the style of the given mxCell
using mxCell.setStyle and return the previous style.</div>
</li>
</ul>
<aname="isCollapsed(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isCollapsed</h4>
<pre>public boolean isCollapsed(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isCollapsed(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is collapsed.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isCollapsed(java.lang.Object)">isCollapsed</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose collapsed state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the collapsed state of the given cell.</dd></dl>
</li>
</ul>
<aname="setCollapsed(java.lang.Object, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setCollapsed</h4>
<pre>public boolean setCollapsed(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean collapsed)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setCollapsed(java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the collapsed state of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setCollapsed(java.lang.Object, boolean)">setCollapsed</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose collapsed state should be changed.</dd><dd><code>collapsed</code> - Boolean that specifies the new collpased state.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new collapsed state.</dd></dl>
<pre>protected boolean collapsedStateForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean collapsed)</pre>
<divclass="block">Inner callback to update the collapsed state of the
<pre>public boolean isVisible(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVisible(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is visible.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVisible(java.lang.Object)">isVisible</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose visible state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the visible state of the given cell.</dd></dl>
</li>
</ul>
<aname="setVisible(java.lang.Object, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setVisible</h4>
<pre>public boolean setVisible(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean visible)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setVisible(java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the visible state of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setVisible(java.lang.Object, boolean)">setVisible</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose visible state should be changed.</dd><dd><code>visible</code> - Boolean that specifies the new visible state.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new visible state.</dd></dl>
<pre>protected boolean visibleStateForCellChanged(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean visible)</pre>
<divclass="block">Sets the visible state of the given mxCell using mxVisibleChange and
<pre>public void execute(<ahref="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a> change)</pre>
<divclass="block">Executes the given atomic change and adds it to the current edit.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>change</code> - Atomic change to be executed.</dd></dl>
</li>
</ul>
<aname="beginUpdate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>beginUpdate</h4>
<pre>public void beginUpdate()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#beginUpdate()">mxIGraphModel</a></code></strong></div>
<divclass="block">Increments the updateLevel by one. The event notification is queued
until updateLevel reaches 0 by use of endUpdate.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#beginUpdate()">beginUpdate</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
</dl>
</li>
</ul>
<aname="endUpdate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>endUpdate</h4>
<pre>public void endUpdate()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#endUpdate()">mxIGraphModel</a></code></strong></div>
<divclass="block">Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#endUpdate()">endUpdate</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<pre>public void mergeChildren(<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> from,
<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> to,
boolean cloneAllEdges)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</a></pre>
<divclass="block">Merges the children of the given cell into the given target cell inside
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</a></code></dd></dl>
<pre>protected void mergeChildrenImpl(<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> from,
<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> to,
boolean cloneAllEdges,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true"title="class or interface in java.util">Hashtable</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> mapping)
throws <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</a></pre>
<divclass="block">Clones the children of the source cell into the given target cell in
<dd><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</a></code></dd></dl>
<pre>public static int getDirectedEdgeCount(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean outgoing)</pre>
<divclass="block">Returns the number of incoming or outgoing edges.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graph model that contains the connection data.</dd><dd><code>cell</code> - Cell whose edges should be counted.</dd><dd><code>outgoing</code> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
<pre>public static int getDirectedEdgeCount(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean outgoing,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> ignoredEdge)</pre>
<divclass="block">Returns the number of incoming or outgoing edges, ignoring the given
edge.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graph model that contains the connection data.</dd><dd><code>cell</code> - Cell whose edges should be counted.</dd><dd><code>outgoing</code> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.</dd><dd><code>ignoredEdge</code> - Object that represents an edge to be ignored.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Returns all edges connected to this cell including loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the array of connected edges for the given cell.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getConnections(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Returns all edges connected to this cell without loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the connected edges for the given cell.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getIncomingEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Returns the incoming edges of the given cell without loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graphmodel that contains the edges.</dd><dd><code>cell</code> - Cell whose incoming edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the incoming edges for the given cell.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getOutgoingEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<divclass="block">Returns the outgoing edges of the given cell without loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graphmodel that contains the edges.</dd><dd><code>cell</code> - Cell whose outgoing edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the outgoing edges for the given cell.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
boolean incoming,
boolean outgoing,
boolean includeLoops)</pre>
<divclass="block">Returns all distinct edges connected to this cell.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>cell</code> - Cell whose connections should be returned.</dd><dd><code>incoming</code> - Specifies if incoming edges should be returned.</dd><dd><code>outgoing</code> - Specifies if outgoing edges should be returned.</dd><dd><code>includeLoops</code> - Specifies if loops should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the array of connected edges for the given cell.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getEdgesBetween(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> source,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target)</pre>
<divclass="block">Returns all edges from the given source to the given target.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - The graph model that contains the graph.</dd><dd><code>source</code> - Object that defines the source cell.</dd><dd><code>target</code> - Object that defines the target cell.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns all edges from source to target.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getEdgesBetween(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> source,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target,
boolean directed)</pre>
<divclass="block">Returns all edges between the given source and target pair. If directed
otherwise, all edges between the two cells are returned.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - The graph model that contains the graph.</dd><dd><code>source</code> - Object that defines the source cell.</dd><dd><code>target</code> - Object that defines the target cell.</dd><dd><code>directed</code> - Boolean that specifies if the direction of the edge
should be taken into account.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns all edges between the given source and target.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getOpposites(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] edges,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal)</pre>
<divclass="block">Returns all opposite cells of terminal for the given edges.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>edges</code> - Array of edges to be examined.</dd><dd><code>terminal</code> - Cell that specifies the known end of the edges.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the opposite cells of the given terminal.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getOpposites(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] edges,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> terminal,
boolean sources,
boolean targets)</pre>
<divclass="block">Returns all opposite vertices wrt terminal for the given edges, only
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>edges</code> - Array of edges to be examined.</dd><dd><code>terminal</code> - Cell that specifies the known end of the edges.</dd><dd><code>sources</code> - Boolean that specifies if source terminals should
be contained in the result. Default is true.</dd><dd><code>targets</code> - Boolean that specifies if target terminals should
be contained in the result. Default is true.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the array of opposite terminals for the given edges.</dd></dl>
<pre>public static void setTerminals(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> edge,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> source,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target)</pre>
<divclass="block">Sets the source and target of the given edge in a single atomic change.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that specifies the edge.</dd><dd><code>source</code> - Cell that specifies the new source terminal.</dd><dd><code>target</code> - Cell that specifies the new target terminal.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getChildren(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</pre>
<divclass="block">Returns all children of the given cell regardless of their type.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child vertices or edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child vertices and/or edges of the given parent.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getChildVertices(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</pre>
<divclass="block">Returns the child vertices of the given parent.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child vertices should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child vertices of the given parent.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getChildEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</pre>
<divclass="block">Returns the child edges of the given parent.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child edges of the given parent.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getChildCells(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent,
boolean vertices,
boolean edges)</pre>
<divclass="block">Returns the children of the given cell that are vertices and/or edges
children are returned regardless of their type.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child vertices or edges should be returned.</dd><dd><code>vertices</code> - Boolean indicating if child vertices should be returned.</dd><dd><code>edges</code> - Boolean indicating if child edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child vertices and/or edges of the given parent.</dd></dl>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getParents(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells)</pre>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] filterCells(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</pre>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> getDescendants(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</pre>
<divclass="block">Returns a all descendants of the given cell and the cell itself
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> filterDescendants(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</pre>
<divclass="block">Creates a collection of cells using the visitor pattern.</div>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true"title="class or interface in java.util">Collection</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> filterDescendants(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</pre>
<divclass="block">Creates a collection of cells using the visitor pattern.</div>
<pre>public static <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getTopmostCells(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] cells)</pre>