<AHREF="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.layout.mxOrganicLayout.CellWrapper</B>
</PRE>
<DL>
<DT><B>Enclosing class:</B><DD><AHREF="../../../com/mxgraph/layout/mxOrganicLayout.html"title="class in com.mxgraph.layout">mxOrganicLayout</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxOrganicLayout.CellWrapper</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>
</PRE>
<P>
Internal representation of a node or edge that holds cached information
to enable the layout to perform more quickly and to simplify the code
<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/layout/mxOrganicLayout.CellWrapper.html#mxOrganicLayout.CellWrapper(java.lang.Object)">mxOrganicLayout.CellWrapper</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>
Constructs a new CellWrapper</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>
<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>
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>cell</B></PRE>
<DL>
<DD>The actual graph cell this wrapper represents
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="relevantEdges"><!----></A><H3>
relevantEdges</H3>
<PRE>
protected int[] <B>relevantEdges</B></PRE>
<DL>
<DD>All edge that repel this cell, only used for nodes. This array
is equivalent to all edges unconnected to this node
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="connectedEdges"><!----></A><H3>
connectedEdges</H3>
<PRE>
protected int[] <B>connectedEdges</B></PRE>
<DL>
<DD>the index of all connected edges in the <code>e</code> array
to this node. This is only used for nodes.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="x"><!----></A><H3>
x</H3>
<PRE>
protected double <B>x</B></PRE>
<DL>
<DD>The x-coordinate position of this cell, nodes only
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="y"><!----></A><H3>
y</H3>
<PRE>
protected double <B>y</B></PRE>
<DL>
<DD>The y-coordinate position of this cell, nodes only
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="radiusSquared"><!----></A><H3>
radiusSquared</H3>
<PRE>
protected double <B>radiusSquared</B></PRE>
<DL>
<DD>The approximate radius squared of this cell, nodes only. If
approxNodeDimensions is true on the layout this value holds the
width of the node squared
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="heightSquared"><!----></A><H3>
heightSquared</H3>
<PRE>
protected double <B>heightSquared</B></PRE>
<DL>
<DD>The height of the node squared, only used if approxNodeDimensions
is set to true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="source"><!----></A><H3>
source</H3>
<PRE>
protected int <B>source</B></PRE>
<DL>
<DD>The index of the node attached to this edge as source, edges only
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="target"><!----></A><H3>
target</H3>
<PRE>
protected int <B>target</B></PRE>
<DL>
<DD>The index of the node attached to this edge as target, edges only
public <B>mxOrganicLayout.CellWrapper</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>Constructs a new CellWrapper
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - the graph cell this wrapper represents</DL>
public void <B>setRelevantEdges</B>(int[] relevantEdges)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>relevantEdges</CODE> - the relevantEdges to set</DL>
</DD>
</DL>
<HR>
<ANAME="getConnectedEdges()"><!----></A><H3>
getConnectedEdges</H3>
<PRE>
public int[] <B>getConnectedEdges</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the connectedEdges</DL>
</DD>
</DL>
<HR>
<ANAME="setConnectedEdges(int[])"><!----></A><H3>
setConnectedEdges</H3>
<PRE>
public void <B>setConnectedEdges</B>(int[] connectedEdges)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>connectedEdges</CODE> - the connectedEdges to set</DL>
</DD>
</DL>
<HR>
<ANAME="getX()"><!----></A><H3>
getX</H3>
<PRE>
public double <B>getX</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the x</DL>
</DD>
</DL>
<HR>
<ANAME="setX(double)"><!----></A><H3>
setX</H3>
<PRE>
public void <B>setX</B>(double x)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x to set</DL>
</DD>
</DL>
<HR>
<ANAME="getY()"><!----></A><H3>
getY</H3>
<PRE>
public double <B>getY</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the y</DL>
</DD>
</DL>
<HR>
<ANAME="setY(double)"><!----></A><H3>
setY</H3>
<PRE>
public void <B>setY</B>(double y)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>y</CODE> - the y to set</DL>
</DD>
</DL>
<HR>
<ANAME="getRadiusSquared()"><!----></A><H3>
getRadiusSquared</H3>
<PRE>
public double <B>getRadiusSquared</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the radiusSquared</DL>
</DD>
</DL>
<HR>
<ANAME="setRadiusSquared(double)"><!----></A><H3>
setRadiusSquared</H3>
<PRE>
public void <B>setRadiusSquared</B>(double radiusSquared)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>radiusSquared</CODE> - the radiusSquared to set</DL>
</DD>
</DL>
<HR>
<ANAME="getHeightSquared()"><!----></A><H3>
getHeightSquared</H3>
<PRE>
public double <B>getHeightSquared</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the heightSquared</DL>
</DD>
</DL>
<HR>
<ANAME="setHeightSquared(double)"><!----></A><H3>
setHeightSquared</H3>
<PRE>
public void <B>setHeightSquared</B>(double heightSquared)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>heightSquared</CODE> - the heightSquared to set</DL>
</DD>
</DL>
<HR>
<ANAME="getSource()"><!----></A><H3>
getSource</H3>
<PRE>
public int <B>getSource</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the source</DL>
</DD>
</DL>
<HR>
<ANAME="setSource(int)"><!----></A><H3>
setSource</H3>
<PRE>
public void <B>setSource</B>(int source)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the source to set</DL>
</DD>
</DL>
<HR>
<ANAME="getTarget()"><!----></A><H3>
getTarget</H3>
<PRE>
public int <B>getTarget</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the target</DL>
</DD>
</DL>
<HR>
<ANAME="setTarget(int)"><!----></A><H3>
setTarget</H3>
<PRE>
public void <B>setTarget</B>(int target)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the target to set</DL>
</DD>
</DL>
<HR>
<ANAME="getCell()"><!----></A><H3>
getCell</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>getCell</B>()</PRE>