<li><ahref="../../../com/mxgraph/view/mxGraphSelectionModel.mxSelectionChange.html"title="class in com.mxgraph.view"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/view/mxGraphView.mxCurrentRootChange.html"title="class in com.mxgraph.view"><spanclass="strong">Next Class</span></a></li>
<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/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.view.mxGraphView</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxGraphView</span>
extends <ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></pre>
<divclass="block">Implements a view for the graph. This class is in charge of computing the
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.mxCurrentRootChange.html"title="class in com.mxgraph.view">mxGraphView.mxCurrentRootChange</a></strong></code>
<divclass="block">Action to change the current root in a view.</div>
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><ahref="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<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>
<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="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>></code></td>
<h3>Fields inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#mxGraphView(com.mxgraph.view.mxGraph)">mxGraphView</a></strong>(<ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph)</code>
<divclass="block">Constructs a new view for the given graph.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#clear(java.lang.Object, boolean, boolean)">clear</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,
boolean force,
boolean recurse)</code>
<divclass="block">Removes the state of the given cell and all descendants if the given
cell is not the current root.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#createState(java.lang.Object)">createState</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)</code>
<divclass="block">Creates and returns a cell state for the given cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getBoundingBox(com.mxgraph.view.mxCellState)">getBoundingBox</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Shortcut to validateCell with visible set to true.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getBoundingBox(com.mxgraph.view.mxCellState, boolean)">getBoundingBox</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean recurse)</code>
<divclass="block">Returns the bounding box of the shape and the label for the given
cell state and its children if recurse is true.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getBoundingBox(java.lang.Object[])">getBoundingBox</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>[] cells)</code>
<divclass="block">Returns the bounding box for an array of cells or null, if no cells are
specified.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getBounds(java.lang.Object[])">getBounds</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>[] cells)</code>
<divclass="block">Returns the bounding box for an array of cells or null, if no cells are
specified.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getBounds(java.lang.Object[], boolean)">getBounds</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>[] cells,
boolean boundingBox)</code>
<divclass="block">Returns the bounding box for an array of cells or null, if no cells are
specified.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getCellStates(java.lang.Object[])">getCellStates</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>[] cells)</code>
<divclass="block">Returns the states for the given array of cells.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html"title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getEdgeStyle(com.mxgraph.view.mxCellState, java.util.List, java.lang.Object, java.lang.Object)">getEdgeStyle</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<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="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> points,
<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> source,
<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> target)</code>
<divclass="block">Returns the edge style function to be used to compute the absolute
points for the given state, control points and terminals.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a></code></td>
<divclass="block">Returns the cached diagram bounds.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getNextPoint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">getNextPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> opposite,
boolean source)</code>
<divclass="block">Returns the nearest point in the list of absolute points or the center
of the opposite terminal.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getPerimeterBounds(com.mxgraph.view.mxCellState, double)">getPerimeterBounds</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
double border)</code>
<divclass="block">Returns the perimeter bounds for the given terminal, edge pair.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxPerimeter.mxPerimeterFunction.html"title="interface in com.mxgraph.view">mxPerimeter.mxPerimeterFunction</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getPerimeterFunction(com.mxgraph.view.mxCellState)">getPerimeterFunction</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns the perimeter function for the given state.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getPerimeterPoint(com.mxgraph.view.mxCellState, com.mxgraph.util.mxPoint, boolean)">getPerimeterPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> next,
boolean orthogonal)</code>
<divclass="block">Returns a point that defines the location of the intersection point between
the perimeter and the line between the center of the shape and the given point.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getPerimeterPoint(com.mxgraph.view.mxCellState, com.mxgraph.util.mxPoint, boolean, double)">getPerimeterPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> next,
boolean orthogonal,
double border)</code>
<divclass="block">Returns a point that defines the location of the intersection point between
the perimeter and the line between the center of the shape and the given point.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getPoint(com.mxgraph.view.mxCellState)">getPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns the absolute center point along the given edge.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getPoint(com.mxgraph.view.mxCellState, com.mxgraph.model.mxGeometry)">getPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</code>
<divclass="block">Returns the absolute point on the edge for the given relative
geometry as a point.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getRelativePoint(com.mxgraph.view.mxCellState, double, double)">getRelativePoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edgeState,
double x,
double y)</code>
<divclass="block">Gets the relative point that describes the given, absolute label
position for the given edge state.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>double</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getRoutingCenterX(com.mxgraph.view.mxCellState)">getRoutingCenterX</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns the x-coordinate of the center point for automatic routing.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>double</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getRoutingCenterY(com.mxgraph.view.mxCellState)">getRoutingCenterY</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns the y-coordinate of the center point for automatic routing.</div>
<divclass="block">Returns the current scale.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getState(java.lang.Object)">getState</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)</code>
<divclass="block">Returns the state for the given cell or null if no state is defined for
the cell.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getState(java.lang.Object, boolean)">getState</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,
boolean create)</code>
<divclass="block">Returns the cell state for the given cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><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="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>></code></td>
<divclass="block">Returns the dictionary that maps from cells to states.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getTerminalPort(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">getTerminalPort</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
boolean source)</code>
<divclass="block">Returns a cell state that represents the source or target terminal or
port for the given edge.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<divclass="block">Returns the current translation.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getVisibleTerminal(java.lang.Object, boolean)">getVisibleTerminal</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> edge,
boolean source)</code>
<divclass="block">Returns the nearest ancestor terminal that is visible.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>double</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#getWordWrapWidth(com.mxgraph.view.mxCellState)">getWordWrapWidth</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns the width for wrapping the label of the given state at
<divclass="block">Invalidates all cell states.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#invalidate(java.lang.Object)">invalidate</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)</code>
<divclass="block">Invalidates the state of the given cell, all its descendants and
<divclass="block">Removes all existing cell states and invokes validate.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#removeState(java.lang.Object)">removeState</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)</code>
<divclass="block">Removes and returns the mxCellState for the given cell.</div>
<divclass="block">Sets the scale and translation.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#setCurrentRoot(java.lang.Object)">setCurrentRoot</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> root)</code>
<divclass="block">Sets and returns the current root and fires an undo event.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#setGraphBounds(com.mxgraph.util.mxRectangle)">setGraphBounds</a></strong>(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> value)</code>
<divclass="block">Sets the current scale and revalidates the view.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#setStates(java.util.Hashtable)">setStates</a></strong>(<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="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> states)</code>
<divclass="block">Returns the dictionary that maps from cells to states.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#setTranslate(com.mxgraph.util.mxPoint)">setTranslate</a></strong>(<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> value)</code>
<divclass="block">Sets the current translation and invalidates the view.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#transformControlPoint(com.mxgraph.view.mxCellState, com.mxgraph.util.mxPoint)">transformControlPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> pt)</code>
<divclass="block">Transforms the given control point to an absolute point.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateBoundingBox(com.mxgraph.view.mxCellState)">updateBoundingBox</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Updates the bounding box in the given cell state.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateCellState(com.mxgraph.view.mxCellState)">updateCellState</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Updates the given cell state.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateEdgeBounds(com.mxgraph.view.mxCellState)">updateEdgeBounds</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Updates the given state using the bounding box of the absolute points.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateEdgeState(com.mxgraph.view.mxCellState, com.mxgraph.model.mxGeometry)">updateEdgeState</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geo)</code>
<divclass="block">Validates the given cell state.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateFixedTerminalPoint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean, com.mxgraph.view.mxConnectionConstraint)">updateFixedTerminalPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
boolean source,
<ahref="../../../com/mxgraph/view/mxConnectionConstraint.html"title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code>
<divclass="block">Sets the fixed source or target terminal point on the given edge.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateFixedTerminalPoints(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState)">updateFixedTerminalPoints</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> source,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> target)</code>
<divclass="block">Sets the initial absolute terminal points in the given state before the edge
style is computed.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateFloatingTerminalPoint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">updateFloatingTerminalPoint</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> start,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> end,
boolean source)</code>
<divclass="block">Updates the absolute terminal point in the given state for the given
start and end state, where start is the source if source is true.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateFloatingTerminalPoints(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState)">updateFloatingTerminalPoints</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> source,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> target)</code>
<divclass="block">Updates the terminal points in the given state after the edge style was
computed for the edge.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateLabel(com.mxgraph.view.mxCellState)">updateLabel</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Updates the label of the given state.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateLabelBounds(com.mxgraph.view.mxCellState)">updateLabelBounds</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Updates the label bounds in the given state.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updatePoints(com.mxgraph.view.mxCellState, java.util.List, com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState)">updatePoints</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<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="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> points,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> source,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> target)</code>
<divclass="block">Updates the absolute points in the given state using the specified array
of points as the relative points.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateVertexLabelOffset(com.mxgraph.view.mxCellState)">updateVertexLabelOffset</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Updates the absoluteOffset of the given vertex cell state.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#updateVertexState(com.mxgraph.view.mxCellState, com.mxgraph.model.mxGeometry)">updateVertexState</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geo)</code>
<divclass="block">Validates the given cell state.</div>
<divclass="block">First validates all bounds and then validates all points recursively on
all visible cells.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#validateCell(java.lang.Object)">validateCell</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)</code>
<divclass="block">Shortcut to validateCell with visible set to true.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#validateCell(java.lang.Object, boolean)">validateCell</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,
boolean visible)</code>
<divclass="block">Recursively creates the cell state for the given cell if visible is true and
the given cell is visible.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#validateCellState(java.lang.Object)">validateCellState</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)</code>
<divclass="block">Shortcut to validateCellState with recurse set to true.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#validateCellState(java.lang.Object, boolean)">validateCellState</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,
boolean recurse)</code>
<divclass="block">Validates the cell state for the given cell.</div>
<h3>Methods inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</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>
<pre>protected <ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph</pre>
<divclass="block">Reference to the enclosing graph.</div>
</li>
</ul>
<aname="currentRoot">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentRoot</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> currentRoot</pre>
<divclass="block">mxCell that acts as the root of the displayed cell hierarchy.</div>
</li>
</ul>
<aname="graphBounds">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>graphBounds</h4>
<pre>protected <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> graphBounds</pre>
<divclass="block">Caches the current bounds of the graph.</div>
</li>
</ul>
<aname="scale">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>scale</h4>
<pre>protected double scale</pre>
<divclass="block">Specifies the scale. Default is 1 (100%).</div>
</li>
</ul>
<aname="translate">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>translate</h4>
<pre>protected <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> translate</pre>
<divclass="block">Point that specifies the current translation. Default is a new
empty point.</div>
</li>
</ul>
<aname="states">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>states</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="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> states</pre>
<divclass="block">Maps from cells to cell states.</div>
<pre>public <ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> getGraph()</pre>
<divclass="block">Returns the enclosing graph.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the enclosing graph.</dd></dl>
</li>
</ul>
<aname="getStates()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getStates</h4>
<pre>public <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="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> getStates()</pre>
<divclass="block">Returns the dictionary that maps from cells to states.</div>
</li>
</ul>
<aname="setStates(java.util.Hashtable)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setStates</h4>
<pre>public void setStates(<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="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> states)</pre>
<divclass="block">Returns the dictionary that maps from cells to states.</div>
</li>
</ul>
<aname="getGraphBounds()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getGraphBounds</h4>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getGraphBounds()</pre>
<divclass="block">Returns the cached diagram bounds.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the diagram bounds.</dd></dl>
<pre>public void setGraphBounds(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> value)</pre>
<divclass="block">Sets the graph bounds.</div>
</li>
</ul>
<aname="getCurrentRoot()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCurrentRoot</h4>
<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> getCurrentRoot()</pre>
<divclass="block">Returns the current root.</div>
</li>
</ul>
<aname="setCurrentRoot(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setCurrentRoot</h4>
<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> setCurrentRoot(<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>
<divclass="block">Sets and returns the current root and fires an undo event.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>root</code> - mxCell that specifies the root of the displayed cell hierarchy.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the object that represents the current root.</dd></dl>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>scale</code> - Decimal value that specifies the new scale (1 is 100%).</dd><dd><code>dx</code> - X-coordinate of the translation.</dd><dd><code>dy</code> - Y-coordinate of the translation.</dd></dl>
</li>
</ul>
<aname="getScale()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getScale</h4>
<pre>public double getScale()</pre>
<divclass="block">Returns the current scale.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the scale.</dd></dl>
revalidate. Revalidate is only called if isEventsEnabled.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - New translation to be used.</dd></dl>
</li>
</ul>
<aname="getBounds(java.lang.Object[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getBounds</h4>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBounds(<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>[] cells)</pre>
<divclass="block">Returns the bounding box for an array of cells or null, if no cells are
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the bounding box for the given cells.</dd></dl>
</li>
</ul>
<aname="getBoundingBox(java.lang.Object[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getBoundingBox</h4>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<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>[] cells)</pre>
<divclass="block">Returns the bounding box for an array of cells or null, if no cells are
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the bounding box for the given cells.</dd></dl>
</li>
</ul>
<aname="getBounds(java.lang.Object[], boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getBounds</h4>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBounds(<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>[] cells,
boolean boundingBox)</pre>
<divclass="block">Returns the bounding box for an array of cells or null, if no cells are
<pre>public void clear(<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,
boolean force,
boolean recurse)</pre>
<divclass="block">Removes the state of the given cell and all descendants if the given
<pre>public void invalidate(<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>
<divclass="block">Invalidates the state of the given cell, all its descendants and
connected edges.</div>
</li>
</ul>
<aname="validate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>validate</h4>
<pre>public void validate()</pre>
<divclass="block">First validates all bounds and then validates all points recursively on
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Shortcut to validateCell with visible set to true.</div>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
boolean recurse)</pre>
<divclass="block">Returns the bounding box of the shape and the label for the given
cell state and its children if recurse is true.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Cell state whose bounding box should be returned.</dd><dd><code>recurse</code> - Boolean indicating if the children should be included.</dd></dl>
</li>
</ul>
<aname="validateCell(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>validateCell</h4>
<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> validateCell(<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>
<divclass="block">Shortcut to validateCell with visible set to true.</div>
</li>
</ul>
<aname="validateCell(java.lang.Object, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>validateCell</h4>
<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> validateCell(<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,
boolean visible)</pre>
<divclass="block">Recursively creates the cell state for the given cell if visible is true and
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose cell state should be created.</dd><dd><code>visible</code> - Boolean indicating if the cell should be visible.</dd></dl>
</li>
</ul>
<aname="validateCellState(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>validateCellState</h4>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> validateCellState(<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>
<divclass="block">Shortcut to validateCellState with recurse set to true.</div>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> validateCellState(<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,
boolean recurse)</pre>
<divclass="block">Validates the cell state for the given cell.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose cell state should be validated.</dd><dd><code>recurse</code> - Boolean indicating if the children of the cell should be
<pre>public void updateCellState(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Updates the given cell state.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Cell state to be updated.</dd></dl>
<pre>public void updateVertexState(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geo)</pre>
<divclass="block">Validates the given cell state.</div>
<pre>public void updateEdgeState(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geo)</pre>
<divclass="block">Validates the given cell state.</div>
<pre>public void updateVertexLabelOffset(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Updates the absoluteOffset of the given vertex cell state. This takes
into account the label position styles.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Cell state whose absolute offset should be updated.</dd></dl>
<pre>public void updateLabel(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Updates the label of the given state.</div>
<pre>public double getWordWrapWidth(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns the width for wrapping the label of the given state at
<pre>public void updateLabelBounds(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Updates the label bounds in the given state.</div>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> updateBoundingBox(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Updates the bounding box in the given cell state.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Cell state whose bounding box should be
<pre>public void updateFixedTerminalPoints(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> source,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> target)</pre>
<divclass="block">Sets the initial absolute terminal points in the given state before the edge
style is computed.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell state whose initial terminal points should be updated.</dd><dd><code>source</code> - Cell state which represents the source terminal.</dd><dd><code>target</code> - Cell state which represents the target terminal.</dd></dl>
<pre>public void updateFixedTerminalPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
boolean source,
<ahref="../../../com/mxgraph/view/mxConnectionConstraint.html"title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
<divclass="block">Sets the fixed source or target terminal point on the given edge.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell state whose initial terminal points should be
<pre>public void updatePoints(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<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="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> points,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> source,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> target)</pre>
<divclass="block">Updates the absolute points in the given state using the specified array
of points as the relative points.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell state whose absolute points should be updated.</dd><dd><code>points</code> - Array of points that constitute the relative points.</dd><dd><code>source</code> - Cell state that represents the source terminal.</dd><dd><code>target</code> - Cell state that represents the target terminal.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> transformControlPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> pt)</pre>
<divclass="block">Transforms the given control point to an absolute point.</div>
<pre>public <ahref="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html"title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> getEdgeStyle(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<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="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a>> points,
<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> source,
<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> target)</pre>
<divclass="block">Returns the edge style function to be used to compute the absolute
points for the given state, control points and terminals.</div>
<pre>public void updateFloatingTerminalPoints(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> source,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> target)</pre>
<divclass="block">Updates the terminal points in the given state after the edge style was
computed for the edge.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Cell state whose terminal points should be updated.</dd><dd><code>source</code> - Cell state that represents the source terminal.</dd><dd><code>target</code> - Cell state that represents the target terminal.</dd></dl>
<pre>public void updateFloatingTerminalPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> start,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> end,
boolean source)</pre>
<divclass="block">Updates the absolute terminal point in the given state for the given
start and end state, where start is the source if source is true.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell state whose terminal point should be updated.</dd><dd><code>start</code> - Cell state for the terminal on "this" side of the edge.</dd><dd><code>end</code> - Cell state for the terminal on the other side of the edge.</dd><dd><code>source</code> - Boolean indicating if start is the source terminal state.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getTerminalPort(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
boolean source)</pre>
<divclass="block">Returns a cell state that represents the source or target terminal or
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getPerimeterPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> next,
boolean orthogonal)</pre>
<divclass="block">Returns a point that defines the location of the intersection point between
the perimeter and the line between the center of the shape and the given point.</div>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getPerimeterPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
<ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> next,
boolean orthogonal,
double border)</pre>
<divclass="block">Returns a point that defines the location of the intersection point between
the perimeter and the line between the center of the shape and the given point.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>terminal</code> - Cell state for the source or target terminal.</dd><dd><code>next</code> - Point that lies outside of the given terminal.</dd><dd><code>orthogonal</code> - Boolean that specifies if the orthogonal projection onto
<pre>public double getRoutingCenterX(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns the x-coordinate of the center point for automatic routing.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the x-coordinate of the routing center point.</dd></dl>
<pre>public double getRoutingCenterY(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns the y-coordinate of the center point for automatic routing.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the y-coordinate of the routing center point.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getPerimeterBounds(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> terminal,
double border)</pre>
<divclass="block">Returns the perimeter bounds for the given terminal, edge pair.</div>
<pre>public <ahref="../../../com/mxgraph/view/mxPerimeter.mxPerimeterFunction.html"title="interface in com.mxgraph.view">mxPerimeter.mxPerimeterFunction</a> getPerimeterFunction(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns the perimeter function for the given state.</div>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getNextPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edge,
<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> opposite,
boolean source)</pre>
<divclass="block">Returns the nearest point in the list of absolute points or the center
of the opposite terminal.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell state that represents the edge.</dd><dd><code>opposite</code> - Cell state that represents the opposite terminal.</dd><dd><code>source</code> - Boolean indicating if the next point for the source or target
should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the nearest point of the opposite side.</dd></dl>
<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> getVisibleTerminal(<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> edge,
boolean source)</pre>
<divclass="block">Returns the nearest ancestor terminal that is visible. The edge appears
to be connected to this terminal on the display.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell whose visible terminal should be returned.</dd><dd><code>source</code> - Boolean that specifies if the source or target terminal
should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the visible source or target terminal.</dd></dl>
<pre>public void updateEdgeBounds(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Updates the given state using the bounding box of the absolute points.
Also updates terminal distance, length and segments.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Cell state whose bounds should be updated.</dd></dl>
</li>
</ul>
<aname="getPoint(com.mxgraph.view.mxCellState)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPoint</h4>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns the absolute center point along the given edge.</div>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getPoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</pre>
<divclass="block">Returns the absolute point on the edge for the given relative
geometry as a point. The edge is represented by the given cell state.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - Represents the state of the parent edge.</dd><dd><code>geometry</code> - Optional geometry that represents the relative location.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the mxpoint that represents the absolute location
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getRelativePoint(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> edgeState,
double x,
double y)</pre>
<divclass="block">Gets the relative point that describes the given, absolute label
position for the given edge state.</div>
</li>
</ul>
<aname="getCellStates(java.lang.Object[])">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCellStates</h4>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[] getCellStates(<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>[] cells)</pre>
<divclass="block">Returns the states for the given array of cells. The array contains all
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getState(<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>
<divclass="block">Returns the state for the given cell or null if no state is defined for
the cell.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the state for the given cell.</dd></dl>
</li>
</ul>
<aname="getState(java.lang.Object, boolean)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getState</h4>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getState(<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,
boolean create)</pre>
<divclass="block">Returns the cell state for the given cell. If create is true, then
the state is created if it does not yet exist.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell for which a new state should be returned.</dd><dd><code>create</code> - Boolean indicating if a new state should be created if it
does not yet exist.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the state for the given cell.</dd></dl>
</li>
</ul>
<aname="removeState(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>removeState</h4>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> removeState(<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>
<divclass="block">Removes and returns the mxCellState for the given cell.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - mxCell for which the mxCellState should be removed.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the mxCellState that has been removed.</dd></dl>
</li>
</ul>
<aname="createState(java.lang.Object)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>createState</h4>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> createState(<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>
<divclass="block">Creates and returns a cell state for the given cell.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell for which a new state should be created.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a new state for the given cell.</dd></dl>
<li><ahref="../../../com/mxgraph/view/mxGraphSelectionModel.mxSelectionChange.html"title="class in com.mxgraph.view"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/view/mxGraphView.mxCurrentRootChange.html"title="class in com.mxgraph.view"><spanclass="strong">Next Class</span></a></li>