<AHREF="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.hierarchical.mxHierarchicalLayout</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>mxHierarchicalLayout</B><DT>extends <AHREF="../../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</A></DL>
</PRE>
<P>
The top level compound layout of the hierarchical layout. The individual
<CODE>protected <AHREF="../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel</A></CODE></FONT></TD>
<CODE>protected <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>
<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/hierarchical/mxHierarchicalLayout.html#mxHierarchicalLayout(com.mxgraph.view.mxGraph)">mxHierarchicalLayout</A></B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</CODE>
<BR>
Constructs a hierarchical layout</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html#mxHierarchicalLayout(com.mxgraph.view.mxGraph, int)">mxHierarchicalLayout</A></B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph,
int orientation)</CODE>
<BR>
Constructs a hierarchical layout</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html#crossingStage(java.lang.Object)">crossingStage</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 crossing stage using mxMedianHybridCrossingReduction.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html#cycleStage(java.lang.Object)">cycleStage</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 cycle stage.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.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/hierarchical/mxHierarchicalLayout.html#execute(java.lang.Object, java.util.List)">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/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>> roots)</CODE>
<BR>
Executes the layout for the children of the specified parent.</TD>
<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/hierarchical/mxHierarchicalLayout.html#findTreeRoots(java.lang.Object)">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)</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/layout/hierarchical/mxHierarchicalLayout.html#getEdges(java.lang.Object)">getEdges</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> <AHREF="../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel</A></CODE></FONT></TD>
<AHREF="http://download.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 placement stage using mxCoordinateAssignment.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html#run(java.lang.Object)">run</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>
The API method used to exercise the layout upon the graph description
and produce a separate description of the vertex position and edge
<TD><CODE><B><AHREF="../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html#setLoggerLevel(java.util.logging.Level)">setLoggerLevel</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/logging/Level.html?is-external=true"title="class or interface in java.util.logging">Level</A> level)</CODE>
<BR>
Sets the logging level of this class</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>
<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#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/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>roots</B></PRE>
<DL>
<DD>The root nodes of the layout
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="resizeParent"><!----></A><H3>
resizeParent</H3>
<PRE>
protected boolean <B>resizeParent</B></PRE>
<DL>
<DD>Specifies if the parent should be resized after the layout so that it
contains all the child cells. Default is false. @See parentBorder.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="moveParent"><!----></A><H3>
moveParent</H3>
<PRE>
protected boolean <B>moveParent</B></PRE>
<DL>
<DD>Specifies if the parnent should be moved if resizeParent is enabled.
Default is false. @See resizeParent.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="parentBorder"><!----></A><H3>
parentBorder</H3>
<PRE>
protected int <B>parentBorder</B></PRE>
<DL>
<DD>The border to be added around the children if the parent is to be
resized using resizeParent. Default is 0. @See resizeParent.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="intraCellSpacing"><!----></A><H3>
intraCellSpacing</H3>
<PRE>
protected double <B>intraCellSpacing</B></PRE>
<DL>
<DD>The spacing buffer added between cells on the same layer
protected <AHREF="../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel</A><B>model</B></PRE>
public <B>mxHierarchicalLayout</B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph,
int orientation)</PRE>
<DL>
<DD>Constructs a hierarchical layout
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>graph</CODE> - the graph to lay out<DD><CODE>orientation</CODE> - <code>SwingConstants.NORTH, SwingConstants.EAST, SwingConstants.SOUTH</code> or <code> SwingConstants.WEST</code></DL>
public <AHREF="../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel</A><B>getModel</B>()</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>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 laid 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/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>> roots)</PRE>
<DL>
<DD>Executes the layout for the children of the specified parent.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Parent cell that contains the children to be laid out.<DD><CODE>roots</CODE> - the starting roots of the layout</DL>
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)</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>getEdges</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>
public void <B>run</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>The API method used to exercise the layout upon the graph description
and produce a separate description of the vertex position and edge
public void <B>cycleStage</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>Executes the cycle stage. This implementation uses the
public void <B>crossingStage</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>Executes the crossing stage using mxMedianHybridCrossingReduction.
public double <B>placementStage</B>(double initialX,
<AHREF="http://download.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>Executes the placement stage using mxCoordinateAssignment.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isResizeParent()"><!----></A><H3>
isResizeParent</H3>
<PRE>
public boolean <B>isResizeParent</B>()</PRE>
<DL>
<DD>Returns the resizeParent flag.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setResizeParent(boolean)"><!----></A><H3>
setResizeParent</H3>
<PRE>
public void <B>setResizeParent</B>(boolean value)</PRE>
<DL>
<DD>Sets the resizeParent flag.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isMoveParent()"><!----></A><H3>
isMoveParent</H3>
<PRE>
public boolean <B>isMoveParent</B>()</PRE>
<DL>
<DD>Returns the moveParent flag.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setMoveParent(boolean)"><!----></A><H3>
setMoveParent</H3>
<PRE>
public void <B>setMoveParent</B>(boolean value)</PRE>
<DL>
<DD>Sets the moveParent flag.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getParentBorder()"><!----></A><H3>
getParentBorder</H3>
<PRE>
public int <B>getParentBorder</B>()</PRE>
<DL>
<DD>Returns parentBorder.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setParentBorder(int)"><!----></A><H3>
setParentBorder</H3>
<PRE>
public void <B>setParentBorder</B>(int value)</PRE>
<DL>
<DD>Sets parentBorder.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getIntraCellSpacing()"><!----></A><H3>
getIntraCellSpacing</H3>
<PRE>
public double <B>getIntraCellSpacing</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the intraCellSpacing.</DL>
public void <B>setLoggerLevel</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/logging/Level.html?is-external=true"title="class or interface in java.util.logging">Level</A> level)</PRE>
<DL>
<DD>Sets the logging level of this class
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>level</CODE> - the logging level to set</DL>
</DD>
</DL>
<HR>
<ANAME="toString()"><!----></A><H3>
toString</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>toString</B>()</PRE>
<DL>
<DD>Returns <code>Hierarchical</code>, the name of this algorithm.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <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></DL>