<li><ahref="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></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">com.mxgraph.layout.mxGraphLayout</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.layout.mxFastOrganicLayout</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><ahref="../../../com/mxgraph/layout/mxIGraphLayout.html"title="interface in com.mxgraph.layout">mxIGraphLayout</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxFastOrganicLayout</span>
extends <ahref="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</a></pre>
<divclass="block">Cache of <forceConstant>^2 for performance.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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/Integer.html?is-external=true"title="class or interface in java.lang">Integer</a>></code></td>
<divclass="block">Specifies if the top left corner of the input cells should be the origin
of the layout result.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<h3>Fields inherited from class com.mxgraph.layout.<ahref="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</a></h3>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/layout/mxFastOrganicLayout.html#mxFastOrganicLayout(com.mxgraph.view.mxGraph)">mxFastOrganicLayout</a></strong>(<ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph)</code>
<divclass="block">Constructs a new fast organic layout for the specified graph.</div>
<divclass="block">Calculates the repulsive forces between all laid out nodes</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/layout/mxFastOrganicLayout.html#execute(java.lang.Object)">execute</a></strong>(<ahref="http://download.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>
<divclass="block">Executes the layout for the children of the specified parent.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/layout/mxFastOrganicLayout.html#isVertexIgnored(java.lang.Object)">isVertexIgnored</a></strong>(<ahref="http://download.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>
<divclass="block">Returns a boolean indicating if the given <mxCell> should be ignored as a
vertex.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/layout/mxFastOrganicLayout.html#moveCell(java.lang.Object, double, double)">moveCell</a></strong>(<ahref="http://download.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,
double x,
double y)</code>
<divclass="block">Notified when a cell is being moved in a parent that has automatic
<h3>Methods inherited from class com.mxgraph.layout.<ahref="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</a></h3>
<h3>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></h3>
<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></li>
<divclass="block">Cached version of <minDistanceLimit> squared.</div>
</li>
</ul>
<aname="maxDistanceLimit">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>maxDistanceLimit</h4>
<pre>protected double maxDistanceLimit</pre>
<divclass="block">The maximum distance between vertices, beyond which their
repulsion no longer has an effect</div>
</li>
</ul>
<aname="initialTemp">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>initialTemp</h4>
<pre>protected double initialTemp</pre>
<divclass="block">Start value of temperature. Default is 200.</div>
</li>
</ul>
<aname="temperature">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>temperature</h4>
<pre>protected double temperature</pre>
<divclass="block">Temperature to limit displacement at later stages of layout.</div>
</li>
</ul>
<aname="maxIterations">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>maxIterations</h4>
<pre>protected double maxIterations</pre>
<divclass="block">Total number of iterations to run the layout though.</div>
</li>
</ul>
<aname="iteration">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>iteration</h4>
<pre>protected double iteration</pre>
<divclass="block">Current iteration count.</div>
</li>
</ul>
<aname="vertexArray">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>vertexArray</h4>
<pre>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>[] vertexArray</pre>
<divclass="block">An array of all vertices to be laid out.</div>
</li>
</ul>
<aname="dispX">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>dispX</h4>
<pre>protected double[] dispX</pre>
<divclass="block">An array of locally stored X co-ordinate displacements for the vertices.</div>
</li>
</ul>
<aname="dispY">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>dispY</h4>
<pre>protected double[] dispY</pre>
<divclass="block">An array of locally stored Y co-ordinate displacements for the vertices.</div>
</li>
</ul>
<aname="cellLocation">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cellLocation</h4>
<pre>protected double[][] cellLocation</pre>
<divclass="block">An array of locally stored co-ordinate positions for the vertices.</div>
</li>
</ul>
<aname="radius">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>radius</h4>
<pre>protected double[] radius</pre>
<divclass="block">The approximate radius of each cell, nodes only.</div>
</li>
</ul>
<aname="radiusSquared">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>radiusSquared</h4>
<pre>protected double[] radiusSquared</pre>
<divclass="block">The approximate radius squared of each cell, nodes only.</div>
</li>
</ul>
<aname="isMoveable">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isMoveable</h4>
<pre>protected boolean[] isMoveable</pre>
<divclass="block">Array of booleans representing the movable states of the vertices.</div>
</li>
</ul>
<aname="neighbours">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>neighbours</h4>
<pre>protected int[][] neighbours</pre>
<divclass="block">Local copy of cell neighbours.</div>
</li>
</ul>
<aname="allowedToRun">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>allowedToRun</h4>
<pre>protected boolean allowedToRun</pre>
<divclass="block">Boolean flag that specifies if the layout is allowed to run. If this is
set to false, then the layout exits in the following iteration.</div>
</li>
</ul>
<aname="indices">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>indices</h4>
<pre>protected <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/Integer.html?is-external=true"title="class or interface in java.lang">Integer</a>> indices</pre>
<divclass="block">Maps from vertices to indices.</div>
<pre>public boolean isVertexIgnored(<ahref="http://download.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>
<divclass="block">Returns a boolean indicating if the given <mxCell> should be ignored as a
vertex. This returns true if the cell has no connections.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>vertex</code> - Object that represents the vertex to be tested.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the vertex should be ignored.</dd></dl>
<pre>public void moveCell(<ahref="http://download.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,
double x,
double y)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/layout/mxIGraphLayout.html#moveCell(java.lang.Object, double, double)">mxIGraphLayout</a></code></strong></div>
<divclass="block">Notified when a cell is being moved in a parent that has automatic
<dd><code><ahref="../../../com/mxgraph/layout/mxIGraphLayout.html#moveCell(java.lang.Object, double, double)">moveCell</a></code> in interface <code><ahref="../../../com/mxgraph/layout/mxIGraphLayout.html"title="interface in com.mxgraph.layout">mxIGraphLayout</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/layout/mxGraphLayout.html#moveCell(java.lang.Object, double, double)">moveCell</a></code> in class <code><ahref="../../../com/mxgraph/layout/mxGraphLayout.html"title="class in com.mxgraph.layout">mxGraphLayout</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell which is being moved.</dd><dd><code>x</code> - X-coordinate of the new cell location.</dd><dd><code>y</code> - Y-coordinate of the new cell location.</dd></dl>
</li>
</ul>
<aname="execute(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>execute</h4>
<pre>public void execute(<ahref="http://download.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>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/layout/mxIGraphLayout.html#execute(java.lang.Object)">mxIGraphLayout</a></code></strong></div>
<divclass="block">Executes the layout for the children of the specified parent.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Parent cell that contains the children to be layed out.</dd></dl>