<AHREF="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 "><B>com.mxgraph.model.mxCellPath</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxCellPath</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></DL>
<CODE>static <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/mxCellPath.html#compare(java.lang.String, java.lang.String)">compare</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> cp1,
<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> cp2)</CODE>
<BR>
Compares the given cell paths and returns -1 if cp1 is smaller, 0 if
cp1 is equal and 1 if cp1 is greater than cp2.</TD>
<CODE>static <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/mxCellPath.html#create(com.mxgraph.model.mxICell)">create</A></B>(<AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A> cell)</CODE>
<BR>
Creates the cell path for the given cell.</TD>
<CODE>static <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/mxCellPath.html#getParentPath(java.lang.String)">getParentPath</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> path)</CODE>
<BR>
Returns the path for the parent of the cell represented by the given
<CODE>static <AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/model/mxCellPath.html#resolve(com.mxgraph.model.mxICell, java.lang.String)">resolve</A></B>(<AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A> root,
<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> path)</CODE>
<BR>
Returns the cell for the specified cell path using the given root as the
<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>
public static <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>PATH_SEPARATOR</B></PRE>
<DL>
<DD>Defines the separator between the path components. Default is
public static <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>create</B>(<AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A> cell)</PRE>
<DL>
<DD>Creates the cell path for the given cell. The cell path is a
concatenation of the indices of all cells on the (finite) path to
the root, eg. "0.0.0.1".
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose path should be returned.
<DT><B>Returns:</B><DD>Returns the string that represents the path.</DL>
public static <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>getParentPath</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> path)</PRE>
<DL>
<DD>Returns the path for the parent of the cell represented by the given
path. Returns null if the given path has no parent.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path whose parent path should be returned.</DL>
public static <AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A><B>resolve</B>(<AHREF="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</A> root,
<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> path)</PRE>
<DL>
<DD>Returns the cell for the specified cell path using the given root as the
root of the path.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - Root cell of the path to be resolved.<DD><CODE>path</CODE> - String that defines the path.
<DT><B>Returns:</B><DD>Returns the cell that is defined by the path.</DL>
public static int <B>compare</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> cp1,
<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> cp2)</PRE>
<DL>
<DD>Compares the given cell paths and returns -1 if cp1 is smaller, 0 if