<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>
<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>
<tdclass="colFirst"><code>protected java.util.Hashtable<java.lang.Object,<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>
<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,
<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,
<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,
<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,
<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>
<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,
<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>
<tdclass="colFirst"><code>java.util.Hashtable<java.lang.Object,<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 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">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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/view/mxGraphView.html#setStates(java.util.Hashtable)">setStates</a></strong>(java.util.Hashtable<java.lang.Object,<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>
<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="../../../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>
<h3>Methods inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<pre>protected java.util.Hashtable<java.lang.Object,<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> states</pre>
<pre>public java.util.Hashtable<java.lang.Object,<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> getStates()</pre>
<pre>public void setStates(java.util.Hashtable<java.lang.Object,<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>> states)</pre>
<pre>public void setGraphBounds(<ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> value)</pre>
<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>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBounds(java.lang.Object[] cells)</pre>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(java.lang.Object[] cells)</pre>
<pre>public <ahref="../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getBounds(java.lang.Object[] cells,
<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,
<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>
<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>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> validateCellState(java.lang.Object cell)</pre>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> validateCellState(java.lang.Object cell,
<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>
<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>
<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>
<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>
<pre>public void updatePoints(<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">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,
<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,
<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,
<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 the
perimeter should be returned. If this is false then the
intersection of the perimeter and the line between the next
and the center point is returned.</dd><dd><code>border</code> - Optional border between the perimeter and the shape.</dd></dl>
<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,
<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
<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
<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>
<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>
<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,
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[] getCellStates(java.lang.Object[] cells)</pre>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getState(java.lang.Object cell)</pre>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getState(java.lang.Object cell,
<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
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> removeState(java.lang.Object cell)</pre>
<pre>public <ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> createState(java.lang.Object cell)</pre>
<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>