<AHREF="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/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">com.mxgraph.layout.mxGraphLayout</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.layout.mxCompactTreeLayout</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="../../../com/mxgraph/layout/mxIGraphLayout.html"title="interface in com.mxgraph.layout">mxIGraphLayout</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxCompactTreeLayout</B><DT>extends <AHREF="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</A></DL>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A></B></CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.WeightedCellSorter.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.WeightedCellSorter</A></B></CODE>
<BR>
A utility class used to track cells whilst sorting occurs on the weighted
sum of their connected edges.</TD>
</TR>
</TABLE>
<!-- =========== FIELD SUMMARY =========== -->
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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.layout.<AHREF="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</A></B></TH>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#mxCompactTreeLayout(com.mxgraph.view.mxGraph)">mxCompactTreeLayout</A></B>(<AHREF="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#mxCompactTreeLayout(com.mxgraph.view.mxGraph, boolean)">mxCompactTreeLayout</A></B>(<AHREF="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph,
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#mxCompactTreeLayout(com.mxgraph.view.mxGraph, boolean, boolean)">mxCompactTreeLayout</A></B>(<AHREF="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph,
<CODE>protected <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#apply(com.mxgraph.layout.mxCompactTreeLayout.TreeNode, com.mxgraph.util.mxRectangle)">apply</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> bounds)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#attachParent(com.mxgraph.layout.mxCompactTreeLayout.TreeNode, double)">attachParent</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
<CODE>protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#bridge(com.mxgraph.layout.mxCompactTreeLayout.Polyline, double, double, com.mxgraph.layout.mxCompactTreeLayout.Polyline, double, double)">bridge</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A> line1,
double x1,
double y1,
<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A> line2,
<CODE>protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A></CODE></FONT></TD>
<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A> next)</CODE>
<CODE>protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#createNode(java.lang.Object)">createNode</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>
<CODE>protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#dfs(java.lang.Object, java.lang.Object, java.util.Set)">dfs</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,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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>> visited)</CODE>
<BR>
Does a depth first search starting at the specified cell.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#execute(java.lang.Object)">execute</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)</CODE>
<BR>
Executes the layout for the children of the specified parent.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#execute(java.lang.Object, java.lang.Object)">execute</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> root)</CODE>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</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/layout/mxCompactTreeLayout.html#findTreeRoots(java.lang.Object, boolean)">findTreeRoots</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,
boolean invert)</CODE>
<BR>
Returns all visible children in the given parent which do not have
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isVertexIgnored(java.lang.Object)">isVertexIgnored</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> vertex)</CODE>
<BR>
Returns a boolean indicating if the given <mxCell> should be ignored as a
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#join(com.mxgraph.layout.mxCompactTreeLayout.TreeNode)">join</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#layout(com.mxgraph.layout.mxCompactTreeLayout.TreeNode)">layout</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</CODE>
<BR>
Starts the actual compact tree layout algorithm
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#layoutLeaf(com.mxgraph.layout.mxCompactTreeLayout.TreeNode)">layoutLeaf</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#localEdgeProcessing(com.mxgraph.layout.mxCompactTreeLayout.TreeNode)">localEdgeProcessing</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</CODE>
<BR>
Moves the specified node and all of its children by the given amount.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#merge(com.mxgraph.layout.mxCompactTreeLayout.Polygon, com.mxgraph.layout.mxCompactTreeLayout.Polygon)">merge</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</A> p1,
<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</A> p2)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#moveNode(com.mxgraph.layout.mxCompactTreeLayout.TreeNode, double, double)">moveNode</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
double dx,
double dy)</CODE>
<BR>
Moves the specified node and all of its children by the given amount.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#processNodeOutgoing(com.mxgraph.layout.mxCompactTreeLayout.TreeNode)">processNodeOutgoing</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</CODE>
<BR>
Separates the x position of edges as they connect to vertices</TD>
<CODE>protected <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.html#verticalLayout(com.mxgraph.layout.mxCompactTreeLayout.TreeNode, java.lang.Object, double, double, com.mxgraph.util.mxRectangle)">verticalLayout</A></B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
<AHREF="http://download.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,
double x0,
double y0,
<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> bounds)</CODE>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.layout.<AHREF="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</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>
<DD>Specifies the orientation of the layout. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="invert"><!----></A><H3>
invert</H3>
<PRE>
protected boolean <B>invert</B></PRE>
<DL>
<DD>Specifies if edge directions should be inverted. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="resizeParent"><!----></A><H3>
resizeParent</H3>
<PRE>
protected boolean <B>resizeParent</B></PRE>
<DL>
<DD>If the parents should be resized to match the width/height of the
children. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="groupPadding"><!----></A><H3>
groupPadding</H3>
<PRE>
protected int <B>groupPadding</B></PRE>
<DL>
<DD>Padding added to resized parents
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="parentsChanged"><!----></A><H3>
parentsChanged</H3>
<PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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>parentsChanged</B></PRE>
<DL>
<DD>A set of the parents that need updating based on children
process as part of the layout
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="moveTree"><!----></A><H3>
moveTree</H3>
<PRE>
protected boolean <B>moveTree</B></PRE>
<DL>
<DD>Specifies if the tree should be moved to the top, left corner
if it is inside a top-level layer. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="resetEdges"><!----></A><H3>
resetEdges</H3>
<PRE>
protected boolean <B>resetEdges</B></PRE>
<DL>
<DD>Specifies if all edge points of traversed edges should be removed.
Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="levelDistance"><!----></A><H3>
levelDistance</H3>
<PRE>
protected int <B>levelDistance</B></PRE>
<DL>
<DD>Holds the levelDistance. Default is 10.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="nodeDistance"><!----></A><H3>
nodeDistance</H3>
<PRE>
protected int <B>nodeDistance</B></PRE>
<DL>
<DD>Holds the nodeDistance. Default is 20.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="prefHozEdgeSep"><!----></A><H3>
prefHozEdgeSep</H3>
<PRE>
protected int <B>prefHozEdgeSep</B></PRE>
<DL>
<DD>The preferred horizontal distance between edges exiting a vertex
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="prefVertEdgeOff"><!----></A><H3>
prefVertEdgeOff</H3>
<PRE>
protected int <B>prefVertEdgeOff</B></PRE>
<DL>
<DD>The preferred vertical offset between edges exiting a vertex
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="minEdgeJetty"><!----></A><H3>
minEdgeJetty</H3>
<PRE>
protected int <B>minEdgeJetty</B></PRE>
<DL>
<DD>The minimum distance for an edge jetty from a vertex
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="channelBuffer"><!----></A><H3>
channelBuffer</H3>
<PRE>
protected int <B>channelBuffer</B></PRE>
<DL>
<DD>The size of the vertical buffer in the center of inter-rank channels
where edge control points should not be placed
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="edgeRouting"><!----></A><H3>
edgeRouting</H3>
<PRE>
protected boolean <B>edgeRouting</B></PRE>
<DL>
<DD>Whether or not to apply the internal tree edge routing
public boolean <B>isVertexIgnored</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> vertex)</PRE>
<DL>
<DD>Returns a boolean indicating if the given <mxCell> should be ignored as a
vertex. This returns true if the cell has no connections.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../com/mxgraph/layout/mxGraphLayout.html#isVertexIgnored(java.lang.Object)">isVertexIgnored</A></CODE> in class <CODE><AHREF="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>vertex</CODE> - Object that represents the vertex to be tested.
<DT><B>Returns:</B><DD>Returns true if the vertex should be ignored.</DL>
</DD>
</DL>
<HR>
<ANAME="isHorizontal()"><!----></A><H3>
isHorizontal</H3>
<PRE>
public boolean <B>isHorizontal</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the horizontal</DL>
</DD>
</DL>
<HR>
<ANAME="setHorizontal(boolean)"><!----></A><H3>
setHorizontal</H3>
<PRE>
public void <B>setHorizontal</B>(boolean horizontal)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>horizontal</CODE> - the horizontal to set</DL>
</DD>
</DL>
<HR>
<ANAME="isInvert()"><!----></A><H3>
isInvert</H3>
<PRE>
public boolean <B>isInvert</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the invert</DL>
</DD>
</DL>
<HR>
<ANAME="setInvert(boolean)"><!----></A><H3>
setInvert</H3>
<PRE>
public void <B>setInvert</B>(boolean invert)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>invert</CODE> - the invert to set</DL>
</DD>
</DL>
<HR>
<ANAME="isResizeParent()"><!----></A><H3>
isResizeParent</H3>
<PRE>
public boolean <B>isResizeParent</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the resizeParent</DL>
</DD>
</DL>
<HR>
<ANAME="setResizeParent(boolean)"><!----></A><H3>
setResizeParent</H3>
<PRE>
public void <B>setResizeParent</B>(boolean resizeParent)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resizeParent</CODE> - the resizeParent to set</DL>
</DD>
</DL>
<HR>
<ANAME="isMoveTree()"><!----></A><H3>
isMoveTree</H3>
<PRE>
public boolean <B>isMoveTree</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the moveTree</DL>
</DD>
</DL>
<HR>
<ANAME="setMoveTree(boolean)"><!----></A><H3>
setMoveTree</H3>
<PRE>
public void <B>setMoveTree</B>(boolean moveTree)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>moveTree</CODE> - the moveTree to set</DL>
</DD>
</DL>
<HR>
<ANAME="isResetEdges()"><!----></A><H3>
isResetEdges</H3>
<PRE>
public boolean <B>isResetEdges</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the resetEdges</DL>
</DD>
</DL>
<HR>
<ANAME="setResetEdges(boolean)"><!----></A><H3>
setResetEdges</H3>
<PRE>
public void <B>setResetEdges</B>(boolean resetEdges)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resetEdges</CODE> - the resetEdges to set</DL>
</DD>
</DL>
<HR>
<ANAME="isEdgeRouting()"><!----></A><H3>
isEdgeRouting</H3>
<PRE>
public boolean <B>isEdgeRouting</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setEdgeRouting(boolean)"><!----></A><H3>
setEdgeRouting</H3>
<PRE>
public void <B>setEdgeRouting</B>(boolean edgeRouting)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getLevelDistance()"><!----></A><H3>
getLevelDistance</H3>
<PRE>
public int <B>getLevelDistance</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the levelDistance</DL>
</DD>
</DL>
<HR>
<ANAME="setLevelDistance(int)"><!----></A><H3>
setLevelDistance</H3>
<PRE>
public void <B>setLevelDistance</B>(int levelDistance)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>levelDistance</CODE> - the levelDistance to set</DL>
</DD>
</DL>
<HR>
<ANAME="getNodeDistance()"><!----></A><H3>
getNodeDistance</H3>
<PRE>
public int <B>getNodeDistance</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the nodeDistance</DL>
</DD>
</DL>
<HR>
<ANAME="setNodeDistance(int)"><!----></A><H3>
setNodeDistance</H3>
<PRE>
public void <B>setNodeDistance</B>(int nodeDistance)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nodeDistance</CODE> - the nodeDistance to set</DL>
</DD>
</DL>
<HR>
<ANAME="getGroupPadding()"><!----></A><H3>
getGroupPadding</H3>
<PRE>
public double <B>getGroupPadding</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setGroupPadding(int)"><!----></A><H3>
setGroupPadding</H3>
<PRE>
public void <B>setGroupPadding</B>(int groupPadding)</PRE>
public void <B>execute</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)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../com/mxgraph/layout/mxIGraphLayout.html#execute(java.lang.Object)">mxIGraphLayout</A></CODE></B></DD>
<DD>Executes the layout for the children of the specified parent.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../com/mxgraph/layout/mxIGraphLayout.html#execute(java.lang.Object)">execute</A></CODE> in interface <CODE><AHREF="../../../com/mxgraph/layout/mxIGraphLayout.html"title="interface in com.mxgraph.layout">mxIGraphLayout</A></CODE><DT><B>Overrides:</B><DD><CODE><AHREF="../../../com/mxgraph/layout/mxGraphLayout.html#execute(java.lang.Object)">execute</A></CODE> in class <CODE><AHREF="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Parent cell that contains the children to be layed out.</DL>
public void <B>execute</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> root)</PRE>
<DL>
<DD>Implements <mxGraphLayout.execute>.
If the parent has any connected edges, then it is used as the root of
the tree. Else, <mxGraph.findTreeRoots> will be used to find a suitable
root node within the set of children of the given parent.
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</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>findTreeRoots</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,
boolean invert)</PRE>
<DL>
<DD>Returns all visible children in the given parent which do not have
incoming edges. If the result is empty then the children with the
maximum difference between incoming and outgoing edges are returned.
This takes into account edges that are being promoted to the given
root due to invisible children or collapsed cells.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be checked.<DD><CODE>invert</CODE> - Specifies if outgoing or incoming edges should be counted
for a tree root. If false then outgoing edges will be counted.
<DT><B>Returns:</B><DD>List of tree roots in parent.</DL>
protected void <B>moveNode</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
double dx,
double dy)</PRE>
<DL>
<DD>Moves the specified node and all of its children by the given amount.
protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A><B>dfs</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,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</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>> visited)</PRE>
<DL>
<DD>Does a depth first search starting at the specified cell.
Makes sure the specified parent is never left by the
protected void <B>layout</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</PRE>
<DL>
<DD>Starts the actual compact tree layout algorithm
protected <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>horizontalLayout</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
double x0,
double y0,
<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> bounds)</PRE>
protected <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>verticalLayout</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
<AHREF="http://download.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,
double x0,
double y0,
<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> bounds)</PRE>
protected void <B>attachParent</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
protected void <B>layoutLeaf</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</PRE>
protected double <B>join</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</PRE>
protected double <B>merge</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</A> p1,
<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</A> p2)</PRE>
protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A><B>bridge</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A> line1,
double x1,
double y1,
<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A> line2,
protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A><B>createNode</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>
protected <AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>apply</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node,
<AHREF="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> bounds)</PRE>
protected <AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A><B>createLine</B>(double dx,
double dy,
<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</A> next)</PRE>
protected void <B>localEdgeProcessing</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</PRE>
<DL>
<DD>Moves the specified node and all of its children by the given amount.
protected void <B>processNodeOutgoing</B>(<AHREF="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html"title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</A> node)</PRE>
<DL>
<DD>Separates the x position of edges as they connect to vertices
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the root node of the tree</DL>