<AHREF="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>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.model.mxGraphModel</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><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>
<DL>
<DT><PRE>public class <B>mxGraphModel</B><DT>extends <AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A><DT>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></DL>
</PRE>
<P>
Extends mxEventSource to implement a graph model. The graph model acts as
a wrapper around the cells which are in charge of storing the actual graph
datastructure. The model acts as a transactional wrapper with event
notification for all changes, whereas the cells contain the atomic
operations for updating the actual datastructure.
Layers:
The cell hierarchy in the model must have a top-level root cell which
contains the layers (typically one default layer), which in turn contain the
top-level cells of the layers. This means each cell is contained in a layer.
If no layers are required, then all new cells should be added to the default
layer.
Layers are useful for hiding and showing groups of cells, or for placing
groups of cells on top of other cells in the display. To identify a layer,
the <isLayer> function is used. It returns true if the parent of the given
cell is the root of the model.
This class fires the following events:
mxEvent.CHANGE fires when an undoable edit is dispatched. The <code>edit</code>
property contains the mxUndoableEdit. The <code>changes</code> property
contains the list of undoable changes inside the undoable edit. The changes
property is deprecated, please use edit.getChanges() instead.
mxEvent.EXECUTE fires between begin- and endUpdate and after an atomic
change was executed in the model. The <code>change</code> property contains
the atomic change that was executed.
mxEvent.BEGIN_UPDATE fires after the updateLevel was incremented in
beginUpdate. This event contains no properties.
mxEvent.END_UPDATE fires after the updateLevel was decreased in endUpdate
but before any notification or change dispatching. The <code>edit</code>
property contains the current mxUndoableEdit.
mxEvent.BEFORE_UNDO fires before the change is dispatched after the update
level has reached 0 in endUpdate. The <code>edit</code> property contains
the current mxUndoableEdit.
mxEvent.UNDO fires after the change was dispatched in endUpdate. The
<code>edit</code> property contains the current mxUndoableEdit.
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxChildChange.html"title="class in com.mxgraph.model">mxGraphModel.mxChildChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxCollapseChange.html"title="class in com.mxgraph.model">mxGraphModel.mxCollapseChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxGeometryChange.html"title="class in com.mxgraph.model">mxGraphModel.mxGeometryChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxRootChange.html"title="class in com.mxgraph.model">mxGraphModel.mxRootChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxStyleChange.html"title="class in com.mxgraph.model">mxGraphModel.mxStyleChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxTerminalChange.html"title="class in com.mxgraph.model">mxGraphModel.mxTerminalChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxValueChange.html"title="class in com.mxgraph.model">mxGraphModel.mxValueChange</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.mxVisibleChange.html"title="class in com.mxgraph.model">mxGraphModel.mxVisibleChange</A></B></CODE>
<THALIGN="left"><B>Nested classes/interfaces inherited from class com.mxgraph.util.<AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></TD>
<THALIGN="left"><B>Nested classes/interfaces inherited from interface com.mxgraph.model.<AHREF="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</A></CODE></TD>
<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></FONT></TD>
<THALIGN="left"><B>Fields inherited from class com.mxgraph.util.<AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
Constructs a new empty graph model.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#mxGraphModel(java.lang.Object)">mxGraphModel</A></B>(<AHREF="http://download.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>
<BR>
Constructs a new graph model.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#add(java.lang.Object, java.lang.Object, int)">add</A></B>(<AHREF="http://download.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>
<BR>
Adds the specified child to the parent at the given index.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#cellAdded(java.lang.Object)">cellAdded</A></B>(<AHREF="http://download.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>
<BR>
Invoked after a cell has been added to a parent.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#cellRemoved(java.lang.Object)">cellRemoved</A></B>(<AHREF="http://download.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>
<BR>
Invoked after a cell has been removed from the model.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#cloneCell(java.lang.Object, java.util.Map, boolean)">cloneCell</A></B>(<AHREF="http://download.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>
<BR>
Inner helper method for cloning cells recursively.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#cloneCells(java.lang.Object[], boolean)">cloneCells</A></B>(<AHREF="http://download.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>
<BR>
Returns an array of clones for the given array of cells.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#collapsedStateForCellChanged(java.lang.Object, boolean)">collapsedStateForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner callback to update the collapsed state of the
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#contains(java.lang.Object)">contains</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the model contains the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#createId(java.lang.Object)">createId</A></B>(<AHREF="http://download.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>
<BR>
Creates a new Id for the given cell and increments the global counter
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#execute(com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange)">execute</A></B>(<AHREF="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</A> change)</CODE>
<BR>
Executes the given atomic change and adds it to the current edit.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#filterCells(java.lang.Object[], com.mxgraph.model.mxGraphModel.Filter)">filterCells</A></B>(<AHREF="http://download.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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#filterDescendants(com.mxgraph.model.mxIGraphModel, com.mxgraph.model.mxGraphModel.Filter)">filterDescendants</A></B>(<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>
<BR>
Creates a collection of cells using the visitor pattern.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#filterDescendants(com.mxgraph.model.mxIGraphModel, com.mxgraph.model.mxGraphModel.Filter, java.lang.Object)">filterDescendants</A></B>(<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>
<BR>
Creates a collection of cells using the visitor pattern.</TD>
<CODE>protected <AHREF="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#geometryForCellChanged(java.lang.Object, com.mxgraph.model.mxGeometry)">geometryForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getCell(java.lang.String)">getCell</A></B>(<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>
<BR>
Returns the cell for the specified Id or null if no cell can be
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getChildAt(java.lang.Object, int)">getChildAt</A></B>(<AHREF="http://download.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>
<BR>
Returns the child of the given parent at the given index.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getChildCells(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean, boolean)">getChildCells</A></B>(<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>
<BR>
Returns the children of the given cell that are vertices and/or edges
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getChildCount(java.lang.Object)">getChildCount</A></B>(<AHREF="http://download.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>
<BR>
Returns the number of children in the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getChildEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildEdges</A></B>(<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>
<BR>
Returns the child edges of the given parent.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getChildren(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildren</A></B>(<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>
<BR>
Returns all children of the given cell regardless of their type.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getChildVertices(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildVertices</A></B>(<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>
<BR>
Returns the child vertices of the given parent.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getConnections(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getConnections</A></B>(<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>
<BR>
Returns all edges connected to this cell without loops.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getDescendants(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getDescendants</A></B>(<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>
<BR>
Returns a all descendants of the given cell and the cell itself
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean)">getDirectedEdgeCount</A></B>(<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>
<BR>
Returns the number of incoming or outgoing edges.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean, java.lang.Object)">getDirectedEdgeCount</A></B>(<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>
<BR>
Returns the number of incoming or outgoing edges, ignoring the given
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getEdgeAt(java.lang.Object, int)">getEdgeAt</A></B>(<AHREF="http://download.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>
<BR>
Returns the edge of cell at the given index.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getEdgeCount(java.lang.Object)">getEdgeCount</A></B>(<AHREF="http://download.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>
<BR>
Returns the number of distinct edges connected to the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getEdges</A></B>(<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>
<BR>
Returns all edges connected to this cell including loops.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean, boolean, boolean)">getEdges</A></B>(<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>
<BR>
Returns all distinct edges connected to this cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getEdgesBetween(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object)">getEdgesBetween</A></B>(<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>
<BR>
Returns all edges from the given source to the given target.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getEdgesBetween(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object, boolean)">getEdgesBetween</A></B>(<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>
<BR>
Returns all edges between the given source and target pair.</TD>
<CODE> <AHREF="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getGeometry(java.lang.Object)">getGeometry</A></B>(<AHREF="http://download.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>
<BR>
Returns the geometry of the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getIncomingEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getIncomingEdges</A></B>(<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>
<BR>
Returns the incoming edges of the given cell without loops.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getNearestCommonAncestor(java.lang.Object, java.lang.Object)">getNearestCommonAncestor</A></B>(<AHREF="http://download.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>
<BR>
Returns the nearest common ancestor for the specified cells.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getOpposites(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.Object)">getOpposites</A></B>(<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>
<BR>
Returns all opposite cells of terminal for the given edges.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getOpposites(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.Object, boolean, boolean)">getOpposites</A></B>(<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>
<BR>
Returns all opposite vertices wrt terminal for the given edges, only
returning sources and/or targets as specified.</TD>
<CODE> <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getOrigin(java.lang.Object)">getOrigin</A></B>(<AHREF="http://download.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>
<BR>
Returns the absolute, accumulated origin for the children inside the
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getOutgoingEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getOutgoingEdges</A></B>(<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>
<BR>
Returns the outgoing edges of the given cell without loops.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getParent(java.lang.Object)">getParent</A></B>(<AHREF="http://download.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>
<BR>
Returns the parent of the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getParents(com.mxgraph.model.mxIGraphModel, java.lang.Object[])">getParents</A></B>(<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>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getStyle(java.lang.Object)">getStyle</A></B>(<AHREF="http://download.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>
<BR>
Returns the style of the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getTerminal(java.lang.Object, boolean)">getTerminal</A></B>(<AHREF="http://download.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>
<BR>
Returns the source or target terminal of the given edge depending on the
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getTopmostCells(com.mxgraph.model.mxIGraphModel, java.lang.Object[])">getTopmostCells</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#getValue(java.lang.Object)">getValue</A></B>(<AHREF="http://download.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>
<BR>
Returns the user object of the given cell.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">isAncestor</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the given parent is an ancestor of the given child.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#isCollapsed(java.lang.Object)">isCollapsed</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the given cell is collapsed.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#isConnectable(java.lang.Object)">isConnectable</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the given cell is connectable.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#isEdge(java.lang.Object)">isEdge</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the given cell is an edge.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#isVertex(java.lang.Object)">isVertex</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the given cell is a vertex.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#isVisible(java.lang.Object)">isVisible</A></B>(<AHREF="http://download.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>
<BR>
Returns true if the given cell is visible.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#mergeChildren(com.mxgraph.model.mxICell, com.mxgraph.model.mxICell, boolean)">mergeChildren</A></B>(<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>
<BR>
Merges the children of the given cell into the given target cell inside
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#mergeChildrenImpl(com.mxgraph.model.mxICell, com.mxgraph.model.mxICell, boolean, java.util.Hashtable)">mergeChildrenImpl</A></B>(<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>
<BR>
Clones the children of the source cell into the given target cell in
this model and adds an entry to the mapping that maps from the source
cell to the target cell with the same id or the clone of the source cell
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#parentForCellChanged(java.lang.Object, java.lang.Object, int)">parentForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner callback to update the parent of a cell using mxCell.insert
on the parent and return the previous parent.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#remove(java.lang.Object)">remove</A></B>(<AHREF="http://download.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>
<BR>
Removes the specified cell from the model.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#restoreClone(java.lang.Object, java.lang.Object, java.util.Map)">restoreClone</A></B>(<AHREF="http://download.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>
<BR>
Inner helper method for restoring the connections in
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#rootChanged(java.lang.Object)">rootChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner callback to change the root of the model and update the internal
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setCollapsed(java.lang.Object, boolean)">setCollapsed</A></B>(<AHREF="http://download.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>
<BR>
Sets the collapsed state of the given cell.</TD>
<CODE> <AHREF="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">setGeometry</A></B>(<AHREF="http://download.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>
<BR>
Sets the geometry of the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setRoot(java.lang.Object)">setRoot</A></B>(<AHREF="http://download.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>
<BR>
Sets the root of the model and resets all structures.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setStyle(java.lang.Object, java.lang.String)">setStyle</A></B>(<AHREF="http://download.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>
<BR>
Sets the style of the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">setTerminal</A></B>(<AHREF="http://download.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>
<BR>
Sets the source or target terminal of the given edge using.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setTerminals(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object, java.lang.Object)">setTerminals</A></B>(<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>
<BR>
Sets the source and target of the given edge in a single atomic change.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setValue(java.lang.Object, java.lang.Object)">setValue</A></B>(<AHREF="http://download.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>
<BR>
Sets the user object of then given cell.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#setVisible(java.lang.Object, boolean)">setVisible</A></B>(<AHREF="http://download.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>
<BR>
Sets the visible state of the given cell.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#styleForCellChanged(java.lang.Object, java.lang.String)">styleForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner callback to update the style of the given mxCell
using mxCell.setStyle and return the previous style.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#terminalForCellChanged(java.lang.Object, java.lang.Object, boolean)">terminalForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner helper function to update the terminal of the edge using
mxCell.insertEdge and return the previous terminal.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#updateEdgeParent(java.lang.Object, java.lang.Object)">updateEdgeParent</A></B>(<AHREF="http://download.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>
<BR>
Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#updateEdgeParents(java.lang.Object)">updateEdgeParents</A></B>(<AHREF="http://download.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>
<BR>
Updates the parents of the edges connected to the given cell and all its
descendants so that each edge is contained in the nearest common
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#updateEdgeParents(java.lang.Object, java.lang.Object)">updateEdgeParents</A></B>(<AHREF="http://download.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>
<BR>
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.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#valueForCellChanged(java.lang.Object, java.lang.Object)">valueForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Inner callback to update the user object of the given mxCell
using mxCell.setValue and return the previous value,
that is, the return value of mxCell.getValue.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxGraphModel.html#visibleStateForCellChanged(java.lang.Object, boolean)">visibleStateForCellChanged</A></B>(<AHREF="http://download.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>
<BR>
Sets the visible state of the given mxCell using mxVisibleChange and
<THALIGN="left"><B>Methods inherited from class com.mxgraph.util.<AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
<THALIGN="left"><B>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></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><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></TD>
<THALIGN="left"><B>Methods inherited from interface com.mxgraph.model.<AHREF="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</A></B></TH>
protected <AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A><B>root</B></PRE>
<DL>
<DD>Holds the root cell, which in turn contains the cells that represent the
layers of the diagram as child cells. That is, the actual element of the
diagram are supposed to live in the third generation of cells and below.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="cells"><!----></A><H3>
cells</H3>
<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>><B>cells</B></PRE>
<DL>
<DD>Maps from Ids to cells.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="maintainEdgeParent"><!----></A><H3>
maintainEdgeParent</H3>
<PRE>
protected boolean <B>maintainEdgeParent</B></PRE>
<DL>
<DD>Specifies if edges should automatically be moved into the nearest common
ancestor of their terminals. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="createIds"><!----></A><H3>
createIds</H3>
<PRE>
protected boolean <B>createIds</B></PRE>
<DL>
<DD>Specifies if the model should automatically create Ids for new cells.
Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="nextId"><!----></A><H3>
nextId</H3>
<PRE>
protected int <B>nextId</B></PRE>
<DL>
<DD>Specifies the next Id to be created. Initial value is 0.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="currentEdit"><!----></A><H3>
currentEdit</H3>
<PRE>
protected transient <AHREF="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</A><B>currentEdit</B></PRE>
<DL>
<DD>Holds the changes for the current transaction. If the transaction is
closed then a new object is created for this variable using
createUndoableEdit.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="updateLevel"><!----></A><H3>
updateLevel</H3>
<PRE>
protected transient int <B>updateLevel</B></PRE>
<DL>
<DD>Counter for the depth of nested transactions. Each call to beginUpdate
increments this counter and each call to endUpdate decrements it. When
the counter reaches 0, the transaction is closed and the respective
public <B>mxGraphModel</B>(<AHREF="http://download.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>
<DL>
<DD>Constructs a new graph model. If no root is specified
then a new root mxCell with a default layer is created.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - Cell that represents the root cell.</DL>
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><B>createRoot</B>()</PRE>
<DL>
<DD>Creates a new root cell with a default layer (child 0).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getCells()"><!----></A><H3>
getCells</H3>
<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>><B>getCells</B>()</PRE>
<DL>
<DD>Returns the internal lookup table that is used to map from Ids to cells.
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><B>getCell</B>(<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>
<DL>
<DD>Returns the cell for the specified Id or null if no cell can be
found for the given Id.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>id</CODE> - A string representing the Id of the cell.
<DT><B>Returns:</B><DD>Returns the cell for the given Id.</DL>
</DD>
</DL>
<HR>
<ANAME="isMaintainEdgeParent()"><!----></A><H3>
isMaintainEdgeParent</H3>
<PRE>
public boolean <B>isMaintainEdgeParent</B>()</PRE>
<DL>
<DD>Returns true if the model automatically update parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns true if the model maintains edge parents.</DL>
public void <B>setMaintainEdgeParent</B>(boolean maintainEdgeParent)</PRE>
<DL>
<DD>Specifies if the model automatically updates parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>maintainEdgeParent</CODE> - Boolean indicating if the model should
maintain edge parents.</DL>
</DD>
</DL>
<HR>
<ANAME="isCreateIds()"><!----></A><H3>
isCreateIds</H3>
<PRE>
public boolean <B>isCreateIds</B>()</PRE>
<DL>
<DD>Returns true if the model automatically creates Ids and resolves Id
collisions.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns true if the model creates Ids.</DL>
</DD>
</DL>
<HR>
<ANAME="setCreateIds(boolean)"><!----></A><H3>
setCreateIds</H3>
<PRE>
public void <B>setCreateIds</B>(boolean value)</PRE>
<DL>
<DD>Specifies if the model automatically creates Ids for new cells and
resolves Id collisions.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Boolean indicating if the model should created Ids.</DL>
</DD>
</DL>
<HR>
<ANAME="getRoot()"><!----></A><H3>
getRoot</H3>
<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><B>getRoot</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getRoot()">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the root of the model or the topmost parent of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the root cell.</DL>
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><B>setRoot</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setRoot(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the root of the model and resets all structures.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - Cell that specifies the new root.</DL>
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><B>rootChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner callback to change the root of the model and update the internal
datastructures, such as cells and nextId. Returns the previous root.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="createUndoableEdit()"><!----></A><H3>
createUndoableEdit</H3>
<PRE>
protected <AHREF="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</A><B>createUndoableEdit</B>()</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>[] <B>cloneCells</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#cloneCells(java.lang.Object[], boolean)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns an array of clones for the given array of cells.
Depending on the value of includeChildren, a deep clone is created for
each cell. Connections are restored based if the corresponding
cell is contained in the passed in array.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be cloned.<DD><CODE>includeChildren</CODE> - Boolean indicating if the cells should be cloned
with all descendants.
<DT><B>Returns:</B><DD>Returns a cloned array of cells.</DL>
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><B>cloneCell</B>(<AHREF="http://download.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>
<DL>
<DD>Inner helper method for cloning cells recursively.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<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></DL>
protected void <B>restoreClone</B>(<AHREF="http://download.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>
<DL>
<DD>Inner helper method for restoring the connections in
public boolean <B>isAncestor</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the given parent is an ancestor of the given child.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent.<DD><CODE>child</CODE> - Cell that specifies the child.
<DT><B>Returns:</B><DD>Returns true if child is an ancestor of parent.</DL>
public boolean <B>contains</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#contains(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the model contains the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell to be checked.
<DT><B>Returns:</B><DD>Returns true if the cell is in the model.</DL>
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><B>getParent</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getParent(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the parent of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - Cell whose parent should be returned.
<DT><B>Returns:</B><DD>Returns the parent of the given cell.</DL>
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><B>add</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#add(java.lang.Object, java.lang.Object, int)">mxIGraphModel</A></CODE></B></DD>
<DD>Adds the specified child to the parent at the given index. If no index
is specified then the child is appended to the parent's array of
children.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent to contain the child.<DD><CODE>child</CODE> - Cell that specifies the child to be inserted.<DD><CODE>index</CODE> - Integer that specifies the index of the child.
<DT><B>Returns:</B><DD>Returns the inserted child.</DL>
protected void <B>cellAdded</B>(<AHREF="http://download.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>
<DL>
<DD>Invoked after a cell has been added to a parent. This recursively
creates an Id for the new cell and/or resolves Id collisions.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that has been added.</DL>
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><B>createId</B>(<AHREF="http://download.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>
<DL>
<DD>Creates a new Id for the given cell and increments the global counter
for creating new Ids.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell for which a new Id should be created.
<DT><B>Returns:</B><DD>Returns a new Id for the given cell.</DL>
</DD>
</DL>
<HR>
<ANAME="remove(java.lang.Object)"><!----></A><H3>
remove</H3>
<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><B>remove</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#remove(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Removes the specified cell from the model. This operation will remove
the cell and all of its children from the model.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that should be removed.
<DT><B>Returns:</B><DD>Returns the removed cell.</DL>
protected void <B>cellRemoved</B>(<AHREF="http://download.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>
<DL>
<DD>Invoked after a cell has been removed from the model. This recursively
removes the cell from its terminals and removes the mapping from the Id
to the cell.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that has been removed.</DL>
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><B>parentForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner callback to update the parent of a cell using mxCell.insert
public int <B>getChildCount</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getChildCount(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the number of children in the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose number of children should be returned.
<DT><B>Returns:</B><DD>Returns the number of children in the given cell.</DL>
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><B>getChildAt</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getChildAt(java.lang.Object, int)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the child of the given parent at the given index.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that represents the parent.<DD><CODE>index</CODE> - Integer that specifies the index of the child to be
returned.
<DT><B>Returns:</B><DD>Returns the child at index in parent.</DL>
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><B>getTerminal</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getTerminal(java.lang.Object, boolean)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that specifies the edge.<DD><CODE>isSource</CODE> - Boolean indicating which end of the edge should be
returned.
<DT><B>Returns:</B><DD>Returns the source or target of the given edge.</DL>
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><B>setTerminal</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the source or target terminal of the given edge using.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that specifies the edge.<DD><CODE>terminal</CODE> - Cell that specifies the new terminal.<DD><CODE>isSource</CODE> - Boolean indicating if the terminal is the new source or
target terminal of the edge.
<DT><B>Returns:</B><DD>Returns the new terminal.</DL>
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><B>terminalForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner helper function to update the terminal of the edge using
mxCell.insertEdge and return the previous terminal.
public void <B>updateEdgeParents</B>(<AHREF="http://download.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>
<DL>
<DD>Updates the parents of the edges connected to the given cell and all its
descendants so that each edge is contained in the nearest common
ancestor.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose edges should be checked and updated.</DL>
public void <B>updateEdgeParents</B>(<AHREF="http://download.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>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose edges should be checked and updated.<DD><CODE>root</CODE> - Root of the cell hierarchy that contains all cells.</DL>
public void <B>updateEdgeParent</B>(<AHREF="http://download.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>
<DL>
<DD>Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Specifies the edge to be updated.<DD><CODE>root</CODE> - Current root of the model.</DL>
public <AHREF="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>getOrigin</B>(<AHREF="http://download.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>
<DL>
<DD>Returns the absolute, accumulated origin for the children inside the
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><B>getNearestCommonAncestor</B>(<AHREF="http://download.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>
<DL>
<DD>Returns the nearest common ancestor for the specified cells.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell1</CODE> - Cell that specifies the first cell in the tree.<DD><CODE>cell2</CODE> - Cell that specifies the second cell in the tree.
<DT><B>Returns:</B><DD>Returns the nearest common ancestor of the given cells.</DL>
public int <B>getEdgeCount</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeCount(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the number of distinct edges connected to the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the vertex.
<DT><B>Returns:</B><DD>Returns the number of edges connected to cell.</DL>
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><B>getEdgeAt</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeAt(java.lang.Object, int)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the edge of cell at the given index.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the vertex.<DD><CODE>index</CODE> - Integer that specifies the index of the edge to return.
<DT><B>Returns:</B><DD>Returns the edge at the given index.</DL>
public boolean <B>isVertex</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#isVertex(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the given cell is a vertex.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the possible vertex.
<DT><B>Returns:</B><DD>Returns true if the given cell is a vertex.</DL>
</DD>
</DL>
<HR>
<ANAME="isEdge(java.lang.Object)"><!----></A><H3>
isEdge</H3>
<PRE>
public boolean <B>isEdge</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#isEdge(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the given cell is an edge.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the possible edge.
<DT><B>Returns:</B><DD>Returns true if the given cell is an edge.</DL>
public boolean <B>isConnectable</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#isConnectable(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the given cell is connectable.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose connectable state should be returned.
<DT><B>Returns:</B><DD>Returns the connectable state of the given cell.</DL>
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><B>getValue</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getValue(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the user object of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose user object should be returned.
<DT><B>Returns:</B><DD>Returns the user object of the given cell.</DL>
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><B>setValue</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setValue(java.lang.Object, java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the user object of then given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose user object should be changed.<DD><CODE>value</CODE> - Object that defines the new user object.
<DT><B>Returns:</B><DD>Returns the new value.</DL>
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><B>valueForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner callback to update the user object of the given mxCell
using mxCell.setValue and return the previous value,
public <AHREF="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</A><B>getGeometry</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getGeometry(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the geometry of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose geometry should be returned.
<DT><B>Returns:</B><DD>Returns the geometry of the given cell.</DL>
public <AHREF="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</A><B>setGeometry</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the geometry of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose geometry should be changed.<DD><CODE>geometry</CODE> - Object that defines the new geometry.
<DT><B>Returns:</B><DD>Returns the new geometry.</DL>
protected <AHREF="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</A><B>geometryForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.
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><B>getStyle</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#getStyle(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns the style of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose style should be returned.
<DT><B>Returns:</B><DD>Returns the style of the given cell.</DL>
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><B>setStyle</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setStyle(java.lang.Object, java.lang.String)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the style of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose style should be changed.<DD><CODE>style</CODE> - String of the form stylename[;key=value] to specify
the new cell style.
<DT><B>Returns:</B><DD>Returns the new style.</DL>
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><B>styleForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner callback to update the style of the given mxCell
using mxCell.setStyle and return the previous style.
public boolean <B>isCollapsed</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#isCollapsed(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the given cell is collapsed.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose collapsed state should be returned.
<DT><B>Returns:</B><DD>Returns the collapsed state of the given cell.</DL>
public boolean <B>setCollapsed</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setCollapsed(java.lang.Object, boolean)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the collapsed state of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose collapsed state should be changed.<DD><CODE>collapsed</CODE> - Boolean that specifies the new collpased state.
<DT><B>Returns:</B><DD>Returns the new collapsed state.</DL>
protected boolean <B>collapsedStateForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Inner callback to update the collapsed state of the
public boolean <B>isVisible</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#isVisible(java.lang.Object)">mxIGraphModel</A></CODE></B></DD>
<DD>Returns true if the given cell is visible.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose visible state should be returned.
<DT><B>Returns:</B><DD>Returns the visible state of the given cell.</DL>
public boolean <B>setVisible</B>(<AHREF="http://download.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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#setVisible(java.lang.Object, boolean)">mxIGraphModel</A></CODE></B></DD>
<DD>Sets the visible state of the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose visible state should be changed.<DD><CODE>visible</CODE> - Boolean that specifies the new visible state.
<DT><B>Returns:</B><DD>Returns the new visible state.</DL>
protected boolean <B>visibleStateForCellChanged</B>(<AHREF="http://download.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>
<DL>
<DD>Sets the visible state of the given mxCell using mxVisibleChange and
public void <B>execute</B>(<AHREF="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</A> change)</PRE>
<DL>
<DD>Executes the given atomic change and adds it to the current edit.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>change</CODE> - Atomic change to be executed.</DL>
</DD>
</DL>
<HR>
<ANAME="beginUpdate()"><!----></A><H3>
beginUpdate</H3>
<PRE>
public void <B>beginUpdate</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#beginUpdate()">mxIGraphModel</A></CODE></B></DD>
<DD>Increments the updateLevel by one. The event notification is queued
until updateLevel reaches 0 by use of endUpdate.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="endUpdate()"><!----></A><H3>
endUpdate</H3>
<PRE>
public void <B>endUpdate</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/model/mxIGraphModel.html#endUpdate()">mxIGraphModel</A></CODE></B></DD>
<DD>Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
public void <B>mergeChildren</B>(<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>
<DL>
<DD>Merges the children of the given cell into the given target cell inside
this model. All cells are cloned unless there is a corresponding cell in
the model with the same id, in which case the source cell is ignored and
all edges are connected to the corresponding cell in this model. Edges
are considered to have no identity and are always cloned unless the
cloneAllEdges flag is set to false, in which case edges with the same
id in the target model are reconnected to reflect the terminals of the
<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></DL>
protected void <B>mergeChildrenImpl</B>(<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>
<DL>
<DD>Clones the children of the source cell into the given target cell in
this model and adds an entry to the mapping that maps from the source
cell to the target cell with the same id or the clone of the source cell
that was inserted into this model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<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></DL>
public static int <B>getDirectedEdgeCount</B>(<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>
<DL>
<DD>Returns the number of incoming or outgoing edges.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Graph model that contains the connection data.<DD><CODE>cell</CODE> - Cell whose edges should be counted.<DD><CODE>outgoing</CODE> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.
<DT><B>Returns:</B><DD>Returns the number of incoming or outgoing edges.</DL>
public static int <B>getDirectedEdgeCount</B>(<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>
<DL>
<DD>Returns the number of incoming or outgoing edges, ignoring the given
edge.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Graph model that contains the connection data.<DD><CODE>cell</CODE> - Cell whose edges should be counted.<DD><CODE>outgoing</CODE> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.<DD><CODE>ignoredEdge</CODE> - Object that represents an edge to be ignored.
<DT><B>Returns:</B><DD>Returns the number of incoming or outgoing edges.</DL>
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>[] <B>getEdges</B>(<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>
<DL>
<DD>Returns all edges connected to this cell including loops.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the connection information.<DD><CODE>cell</CODE> - Cell whose connections should be returned.
<DT><B>Returns:</B><DD>Returns the array of connected edges for the given cell.</DL>
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>[] <B>getConnections</B>(<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>
<DL>
<DD>Returns all edges connected to this cell without loops.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the connection information.<DD><CODE>cell</CODE> - Cell whose connections should be returned.
<DT><B>Returns:</B><DD>Returns the connected edges for the given cell.</DL>
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>[] <B>getIncomingEdges</B>(<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>
<DL>
<DD>Returns the incoming edges of the given cell without loops.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Graphmodel that contains the edges.<DD><CODE>cell</CODE> - Cell whose incoming edges should be returned.
<DT><B>Returns:</B><DD>Returns the incoming edges for the given cell.</DL>
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>[] <B>getOutgoingEdges</B>(<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>
<DL>
<DD>Returns the outgoing edges of the given cell without loops.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Graphmodel that contains the edges.<DD><CODE>cell</CODE> - Cell whose outgoing edges should be returned.
<DT><B>Returns:</B><DD>Returns the outgoing edges for the given cell.</DL>
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>[] <B>getEdges</B>(<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>
<DL>
<DD>Returns all distinct edges connected to this cell.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the connection information.<DD><CODE>cell</CODE> - Cell whose connections should be returned.<DD><CODE>incoming</CODE> - Specifies if incoming edges should be returned.<DD><CODE>outgoing</CODE> - Specifies if outgoing edges should be returned.<DD><CODE>includeLoops</CODE> - Specifies if loops should be returned.
<DT><B>Returns:</B><DD>Returns the array of connected edges for the given cell.</DL>
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>[] <B>getEdgesBetween</B>(<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>
<DL>
<DD>Returns all edges from the given source to the given target.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - The graph model that contains the graph.<DD><CODE>source</CODE> - Object that defines the source cell.<DD><CODE>target</CODE> - Object that defines the target cell.
<DT><B>Returns:</B><DD>Returns all edges from source to target.</DL>
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>[] <B>getEdgesBetween</B>(<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>
<DL>
<DD>Returns all edges between the given source and target pair. If directed
is true, then only edges from the source to the target are returned,
otherwise, all edges between the two cells are returned.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - The graph model that contains the graph.<DD><CODE>source</CODE> - Object that defines the source cell.<DD><CODE>target</CODE> - Object that defines the target cell.<DD><CODE>directed</CODE> - Boolean that specifies if the direction of the edge
should be taken into account.
<DT><B>Returns:</B><DD>Returns all edges between the given source and target.</DL>
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>[] <B>getOpposites</B>(<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>
<DL>
<DD>Returns all opposite cells of terminal for the given edges.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the connection information.<DD><CODE>edges</CODE> - Array of edges to be examined.<DD><CODE>terminal</CODE> - Cell that specifies the known end of the edges.
<DT><B>Returns:</B><DD>Returns the opposite cells of the given terminal.</DL>
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>[] <B>getOpposites</B>(<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>
<DL>
<DD>Returns all opposite vertices wrt terminal for the given edges, only
returning sources and/or targets as specified. The result is returned as
an array of mxCells.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the connection information.<DD><CODE>edges</CODE> - Array of edges to be examined.<DD><CODE>terminal</CODE> - Cell that specifies the known end of the edges.<DD><CODE>sources</CODE> - Boolean that specifies if source terminals should
be contained in the result. Default is true.<DD><CODE>targets</CODE> - Boolean that specifies if target terminals should
be contained in the result. Default is true.
<DT><B>Returns:</B><DD>Returns the array of opposite terminals for the given edges.</DL>
public static void <B>setTerminals</B>(<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>
<DL>
<DD>Sets the source and target of the given edge in a single atomic change.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that specifies the edge.<DD><CODE>source</CODE> - Cell that specifies the new source terminal.<DD><CODE>target</CODE> - Cell that specifies the new target terminal.</DL>
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>[] <B>getChildren</B>(<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>
<DL>
<DD>Returns all children of the given cell regardless of their type.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the hierarchical information.<DD><CODE>parent</CODE> - Cell whose child vertices or edges should be returned.
<DT><B>Returns:</B><DD>Returns the child vertices and/or edges of the given parent.</DL>
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>[] <B>getChildVertices</B>(<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>
<DL>
<DD>Returns the child vertices of the given parent.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the hierarchical information.<DD><CODE>parent</CODE> - Cell whose child vertices should be returned.
<DT><B>Returns:</B><DD>Returns the child vertices of the given parent.</DL>
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>[] <B>getChildEdges</B>(<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>
<DL>
<DD>Returns the child edges of the given parent.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the hierarchical information.<DD><CODE>parent</CODE> - Cell whose child edges should be returned.
<DT><B>Returns:</B><DD>Returns the child edges of the given parent.</DL>
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>[] <B>getChildCells</B>(<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>
<DL>
<DD>Returns the children of the given cell that are vertices and/or edges
depending on the arguments. If both arguments are false then all
children are returned regardless of their type.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the hierarchical information.<DD><CODE>parent</CODE> - Cell whose child vertices or edges should be returned.<DD><CODE>vertices</CODE> - Boolean indicating if child vertices should be returned.<DD><CODE>edges</CODE> - Boolean indicating if child edges should be returned.
<DT><B>Returns:</B><DD>Returns the child vertices and/or edges of the given parent.</DL>
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>[] <B>getParents</B>(<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>
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>[] <B>filterCells</B>(<AHREF="http://download.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>
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>><B>getDescendants</B>(<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>
<DL>
<DD>Returns a all descendants of the given cell and the cell itself
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>><B>filterDescendants</B>(<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>
<DL>
<DD>Creates a collection of cells using the visitor pattern.
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>><B>filterDescendants</B>(<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>
<DL>
<DD>Creates a collection of cells using the visitor pattern.
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>[] <B>getTopmostCells</B>(<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>
<DL>
<DD>Function: getTopmostCells
Returns the topmost cells of the hierarchy in an array that contains no
desceandants for each <mxCell> that it contains. Duplicates should be
removed in the cells array to improve performance.
Parameters:
cells - Array of <mxCells> whose topmost ancestors should be returned.