maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGr...

1548 lines
91 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2013-04-04 11:51:15 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>mxGraph: com.mxgraph.mxGraphView Class Reference</title>
2012-05-21 20:32:26 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2013-04-04 11:51:15 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2012-05-21 20:32:26 +00:00
</head>
<body>
2013-04-04 11:51:15 +00:00
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
2012-05-21 20:32:26 +00:00
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
2012-05-21 20:32:26 +00:00
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>com</b> </li>
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> </li>
</ul>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxGraphView Class Reference</div> </div>
</div><!--header-->
2012-05-21 20:32:26 +00:00
<div class="contents">
2013-04-04 11:51:15 +00:00
<!-- doxytag: class="com::mxgraph::mxGraphView" -->
2012-05-21 20:32:26 +00:00
<p>Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds.
2013-04-04 11:51:15 +00:00
<a href="classcom_1_1mxgraph_1_1mxGraphView.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<p><a href="classcom_1_1mxgraph_1_1mxGraphView-members.html">List of all members.</a></p>
2013-04-04 11:51:15 +00:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a30c64679ef154d31e0a4e0bd75c076da">mxGraphView</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab97104804b37c8744eedefde7a4602db">graph</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new view for the given graph. <a href="#a30c64679ef154d31e0a4e0bd75c076da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7ead8c69343a1bc7b26612b7c2f910a8">GetBounds</a> (Object[] cells)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounding box for an array of cells or null, if no cells are specified. <a href="#a7ead8c69343a1bc7b26612b7c2f910a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7a6ddb3af7b401beeeefe7234f37d795">GetBoundingBox</a> (Object[] cells)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounding box for an array of cells or null, if no cells are specified. <a href="#a7a6ddb3af7b401beeeefe7234f37d795"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7340fdb7dfb84afa2f40e0584b463c2f">GetBounds</a> (Object[] cells, bool boundingBox)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the bounding box for an array of cells or null, if no cells are specified. <a href="#a7340fdb7dfb84afa2f40e0584b463c2f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a36f4d1bb248552f1e4e6ec8625364a2b">Revalidate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">First invalidates, then validates all cell states. <a href="#a36f4d1bb248552f1e4e6ec8625364a2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad6960a06a36fe20245cc25f8a97a6241">Invalidate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidates all cell states. <a href="#ad6960a06a36fe20245cc25f8a97a6241"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ae7b4e63e4603beb3a199e8e1a10ad0df">Validate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">First validates all bounds and then validates all points recursively on all visible cells. <a href="#ae7b4e63e4603beb3a199e8e1a10ad0df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af908d839d6e08aa38cf8ed5e41a12ed8">ValidateBounds</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> parentState, Object cell)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Validates the bounds of the given parent's child using the given parent state as the origin for the child. The validation is carried out recursively for all non-collapsed descendants. <a href="#af908d839d6e08aa38cf8ed5e41a12ed8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a642fe8e956e90adc559db7165cd2b17c">UpdateVertexLabelOffset</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the absoluteOffset of the given vertex cell state. This takes into account the label position styles. <a href="#a642fe8e956e90adc559db7165cd2b17c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af0e03ccc456eabad7304f651e4f6b02e">ValidatePoints</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> parentState, Object cell)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Validates the points for the state of the given cell recursively if the cell is not collapsed and returns the bounding box of all visited states as a rectangle. <a href="#af0e03ccc456eabad7304f651e4f6b02e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a35c74a7f2f785d1f352da20a59e1c906">childMoved</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> parent, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> child)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoked when a child state was moved as a result of late evaluation of its position. This is invoked for relative edge children whose position can only be determined after the points of the parent edge are updated in validatePoints, and validates the bounds of all descendants of the child using validateBounds. <a href="#a35c74a7f2f785d1f352da20a59e1c906"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#acdeb7aeb0eee2c89b84a65418c068e96">UpdateLabelBounds</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the label bounds in the given state. <a href="#acdeb7aeb0eee2c89b84a65418c068e96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">UpdateBoundingBox</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the bounding box in the given cell state. <a href="#a55327a8cf146e104eb1b33a27669e6d2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a2e4acbd554e5f1ff359b43118ea7c568">UpdateFixedTerminalPoints</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> edge, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> source, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the initial absolute terminal points in the given state before the edge style is computed. <a href="#a2e4acbd554e5f1ff359b43118ea7c568"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad4e08a70a0d02b9d5c6d6ccc02fc60aa">UpdateFixedTerminalPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> edge, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> terminal, bool source, <a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html">mxConnectionConstraint</a> constraint)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the fixed source or target terminal point on the given edge. <a href="#ad4e08a70a0d02b9d5c6d6ccc02fc60aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7714a061067d7cf9fba2cc5f2df08017">UpdatePoints</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> edge, List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt; points, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> source, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the absolute points in the given state using the specified array of points as the relative points. <a href="#a7714a061067d7cf9fba2cc5f2df08017"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a6c5f83ac769b3dea8a8eda86e17f7868">TransformControlPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> pt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transforms the given control point to an absolute point. <a href="#a6c5f83ac769b3dea8a8eda86e17f7868"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacecom_1_1mxgraph.html#a83e0f4d840cac3329394b038752c9e55">mxEdgeStyleFunction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab4cead25b7ed89a49857fb0f618f822c">GetEdgeStyle</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> edge, List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt; points, Object source, Object target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the edge style function to be used to render the given edge state. <a href="#ab4cead25b7ed89a49857fb0f618f822c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ae16ec109f3ffe5c7540be2bd1fe99392">UpdateFloatingTerminalPoints</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> source, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the terminal points in the given state after the edge style was computed for the edge. <a href="#ae16ec109f3ffe5c7540be2bd1fe99392"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a8fb9eed5e15f3cd56903c5218123551e">UpdateFloatingTerminalPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> edge, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> start, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> end, bool source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">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. <a href="#a8fb9eed5e15f3cd56903c5218123551e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a74a28e534da29ad4e1f4a86c1cd7d1e7">GetTerminalPort</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> terminal, bool source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the given terminal or the port defined in the given edge state if a cell state exists for that port. <a href="#a74a28e534da29ad4e1f4a86c1cd7d1e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a80e1b00c0d27554a4cb5404b696ce707">GetPerimeterPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> terminal, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> next, bool orthogonal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">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. <a href="#a80e1b00c0d27554a4cb5404b696ce707"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a34fd4cf658bc1afe3a035503a575bf70">GetPerimeterPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> terminal, <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> next, bool orthogonal, double border)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">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. <a href="#a34fd4cf658bc1afe3a035503a575bf70"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#afcc4eb83717e11ade074e6e74fa53252">GetRoutingCenterX</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the x-coordinate of the center point for automatic routing. <a href="#afcc4eb83717e11ade074e6e74fa53252"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a93253626cb05b515105bee7b9ee38426">GetRoutingCenterY</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the y-coordinate of the center point for automatic routing. <a href="#a93253626cb05b515105bee7b9ee38426"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#accd44716e77dd90354d8c9d2c90eb5fe">GetPerimeterBounds</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> terminal, double border)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the perimeter bounds for the given terminal, edge pair. <a href="#accd44716e77dd90354d8c9d2c90eb5fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacecom_1_1mxgraph.html#a602cdf1db1505f7fa83454be5a7fb30c">mxPerimeterFunction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af96d608b7ad7507cf69e5cbbeab7ca31">GetPerimeterFunction</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the perimeter function for the given state. <a href="#af96d608b7ad7507cf69e5cbbeab7ca31"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad20ca8cbe96581c72c92ebb02f831d0e">GetNextPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> edge, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> opposite, bool source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the nearest point in the list of absolute points or the center of the opposite terminal. <a href="#ad20ca8cbe96581c72c92ebb02f831d0e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af96a48d003b558796d4c334f8729980f">GetVisibleTerminal</a> (Object edge, bool source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the nearest ancestor terminal that is visible. The edge appears to be connected to this terminal on the display. <a href="#af96a48d003b558796d4c334f8729980f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#accc7fb0e014164bad9ba2bdbc6ff56ec">UpdateEdgeBounds</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the given state using the bounding box of the absolute points. Also updates terminal distance, length and segments. <a href="#accc7fb0e014164bad9ba2bdbc6ff56ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a3f002384da4f34bcb6e7d391b43d7c90">GetPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the absolute center point along the given edge. <a href="#a3f002384da4f34bcb6e7d391b43d7c90"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a752358e994c527d984d8035d326246a4">GetPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> state, <a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a> geometry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the absolute point on the edge for the given relative geometry as a point. The edge is represented by the given cell state. <a href="#a752358e994c527d984d8035d326246a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a061c5355e240d0a2365812fa7b1939ae">GetState</a> (Object cell)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the state for the given cell or null if no state is defined for the cell. <a href="#a061c5355e240d0a2365812fa7b1939ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Dictionary&lt; Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a002efad219cdca72b84a311cb15ae8b2">GetStates</a> (Object[] cells)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the object that maps from cells to states. <a href="#a002efad219cdca72b84a311cb15ae8b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab186e6af6c1eede58a6da0f7a97af0c2">GetCellStates</a> (Object[] cells)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the states for the given array of cells. The array contains all states that are not null, that is, the returned array may have less elements than the given array. <a href="#ab186e6af6c1eede58a6da0f7a97af0c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#afd6cf1a99e397e8cafa2cacb7909b1c6">GetState</a> (Object cell, bool create)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the cell state for the given cell. If create is true, then the state is created if it does not yet exist. <a href="#afd6cf1a99e397e8cafa2cacb7909b1c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a9fb177cc6385836d43895040fbdffd82">RemoveState</a> (Object cell)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes and returns the <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html" title="Represents the current state of a cell in a given graph view.">mxCellState</a> for the given cell. <a href="#a9fb177cc6385836d43895040fbdffd82"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab2c794618d3a4fa6675b9b69b7f53b09">CreateState</a> (Object cell)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a cell state for the given cell. <a href="#ab2c794618d3a4fa6675b9b69b7f53b09"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab97104804b37c8744eedefde7a4602db">graph</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to the enclosing graph. <a href="#ab97104804b37c8744eedefde7a4602db"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ac932e7e8a10f36174c3fafc3f8228f15">graphBounds</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Caches the current bounds of the graph. <a href="#ac932e7e8a10f36174c3fafc3f8228f15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a43bac8d25e0b965e65b8c80e2a180f6e">scale</a> = 1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the scale. Default is 1 (100%). <a href="#a43bac8d25e0b965e65b8c80e2a180f6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#aaae7f9d0128f7e351e54bae0288483bb">translate</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>(0, 0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Point that specifies the current translation. Default is a new empty point. <a href="#aaae7f9d0128f7e351e54bae0288483bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Dictionary&lt; Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a597b00cf6086ab918689b70bec7a5bcf">states</a> = new Dictionary&lt;Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&gt;()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maps from cells to cell states. <a href="#a597b00cf6086ab918689b70bec7a5bcf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a542b59662cbf6c58443dfe9349e98a30">eventsEnabled</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies if the view should be revalidated if the scale or translation changes. <a href="#a542b59662cbf6c58443dfe9349e98a30"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#aee4e08eb531fc343cd59694a9ebd543f">Graph</a><code> [get]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the enclosing graph. <a href="#aee4e08eb531fc343cd59694a9ebd543f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad6f6d7fab6d593275cd56f5a34dc7768">GraphBounds</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the cached diagram bounds. <a href="#ad6f6d7fab6d593275cd56f5a34dc7768"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#abe84f463ef8af1a0d1faaf58a5094423">Scale</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or returns the current scale. <a href="#abe84f463ef8af1a0d1faaf58a5094423"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a76e591fb8312bddb4cd26ec1d750b501">Translate</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or returns the current translation. <a href="#a76e591fb8312bddb4cd26ec1d750b501"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Dictionary&lt; Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a5e512b6312b5d4410651220a4591ec62">States</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or returns the current translation. <a href="#a5e512b6312b5d4410651220a4591ec62"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a85fa8021c3b7c1c07c0ae34120f00640">IsEventsEnabled</a><code> [get, set]</code></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or returns the current scale. <a href="#a85fa8021c3b7c1c07c0ae34120f00640"></a><br/></td></tr>
2012-05-21 20:32:26 +00:00
</table>
2013-04-04 11:51:15 +00:00
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a30c64679ef154d31e0a4e0bd75c076da"></a><!-- doxytag: member="com::mxgraph::mxGraphView::mxGraphView" ref="a30c64679ef154d31e0a4e0bd75c076da" args="(mxGraph graph)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a30c64679ef154d31e0a4e0bd75c076da">com.mxgraph.mxGraphView.mxGraphView</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a>&#160;</td>
<td class="paramname"><em>graph</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new view for the given graph. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">graph</td><td>Reference to the enclosing graph.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a35c74a7f2f785d1f352da20a59e1c906"></a><!-- doxytag: member="com::mxgraph::mxGraphView::childMoved" ref="a35c74a7f2f785d1f352da20a59e1c906" args="(mxCellState parent, mxCellState child)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a35c74a7f2f785d1f352da20a59e1c906">com.mxgraph.mxGraphView.childMoved</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>parent</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>child</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Invoked when a child state was moved as a result of late evaluation of its position. This is invoked for relative edge children whose position can only be determined after the points of the parent edge are updated in validatePoints, and validates the bounds of all descendants of the child using validateBounds. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td>State that represents the parent.</td></tr>
<tr><td class="paramname">child</td><td>State that represents the child.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab2c794618d3a4fa6675b9b69b7f53b09"></a><!-- doxytag: member="com::mxgraph::mxGraphView::CreateState" ref="ab2c794618d3a4fa6675b9b69b7f53b09" args="(Object cell)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab2c794618d3a4fa6675b9b69b7f53b09">com.mxgraph.mxGraphView.CreateState</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates and returns a cell state for the given cell. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cell</td><td>Cell for which a new state should be created.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a new state for the given cell.</dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a7a6ddb3af7b401beeeefe7234f37d795"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetBoundingBox" ref="a7a6ddb3af7b401beeeefe7234f37d795" args="(Object[] cells)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7a6ddb3af7b401beeeefe7234f37d795">com.mxgraph.mxGraphView.GetBoundingBox</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the bounding box for an array of cells or null, if no cells are specified. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cells</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a7ead8c69343a1bc7b26612b7c2f910a8"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetBounds" ref="a7ead8c69343a1bc7b26612b7c2f910a8" args="(Object[] cells)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7ead8c69343a1bc7b26612b7c2f910a8">com.mxgraph.mxGraphView.GetBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em></td><td>)</td>
<td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the bounding box for an array of cells or null, if no cells are specified. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cells</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a7340fdb7dfb84afa2f40e0584b463c2f"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetBounds" ref="a7340fdb7dfb84afa2f40e0584b463c2f" args="(Object[] cells, bool boundingBox)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7ead8c69343a1bc7b26612b7c2f910a8">com.mxgraph.mxGraphView.GetBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>boundingBox</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the bounding box for an array of cells or null, if no cells are specified. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab186e6af6c1eede58a6da0f7a97af0c2"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetCellStates" ref="ab186e6af6c1eede58a6da0f7a97af0c2" args="(Object[] cells)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> [] <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab186e6af6c1eede58a6da0f7a97af0c2">com.mxgraph.mxGraphView.GetCellStates</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the states for the given array of cells. The array contains all states that are not null, that is, the returned array may have less elements than the given array. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab4cead25b7ed89a49857fb0f618f822c"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetEdgeStyle" ref="ab4cead25b7ed89a49857fb0f618f822c" args="(mxCellState edge, List&lt; mxPoint &gt; points, Object source, Object target)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="namespacecom_1_1mxgraph.html#a83e0f4d840cac3329394b038752c9e55">mxEdgeStyleFunction</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab4cead25b7ed89a49857fb0f618f822c">com.mxgraph.mxGraphView.GetEdgeStyle</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt;&#160;</td>
<td class="paramname"><em>points</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>source</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>target</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the edge style function to be used to render the given edge state. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad20ca8cbe96581c72c92ebb02f831d0e"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetNextPoint" ref="ad20ca8cbe96581c72c92ebb02f831d0e" args="(mxCellState edge, mxCellState opposite, bool source)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad20ca8cbe96581c72c92ebb02f831d0e">com.mxgraph.mxGraphView.GetNextPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>opposite</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>source</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the nearest point in the list of absolute points or the center of the opposite terminal. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>State that represents the edge.</td></tr>
<tr><td class="paramname">opposite</td><td>State that represents the opposite terminal.</td></tr>
<tr><td class="paramname">source</td><td>Boolean indicating if the next point for the source or target should be returned.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="accd44716e77dd90354d8c9d2c90eb5fe"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetPerimeterBounds" ref="accd44716e77dd90354d8c9d2c90eb5fe" args="(mxCellState terminal, double border)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#accd44716e77dd90354d8c9d2c90eb5fe">com.mxgraph.mxGraphView.GetPerimeterBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>terminal</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>border</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the perimeter bounds for the given terminal, edge pair. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="af96d608b7ad7507cf69e5cbbeab7ca31"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetPerimeterFunction" ref="af96d608b7ad7507cf69e5cbbeab7ca31" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="namespacecom_1_1mxgraph.html#a602cdf1db1505f7fa83454be5a7fb30c">mxPerimeterFunction</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af96d608b7ad7507cf69e5cbbeab7ca31">com.mxgraph.mxGraphView.GetPerimeterFunction</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the perimeter function for the given state. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a80e1b00c0d27554a4cb5404b696ce707"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetPerimeterPoint" ref="a80e1b00c0d27554a4cb5404b696ce707" args="(mxCellState terminal, mxPoint next, bool orthogonal)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a80e1b00c0d27554a4cb5404b696ce707">com.mxgraph.mxGraphView.GetPerimeterPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>terminal</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>next</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>orthogonal</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>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. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a34fd4cf658bc1afe3a035503a575bf70"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetPerimeterPoint" ref="a34fd4cf658bc1afe3a035503a575bf70" args="(mxCellState terminal, mxPoint next, bool orthogonal, double border)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a80e1b00c0d27554a4cb5404b696ce707">com.mxgraph.mxGraphView.GetPerimeterPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>terminal</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>next</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>orthogonal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>border</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>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. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">terminal</td><td>State for the source or target terminal.</td></tr>
<tr><td class="paramname">next</td><td>Point that lies outside of the given terminal.</td></tr>
<tr><td class="paramname">orthogonal</td><td>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.</td></tr>
<tr><td class="paramname">border</td><td>Optional border between the perimeter and the shape.</td></tr>
</table>
</dd>
</dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a3f002384da4f34bcb6e7d391b43d7c90"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetPoint" ref="a3f002384da4f34bcb6e7d391b43d7c90" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a3f002384da4f34bcb6e7d391b43d7c90">com.mxgraph.mxGraphView.GetPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the absolute center point along the given edge. </p>
</div>
</div>
<a class="anchor" id="a752358e994c527d984d8035d326246a4"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetPoint" ref="a752358e994c527d984d8035d326246a4" args="(mxCellState state, mxGeometry geometry)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a3f002384da4f34bcb6e7d391b43d7c90">com.mxgraph.mxGraphView.GetPoint</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGeometry.html">mxGeometry</a>&#160;</td>
<td class="paramname"><em>geometry</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the absolute point on the edge for the given relative geometry as a point. The edge is represented by the given cell state. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>Represents the state of the parent edge.</td></tr>
<tr><td class="paramname">geometry</td><td>Represents the relative location.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="afcc4eb83717e11ade074e6e74fa53252"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetRoutingCenterX" ref="afcc4eb83717e11ade074e6e74fa53252" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#afcc4eb83717e11ade074e6e74fa53252">com.mxgraph.mxGraphView.GetRoutingCenterX</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Returns the x-coordinate of the center point for automatic routing. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the x-coordinate of the routing center point.</dd></dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a93253626cb05b515105bee7b9ee38426"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetRoutingCenterY" ref="a93253626cb05b515105bee7b9ee38426" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a93253626cb05b515105bee7b9ee38426">com.mxgraph.mxGraphView.GetRoutingCenterY</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Returns the y-coordinate of the center point for automatic routing. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the y-coordinate of the routing center point.</dd></dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a061c5355e240d0a2365812fa7b1939ae"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetState" ref="a061c5355e240d0a2365812fa7b1939ae" args="(Object cell)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a061c5355e240d0a2365812fa7b1939ae">com.mxgraph.mxGraphView.GetState</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
2013-04-04 11:51:15 +00:00
<p>Returns the state for the given cell or null if no state is defined for the cell. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cell</td><td>Cell whose state should be returned.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the state for the given cell.</dd></dl>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="afd6cf1a99e397e8cafa2cacb7909b1c6"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetState" ref="afd6cf1a99e397e8cafa2cacb7909b1c6" args="(Object cell, bool create)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a061c5355e240d0a2365812fa7b1939ae">com.mxgraph.mxGraphView.GetState</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>create</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the cell state for the given cell. If create is true, then the state is created if it does not yet exist. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cell</td><td>Cell for which a new state should be returned.</td></tr>
<tr><td class="paramname">create</td><td>Boolean indicating if a new state should be created if it does not yet exist.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the state for the given cell.</dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a002efad219cdca72b84a311cb15ae8b2"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetStates" ref="a002efad219cdca72b84a311cb15ae8b2" args="(Object[] cells)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Dictionary&lt;Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a002efad219cdca72b84a311cb15ae8b2">com.mxgraph.mxGraphView.GetStates</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object[]&#160;</td>
<td class="paramname"><em>cells</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the object that maps from cells to states. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a74a28e534da29ad4e1f4a86c1cd7d1e7"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetTerminalPort" ref="a74a28e534da29ad4e1f4a86c1cd7d1e7" args="(mxCellState state, mxCellState terminal, bool source)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a74a28e534da29ad4e1f4a86c1cd7d1e7">com.mxgraph.mxGraphView.GetTerminalPort</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>terminal</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>source</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the given terminal or the port defined in the given edge state if a cell state exists for that port. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="af96a48d003b558796d4c334f8729980f"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GetVisibleTerminal" ref="af96a48d003b558796d4c334f8729980f" args="(Object edge, bool source)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Object <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af96a48d003b558796d4c334f8729980f">com.mxgraph.mxGraphView.GetVisibleTerminal</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>source</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the nearest ancestor terminal that is visible. The edge appears to be connected to this terminal on the display. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>Cell whose visible terminal should be returned.</td></tr>
<tr><td class="paramname">source</td><td>Boolean that specifies if the source or target terminal should be returned.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the visible source or target terminal.</dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad6960a06a36fe20245cc25f8a97a6241"></a><!-- doxytag: member="com::mxgraph::mxGraphView::Invalidate" ref="ad6960a06a36fe20245cc25f8a97a6241" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad6960a06a36fe20245cc25f8a97a6241">com.mxgraph.mxGraphView.Invalidate</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Invalidates all cell states. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a9fb177cc6385836d43895040fbdffd82"></a><!-- doxytag: member="com::mxgraph::mxGraphView::RemoveState" ref="a9fb177cc6385836d43895040fbdffd82" args="(Object cell)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a9fb177cc6385836d43895040fbdffd82">com.mxgraph.mxGraphView.RemoveState</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Removes and returns the <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html" title="Represents the current state of a cell in a given graph view.">mxCellState</a> for the given cell. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cell</td><td><a class="el" href="classcom_1_1mxgraph_1_1mxCell.html" title="Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.">mxCell</a> for which the <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html" title="Represents the current state of a cell in a given graph view.">mxCellState</a> should be removed.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html" title="Represents the current state of a cell in a given graph view.">mxCellState</a> that has been removed.</dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a36f4d1bb248552f1e4e6ec8625364a2b"></a><!-- doxytag: member="com::mxgraph::mxGraphView::Revalidate" ref="a36f4d1bb248552f1e4e6ec8625364a2b" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a36f4d1bb248552f1e4e6ec8625364a2b">com.mxgraph.mxGraphView.Revalidate</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>First invalidates, then validates all cell states. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a6c5f83ac769b3dea8a8eda86e17f7868"></a><!-- doxytag: member="com::mxgraph::mxGraphView::TransformControlPoint" ref="a6c5f83ac769b3dea8a8eda86e17f7868" args="(mxCellState state, mxPoint pt)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a6c5f83ac769b3dea8a8eda86e17f7868">com.mxgraph.mxGraphView.TransformControlPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>&#160;</td>
<td class="paramname"><em>pt</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Transforms the given control point to an absolute point. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a55327a8cf146e104eb1b33a27669e6d2"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateBoundingBox" ref="a55327a8cf146e104eb1b33a27669e6d2" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a55327a8cf146e104eb1b33a27669e6d2">com.mxgraph.mxGraphView.UpdateBoundingBox</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Updates the bounding box in the given cell state. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>Cell state whose bounding box should be updated.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="accc7fb0e014164bad9ba2bdbc6ff56ec"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateEdgeBounds" ref="accc7fb0e014164bad9ba2bdbc6ff56ec" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#accc7fb0e014164bad9ba2bdbc6ff56ec">com.mxgraph.mxGraphView.UpdateEdgeBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Updates the given state using the bounding box of the absolute points. Also updates terminal distance, length and segments. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>Cell state whose bounds should be updated.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad4e08a70a0d02b9d5c6d6ccc02fc60aa"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateFixedTerminalPoint" ref="ad4e08a70a0d02b9d5c6d6ccc02fc60aa" args="(mxCellState edge, mxCellState terminal, bool source, mxConnectionConstraint constraint)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad4e08a70a0d02b9d5c6d6ccc02fc60aa">com.mxgraph.mxGraphView.UpdateFixedTerminalPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>terminal</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>source</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxConnectionConstraint.html">mxConnectionConstraint</a>&#160;</td>
<td class="paramname"><em>constraint</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the fixed source or target terminal point on the given edge. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>State whose terminal point should be updated.</td></tr>
<tr><td class="paramname">terminal</td><td>State which represents the actual terminal.</td></tr>
<tr><td class="paramname">source</td><td>Boolean that specifies if the terminal is the source.</td></tr>
<tr><td class="paramname">constraint</td><td>Constraint that specifies the connection.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a2e4acbd554e5f1ff359b43118ea7c568"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateFixedTerminalPoints" ref="a2e4acbd554e5f1ff359b43118ea7c568" args="(mxCellState edge, mxCellState source, mxCellState target)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a2e4acbd554e5f1ff359b43118ea7c568">com.mxgraph.mxGraphView.UpdateFixedTerminalPoints</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>source</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>target</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the initial absolute terminal points in the given state before the edge style is computed. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>Cell state whose initial terminal points should be updated.</td></tr>
<tr><td class="paramname">source</td><td>Cell state which represents the source terminal.</td></tr>
<tr><td class="paramname">target</td><td>Cell state which represents the target terminal.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a8fb9eed5e15f3cd56903c5218123551e"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateFloatingTerminalPoint" ref="a8fb9eed5e15f3cd56903c5218123551e" args="(mxCellState edge, mxCellState start, mxCellState end, bool source)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a8fb9eed5e15f3cd56903c5218123551e">com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>start</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>end</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>source</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>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. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>State whose terminal point should be updated.</td></tr>
<tr><td class="paramname">start</td><td>for the terminal on "this" side of the edge.</td></tr>
<tr><td class="paramname">end</td><td>for the terminal on the other side of the edge.</td></tr>
<tr><td class="paramname">source</td><td>Boolean indicating if start is the source terminal state.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ae16ec109f3ffe5c7540be2bd1fe99392"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateFloatingTerminalPoints" ref="ae16ec109f3ffe5c7540be2bd1fe99392" args="(mxCellState state, mxCellState source, mxCellState target)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ae16ec109f3ffe5c7540be2bd1fe99392">com.mxgraph.mxGraphView.UpdateFloatingTerminalPoints</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>source</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>target</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Updates the terminal points in the given state after the edge style was computed for the edge. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>State whose terminal points should be updated.</td></tr>
<tr><td class="paramname">source</td><td>State that represents the source terminal.</td></tr>
<tr><td class="paramname">target</td><td>State that represents the target terminal.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="acdeb7aeb0eee2c89b84a65418c068e96"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateLabelBounds" ref="acdeb7aeb0eee2c89b84a65418c068e96" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#acdeb7aeb0eee2c89b84a65418c068e96">com.mxgraph.mxGraphView.UpdateLabelBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Updates the label bounds in the given state. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td></td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a7714a061067d7cf9fba2cc5f2df08017"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdatePoints" ref="a7714a061067d7cf9fba2cc5f2df08017" args="(mxCellState edge, List&lt; mxPoint &gt; points, mxCellState source, mxCellState target)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a7714a061067d7cf9fba2cc5f2df08017">com.mxgraph.mxGraphView.UpdatePoints</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>edge</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">List&lt; <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> &gt;&#160;</td>
<td class="paramname"><em>points</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>source</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>target</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Updates the absolute points in the given state using the specified array of points as the relative points. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>Cell state whose absolute points should be updated.</td></tr>
<tr><td class="paramname">points</td><td>Array of points that constitute the relative points.</td></tr>
<tr><td class="paramname">source</td><td>Cell that represents the source terminal.</td></tr>
<tr><td class="paramname">target</td><td>Cell that represents the target terminal.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a642fe8e956e90adc559db7165cd2b17c"></a><!-- doxytag: member="com::mxgraph::mxGraphView::UpdateVertexLabelOffset" ref="a642fe8e956e90adc559db7165cd2b17c" args="(mxCellState state)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a642fe8e956e90adc559db7165cd2b17c">com.mxgraph.mxGraphView.UpdateVertexLabelOffset</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>state</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Updates the absoluteOffset of the given vertex cell state. This takes into account the label position styles. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">state</td><td>Cell state whose absolute offset should be updated.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ae7b4e63e4603beb3a199e8e1a10ad0df"></a><!-- doxytag: member="com::mxgraph::mxGraphView::Validate" ref="ae7b4e63e4603beb3a199e8e1a10ad0df" args="()" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ae7b4e63e4603beb3a199e8e1a10ad0df">com.mxgraph.mxGraphView.Validate</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramname"></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>First validates all bounds and then validates all points recursively on all visible cells. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="af908d839d6e08aa38cf8ed5e41a12ed8"></a><!-- doxytag: member="com::mxgraph::mxGraphView::ValidateBounds" ref="af908d839d6e08aa38cf8ed5e41a12ed8" args="(mxCellState parentState, Object cell)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af908d839d6e08aa38cf8ed5e41a12ed8">com.mxgraph.mxGraphView.ValidateBounds</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>parentState</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Validates the bounds of the given parent's child using the given parent state as the origin for the child. The validation is carried out recursively for all non-collapsed descendants. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">parentState</td><td>Cell state for the given parent.</td></tr>
<tr><td class="paramname">cell</td><td>Cell for which the bounds in the state should be updated.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="af0e03ccc456eabad7304f651e4f6b02e"></a><!-- doxytag: member="com::mxgraph::mxGraphView::ValidatePoints" ref="af0e03ccc456eabad7304f651e4f6b02e" args="(mxCellState parentState, Object cell)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#af0e03ccc456eabad7304f651e4f6b02e">com.mxgraph.mxGraphView.ValidatePoints</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&#160;</td>
<td class="paramname"><em>parentState</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td><code> [inline]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Validates the points for the state of the given cell recursively if the cell is not collapsed and returns the bounding box of all visited states as a rectangle. </p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a542b59662cbf6c58443dfe9349e98a30"></a><!-- doxytag: member="com::mxgraph::mxGraphView::eventsEnabled" ref="a542b59662cbf6c58443dfe9349e98a30" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a542b59662cbf6c58443dfe9349e98a30">com.mxgraph.mxGraphView.eventsEnabled</a> = true<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies if the view should be revalidated if the scale or translation changes. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ab97104804b37c8744eedefde7a4602db"></a><!-- doxytag: member="com::mxgraph::mxGraphView::graph" ref="ab97104804b37c8744eedefde7a4602db" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ab97104804b37c8744eedefde7a4602db">com.mxgraph.mxGraphView.graph</a><code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Reference to the enclosing graph. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ac932e7e8a10f36174c3fafc3f8228f15"></a><!-- doxytag: member="com::mxgraph::mxGraphView::graphBounds" ref="ac932e7e8a10f36174c3fafc3f8228f15" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ac932e7e8a10f36174c3fafc3f8228f15">com.mxgraph.mxGraphView.graphBounds</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a>()<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Caches the current bounds of the graph. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a43bac8d25e0b965e65b8c80e2a180f6e"></a><!-- doxytag: member="com::mxgraph::mxGraphView::scale" ref="a43bac8d25e0b965e65b8c80e2a180f6e" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a43bac8d25e0b965e65b8c80e2a180f6e">com.mxgraph.mxGraphView.scale</a> = 1<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Specifies the scale. Default is 1 (100%). </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a597b00cf6086ab918689b70bec7a5bcf"></a><!-- doxytag: member="com::mxgraph::mxGraphView::states" ref="a597b00cf6086ab918689b70bec7a5bcf" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Dictionary&lt;Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a597b00cf6086ab918689b70bec7a5bcf">com.mxgraph.mxGraphView.states</a> = new Dictionary&lt;Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&gt;()<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Maps from cells to cell states. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aaae7f9d0128f7e351e54bae0288483bb"></a><!-- doxytag: member="com::mxgraph::mxGraphView::translate" ref="aaae7f9d0128f7e351e54bae0288483bb" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#aaae7f9d0128f7e351e54bae0288483bb">com.mxgraph.mxGraphView.translate</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>(0, 0)<code> [protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Point that specifies the current translation. Default is a new empty point. </p>
</div>
</div>
<hr/><h2>Property Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="aee4e08eb531fc343cd59694a9ebd543f"></a><!-- doxytag: member="com::mxgraph::mxGraphView::Graph" ref="aee4e08eb531fc343cd59694a9ebd543f" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraph.html">mxGraph</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#aee4e08eb531fc343cd59694a9ebd543f">com.mxgraph.mxGraphView.Graph</a><code> [get]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the enclosing graph. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ad6f6d7fab6d593275cd56f5a34dc7768"></a><!-- doxytag: member="com::mxgraph::mxGraphView::GraphBounds" ref="ad6f6d7fab6d593275cd56f5a34dc7768" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#ad6f6d7fab6d593275cd56f5a34dc7768">com.mxgraph.mxGraphView.GraphBounds</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the cached diagram bounds. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a85fa8021c3b7c1c07c0ae34120f00640"></a><!-- doxytag: member="com::mxgraph::mxGraphView::IsEventsEnabled" ref="a85fa8021c3b7c1c07c0ae34120f00640" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">bool <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a85fa8021c3b7c1c07c0ae34120f00640">com.mxgraph.mxGraphView.IsEventsEnabled</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the current scale. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="abe84f463ef8af1a0d1faaf58a5094423"></a><!-- doxytag: member="com::mxgraph::mxGraphView::Scale" ref="abe84f463ef8af1a0d1faaf58a5094423" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#abe84f463ef8af1a0d1faaf58a5094423">com.mxgraph.mxGraphView.Scale</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the current scale. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a5e512b6312b5d4410651220a4591ec62"></a><!-- doxytag: member="com::mxgraph::mxGraphView::States" ref="a5e512b6312b5d4410651220a4591ec62" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">Dictionary&lt;Object, <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a5e512b6312b5d4410651220a4591ec62">com.mxgraph.mxGraphView.States</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the current translation. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a76e591fb8312bddb4cd26ec1d750b501"></a><!-- doxytag: member="com::mxgraph::mxGraphView::Translate" ref="a76e591fb8312bddb4cd26ec1d750b501" args="" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html#a76e591fb8312bddb4cd26ec1d750b501">com.mxgraph.mxGraphView.Translate</a><code> [get, set]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets or returns the current translation. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/view/mxGraphView.cs</li>
</ul>
2013-04-04 11:51:15 +00:00
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
2013-07-26 16:59:11 +00:00
Generated on Fri Jul 26 2013 17:48:17 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
2013-04-04 11:51:15 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
2012-05-21 20:32:26 +00:00
</body>
</html>