maxGraph/java/docs/com/mxgraph/view/mxCellState.html

1442 lines
59 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (10.0.2) on Fri Dec 14 12:03:14 UTC 2018 -->
<title>mxCellState (mxGraph 3.9.12 API Specification)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2018-12-14">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="mxCellState (mxGraph 3.9.12 API Specification)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxCellState.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><p><b>mxGraph 3.9.12</b></p></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/view/mxCellState.html" target="_top">Frames</a></li>
<li><a href="mxCellState.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a></div>
<h2 title="Class mxCellState" class="title">Class mxCellState</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">com.mxgraph.util.mxPoint</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">com.mxgraph.util.mxRectangle</a></li>
<li>
<ul class="inheritance">
<li>com.mxgraph.view.mxCellState</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.io.Serializable</code>, <code>java.lang.Cloneable</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">mxCellState</span>
extends <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></pre>
<div class="block">Represents the current state of a cell in a given graph view.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#com.mxgraph.view.mxCellState">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#absoluteOffset">absoluteOffset</a></span></code></th>
<td class="colLast">
<div class="block">Holds the absolute offset.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.List&lt;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#absolutePoints">absolutePoints</a></span></code></th>
<td class="colLast">
<div class="block">List of mxPoints that represent the absolute points of an edge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#boundingBox">boundingBox</a></span></code></th>
<td class="colLast">
<div class="block">Holds the largest rectangle which contains all rendering for this cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#cell">cell</a></span></code></th>
<td class="colLast">
<div class="block">Reference to the cell that is represented by this state.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#invalid">invalid</a></span></code></th>
<td class="colLast">
<div class="block">Specifies if the state is invalid.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#label">label</a></span></code></th>
<td class="colLast">
<div class="block">Holds the current label value, including newlines which result from
word wrapping.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#labelBounds">labelBounds</a></span></code></th>
<td class="colLast">
<div class="block">Holds the rectangle which contains the label.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#length">length</a></span></code></th>
<td class="colLast">
<div class="block">Caches the distance between the end points and the length of an edge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#origin">origin</a></span></code></th>
<td class="colLast">
<div class="block">Holds the origin for all child cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#segments">segments</a></span></code></th>
<td class="colLast">
<div class="block">Array of numbers that represent the cached length of each segment of the
edge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.Map&lt;java.lang.String,java.lang.Object&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#style">style</a></span></code></th>
<td class="colLast">
<div class="block">Contains an array of key, value pairs that represent the style of the
cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#terminalDistance">terminalDistance</a></span></code></th>
<td class="colLast">
<div class="block">Caches the distance between the end points and the length of an edge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#view">view</a></span></code></th>
<td class="colLast">
<div class="block">Reference to the enclosing graph view.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#visibleSourceState">visibleSourceState</a></span></code></th>
<td class="colLast">
<div class="block">Caches the visible source and target terminal states.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#visibleTargetState">visibleTargetState</a></span></code></th>
<td class="colLast">
<div class="block">Caches the visible source and target terminal states.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.mxgraph.util.mxPoint">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.mxgraph.util.<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></h3>
<code><a href="../../../com/mxgraph/util/mxPoint.html#x">x</a>, <a href="../../../com/mxgraph/util/mxPoint.html#y">y</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.mxgraph.util.mxRectangle">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.mxgraph.util.<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></h3>
<code><a href="../../../com/mxgraph/util/mxRectangle.html#height">height</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#width">width</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#mxCellState--">mxCellState</a></span>()</code></th>
<td class="colLast">
<div class="block">Constructs an empty cell state.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#mxCellState-com.mxgraph.view.mxGraphView-java.lang.Object-java.util.Map-">mxCellState</a></span>&#8203;(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view,
java.lang.Object&nbsp;cell,
java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;style)</code></th>
<td class="colLast">
<div class="block">Constructs a new object that represents the current state of the given
cell in the specified view.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#clone--">clone</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a clone of this state where all members are deeply cloned
except the view and cell references, which are copied with no
cloning to the new instance.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsoluteOffset--">getAbsoluteOffset</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the absolute offset.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsolutePoint-int-">getAbsolutePoint</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Returns the absolute point at the given index.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsolutePointCount--">getAbsolutePointCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of absolute points.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsolutePoints--">getAbsolutePoints</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the absolute points.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getBoundingBox--">getBoundingBox</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the bounding box.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getCell--">getCell</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the cell that is represented by this state.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getLabel--">getLabel</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the current label.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getLabelBounds--">getLabelBounds</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the label bounds.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getLength--">getLength</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the length.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getOrigin--">getOrigin</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the origin for the children.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getPerimeterBounds--">getPerimeterBounds</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the rectangle that should be used as the perimeter of the cell.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getPerimeterBounds-double-">getPerimeterBounds</a></span>&#8203;(double&nbsp;border)</code></th>
<td class="colLast">
<div class="block">Returns the rectangle that should be used as the perimeter of the cell.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>double[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getSegments--">getSegments</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the length of the segments.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.Object&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getStyle--">getStyle</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the cell style as a map of key, value pairs.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getTerminalDistance--">getTerminalDistance</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the terminal distance.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getView--">getView</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the enclosing graph view.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getVisibleTerminal-boolean-">getVisibleTerminal</a></span>&#8203;(boolean&nbsp;source)</code></th>
<td class="colLast">
<div class="block">Returns the visible source or target terminal cell.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getVisibleTerminalState-boolean-">getVisibleTerminalState</a></span>&#8203;(boolean&nbsp;source)</code></th>
<td class="colLast">
<div class="block">Returns the visible source or target terminal state.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#isInvalid--">isInvalid</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns true if the state is invalid.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsoluteOffset-com.mxgraph.util.mxPoint-">setAbsoluteOffset</a></span>&#8203;(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;absoluteOffset)</code></th>
<td class="colLast">
<div class="block">Returns the absolute offset.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsolutePoint-int-com.mxgraph.util.mxPoint-">setAbsolutePoint</a></span>&#8203;(int&nbsp;index,
<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;point)</code></th>
<td class="colLast">
<div class="block">Returns the absolute point at the given index.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsolutePoints-java.util.List-">setAbsolutePoints</a></span>&#8203;(java.util.List&lt;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&gt;&nbsp;absolutePoints)</code></th>
<td class="colLast">
<div class="block">Returns the absolute points.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsoluteTerminalPoint-com.mxgraph.util.mxPoint-boolean-">setAbsoluteTerminalPoint</a></span>&#8203;(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;point,
boolean&nbsp;isSource)</code></th>
<td class="colLast">
<div class="block">Sets the first or last point in the list of points depending on isSource.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setBoundingBox-com.mxgraph.util.mxRectangle-">setBoundingBox</a></span>&#8203;(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;boundingBox)</code></th>
<td class="colLast">
<div class="block">Sets the bounding box.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setCell-java.lang.Object-">setCell</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
<td class="colLast">
<div class="block">Sets the cell that this state represents.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setInvalid-boolean-">setInvalid</a></span>&#8203;(boolean&nbsp;invalid)</code></th>
<td class="colLast">
<div class="block">Sets the invalid state.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setLabel-java.lang.String-">setLabel</a></span>&#8203;(java.lang.String&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Returns the current label.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setLabelBounds-com.mxgraph.util.mxRectangle-">setLabelBounds</a></span>&#8203;(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;labelBounds)</code></th>
<td class="colLast">
<div class="block">Sets the label bounds.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setLength-double-">setLength</a></span>&#8203;(double&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Sets the length.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setOrigin-com.mxgraph.util.mxPoint-">setOrigin</a></span>&#8203;(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;origin)</code></th>
<td class="colLast">
<div class="block">Sets the origin for the children.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setSegments-double:A-">setSegments</a></span>&#8203;(double[]&nbsp;segments)</code></th>
<td class="colLast">
<div class="block">Sets the length of the segments.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setStyle-java.util.Map-">setStyle</a></span>&#8203;(java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;style)</code></th>
<td class="colLast">
<div class="block">Sets the cell style as a map of key, value pairs.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setTerminalDistance-double-">setTerminalDistance</a></span>&#8203;(double&nbsp;terminalDistance)</code></th>
<td class="colLast">
<div class="block">Sets the terminal distance.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setView-com.mxgraph.view.mxGraphView-">setView</a></span>&#8203;(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view)</code></th>
<td class="colLast">
<div class="block">Sets the enclosing graph view.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setVisibleTerminalState-com.mxgraph.view.mxCellState-boolean-">setVisibleTerminalState</a></span>&#8203;(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;terminalState,
boolean&nbsp;source)</code></th>
<td class="colLast">
<div class="block">Sets the visible source or target terminal state.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#toString--">toString</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>String</code> representation of this
<code>mxRectangle</code>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.mxgraph.util.mxPoint">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.mxgraph.util.<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></h3>
<code><a href="../../../com/mxgraph/util/mxPoint.html#getPoint--">getPoint</a>, <a href="../../../com/mxgraph/util/mxPoint.html#getX--">getX</a>, <a href="../../../com/mxgraph/util/mxPoint.html#getY--">getY</a>, <a href="../../../com/mxgraph/util/mxPoint.html#setX-double-">setX</a>, <a href="../../../com/mxgraph/util/mxPoint.html#setY-double-">setY</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.mxgraph.util.mxRectangle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.mxgraph.util.<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></h3>
<code><a href="../../../com/mxgraph/util/mxRectangle.html#add-com.mxgraph.util.mxRectangle-">add</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#contains-double-double-">contains</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#equals-java.lang.Object-">equals</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#getCenterX--">getCenterX</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#getCenterY--">getCenterY</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#getHeight--">getHeight</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#getRectangle--">getRectangle</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#getWidth--">getWidth</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#grow-double-">grow</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#intersectLine-double-double-double-double-">intersectLine</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#rotate90--">rotate90</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#setHeight-double-">setHeight</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#setRect-double-double-double-double-">setRect</a>, <a href="../../../com/mxgraph/util/mxRectangle.html#setWidth-double-">setWidth</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="view">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>view</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> view</pre>
<div class="block">Reference to the enclosing graph view.</div>
</li>
</ul>
<a name="cell">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cell</h4>
<pre>protected&nbsp;java.lang.Object cell</pre>
<div class="block">Reference to the cell that is represented by this state.</div>
</li>
</ul>
<a name="label">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>label</h4>
<pre>protected&nbsp;java.lang.String label</pre>
<div class="block">Holds the current label value, including newlines which result from
word wrapping.</div>
</li>
</ul>
<a name="style">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>style</h4>
<pre>protected&nbsp;java.util.Map&lt;java.lang.String,java.lang.Object&gt; style</pre>
<div class="block">Contains an array of key, value pairs that represent the style of the
cell.</div>
</li>
</ul>
<a name="origin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>origin</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> origin</pre>
<div class="block">Holds the origin for all child cells.</div>
</li>
</ul>
<a name="absolutePoints">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>absolutePoints</h4>
<pre>protected&nbsp;java.util.List&lt;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&gt; absolutePoints</pre>
<div class="block">List of mxPoints that represent the absolute points of an edge.</div>
</li>
</ul>
<a name="absoluteOffset">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>absoluteOffset</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> absoluteOffset</pre>
<div class="block">Holds the absolute offset. For edges, this is the absolute coordinates
of the label position. For vertices, this is the offset of the label
relative to the top, left corner of the vertex.</div>
</li>
</ul>
<a name="terminalDistance">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>terminalDistance</h4>
<pre>protected&nbsp;double terminalDistance</pre>
<div class="block">Caches the distance between the end points and the length of an edge.</div>
</li>
</ul>
<a name="length">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre>protected&nbsp;double length</pre>
<div class="block">Caches the distance between the end points and the length of an edge.</div>
</li>
</ul>
<a name="segments">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>segments</h4>
<pre>protected&nbsp;double[] segments</pre>
<div class="block">Array of numbers that represent the cached length of each segment of the
edge.</div>
</li>
</ul>
<a name="labelBounds">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>labelBounds</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> labelBounds</pre>
<div class="block">Holds the rectangle which contains the label.</div>
</li>
</ul>
<a name="boundingBox">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>boundingBox</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> boundingBox</pre>
<div class="block">Holds the largest rectangle which contains all rendering for this cell.</div>
</li>
</ul>
<a name="invalid">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invalid</h4>
<pre>protected&nbsp;boolean invalid</pre>
<div class="block">Specifies if the state is invalid. Default is true.</div>
</li>
</ul>
<a name="visibleSourceState">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visibleSourceState</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> visibleSourceState</pre>
<div class="block">Caches the visible source and target terminal states.</div>
</li>
</ul>
<a name="visibleTargetState">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>visibleTargetState</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> visibleTargetState</pre>
<div class="block">Caches the visible source and target terminal states.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="mxCellState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxCellState</h4>
<pre>public&nbsp;mxCellState()</pre>
<div class="block">Constructs an empty cell state.</div>
</li>
</ul>
<a name="mxCellState-com.mxgraph.view.mxGraphView-java.lang.Object-java.util.Map-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxCellState</h4>
<pre>public&nbsp;mxCellState&#8203;(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view,
java.lang.Object&nbsp;cell,
java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;style)</pre>
<div class="block">Constructs a new object that represents the current state of the given
cell in the specified view.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>view</code> - Graph view that contains the state.</dd>
<dd><code>cell</code> - Cell that this state represents.</dd>
<dd><code>style</code> - Array of key, value pairs that constitute the style.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isInvalid--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInvalid</h4>
<pre>public&nbsp;boolean&nbsp;isInvalid()</pre>
<div class="block">Returns true if the state is invalid.</div>
</li>
</ul>
<a name="setInvalid-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInvalid</h4>
<pre>public&nbsp;void&nbsp;setInvalid&#8203;(boolean&nbsp;invalid)</pre>
<div class="block">Sets the invalid state.</div>
</li>
</ul>
<a name="getView--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getView</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;getView()</pre>
<div class="block">Returns the enclosing graph view.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the view</dd>
</dl>
</li>
</ul>
<a name="setView-com.mxgraph.view.mxGraphView-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setView</h4>
<pre>public&nbsp;void&nbsp;setView&#8203;(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view)</pre>
<div class="block">Sets the enclosing graph view.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>view</code> - the view to set</dd>
</dl>
</li>
</ul>
<a name="getLabel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabel</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLabel()</pre>
<div class="block">Returns the current label.</div>
</li>
</ul>
<a name="setLabel-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLabel</h4>
<pre>public&nbsp;void&nbsp;setLabel&#8203;(java.lang.String&nbsp;value)</pre>
<div class="block">Returns the current label.</div>
</li>
</ul>
<a name="getCell--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCell</h4>
<pre>public&nbsp;java.lang.Object&nbsp;getCell()</pre>
<div class="block">Returns the cell that is represented by this state.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the cell</dd>
</dl>
</li>
</ul>
<a name="setCell-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCell</h4>
<pre>public&nbsp;void&nbsp;setCell&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block">Sets the cell that this state represents.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - the cell to set</dd>
</dl>
</li>
</ul>
<a name="getStyle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyle</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;getStyle()</pre>
<div class="block">Returns the cell style as a map of key, value pairs.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the style</dd>
</dl>
</li>
</ul>
<a name="setStyle-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStyle</h4>
<pre>public&nbsp;void&nbsp;setStyle&#8203;(java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;style)</pre>
<div class="block">Sets the cell style as a map of key, value pairs.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>style</code> - the style to set</dd>
</dl>
</li>
</ul>
<a name="getOrigin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrigin</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getOrigin()</pre>
<div class="block">Returns the origin for the children.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the origin</dd>
</dl>
</li>
</ul>
<a name="setOrigin-com.mxgraph.util.mxPoint-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOrigin</h4>
<pre>public&nbsp;void&nbsp;setOrigin&#8203;(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;origin)</pre>
<div class="block">Sets the origin for the children.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>origin</code> - the origin to set</dd>
</dl>
</li>
</ul>
<a name="getAbsolutePoint-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAbsolutePoint</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getAbsolutePoint&#8203;(int&nbsp;index)</pre>
<div class="block">Returns the absolute point at the given index.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the mxPoint at the given index</dd>
</dl>
</li>
</ul>
<a name="setAbsolutePoint-int-com.mxgraph.util.mxPoint-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAbsolutePoint</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;setAbsolutePoint&#8203;(int&nbsp;index,
<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;point)</pre>
<div class="block">Returns the absolute point at the given index.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the mxPoint at the given index</dd>
</dl>
</li>
</ul>
<a name="getAbsolutePointCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAbsolutePointCount</h4>
<pre>public&nbsp;int&nbsp;getAbsolutePointCount()</pre>
<div class="block">Returns the number of absolute points.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the absolutePoints</dd>
</dl>
</li>
</ul>
<a name="getAbsolutePoints--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAbsolutePoints</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&gt;&nbsp;getAbsolutePoints()</pre>
<div class="block">Returns the absolute points.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the absolutePoints</dd>
</dl>
</li>
</ul>
<a name="setAbsolutePoints-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAbsolutePoints</h4>
<pre>public&nbsp;void&nbsp;setAbsolutePoints&#8203;(java.util.List&lt;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&gt;&nbsp;absolutePoints)</pre>
<div class="block">Returns the absolute points.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>absolutePoints</code> - the absolutePoints to set</dd>
</dl>
</li>
</ul>
<a name="getAbsoluteOffset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAbsoluteOffset</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getAbsoluteOffset()</pre>
<div class="block">Returns the absolute offset.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the absoluteOffset</dd>
</dl>
</li>
</ul>
<a name="setAbsoluteOffset-com.mxgraph.util.mxPoint-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAbsoluteOffset</h4>
<pre>public&nbsp;void&nbsp;setAbsoluteOffset&#8203;(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;absoluteOffset)</pre>
<div class="block">Returns the absolute offset.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>absoluteOffset</code> - the absoluteOffset to set</dd>
</dl>
</li>
</ul>
<a name="getTerminalDistance--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTerminalDistance</h4>
<pre>public&nbsp;double&nbsp;getTerminalDistance()</pre>
<div class="block">Returns the terminal distance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the terminalDistance</dd>
</dl>
</li>
</ul>
<a name="setTerminalDistance-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTerminalDistance</h4>
<pre>public&nbsp;void&nbsp;setTerminalDistance&#8203;(double&nbsp;terminalDistance)</pre>
<div class="block">Sets the terminal distance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>terminalDistance</code> - the terminalDistance to set</dd>
</dl>
</li>
</ul>
<a name="getLength--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLength</h4>
<pre>public&nbsp;double&nbsp;getLength()</pre>
<div class="block">Returns the length.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the length</dd>
</dl>
</li>
</ul>
<a name="setLength-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLength</h4>
<pre>public&nbsp;void&nbsp;setLength&#8203;(double&nbsp;length)</pre>
<div class="block">Sets the length.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - the length to set</dd>
</dl>
</li>
</ul>
<a name="getSegments--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSegments</h4>
<pre>public&nbsp;double[]&nbsp;getSegments()</pre>
<div class="block">Returns the length of the segments.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the segments</dd>
</dl>
</li>
</ul>
<a name="setSegments-double:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSegments</h4>
<pre>public&nbsp;void&nbsp;setSegments&#8203;(double[]&nbsp;segments)</pre>
<div class="block">Sets the length of the segments.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>segments</code> - the segments to set</dd>
</dl>
</li>
</ul>
<a name="getLabelBounds--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLabelBounds</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getLabelBounds()</pre>
<div class="block">Returns the label bounds.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the label bounds for this state.</dd>
</dl>
</li>
</ul>
<a name="setLabelBounds-com.mxgraph.util.mxRectangle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLabelBounds</h4>
<pre>public&nbsp;void&nbsp;setLabelBounds&#8203;(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;labelBounds)</pre>
<div class="block">Sets the label bounds.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>labelBounds</code> - </dd>
</dl>
</li>
</ul>
<a name="getBoundingBox--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoundingBox</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundingBox()</pre>
<div class="block">Returns the bounding box.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the bounding box for this state.</dd>
</dl>
</li>
</ul>
<a name="setBoundingBox-com.mxgraph.util.mxRectangle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBoundingBox</h4>
<pre>public&nbsp;void&nbsp;setBoundingBox&#8203;(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;boundingBox)</pre>
<div class="block">Sets the bounding box.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>boundingBox</code> - </dd>
</dl>
</li>
</ul>
<a name="getPerimeterBounds--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPerimeterBounds</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getPerimeterBounds()</pre>
<div class="block">Returns the rectangle that should be used as the perimeter of the cell.
This implementation adds the perimeter spacing to the rectangle
defined by this cell state.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the rectangle that defines the perimeter.</dd>
</dl>
</li>
</ul>
<a name="getPerimeterBounds-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPerimeterBounds</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getPerimeterBounds&#8203;(double&nbsp;border)</pre>
<div class="block">Returns the rectangle that should be used as the perimeter of the cell.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the rectangle that defines the perimeter.</dd>
</dl>
</li>
</ul>
<a name="setAbsoluteTerminalPoint-com.mxgraph.util.mxPoint-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAbsoluteTerminalPoint</h4>
<pre>public&nbsp;void&nbsp;setAbsoluteTerminalPoint&#8203;(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;point,
boolean&nbsp;isSource)</pre>
<div class="block">Sets the first or last point in the list of points depending on isSource.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>point</code> - Point that represents the terminal point.</dd>
<dd><code>isSource</code> - Boolean that specifies if the first or last point should
be assigned.</dd>
</dl>
</li>
</ul>
<a name="getVisibleTerminal-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVisibleTerminal</h4>
<pre>public&nbsp;java.lang.Object&nbsp;getVisibleTerminal&#8203;(boolean&nbsp;source)</pre>
<div class="block">Returns the visible source or target terminal cell.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - Boolean that specifies if the source or target cell should be
returned.</dd>
</dl>
</li>
</ul>
<a name="getVisibleTerminalState-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVisibleTerminalState</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;getVisibleTerminalState&#8203;(boolean&nbsp;source)</pre>
<div class="block">Returns the visible source or target terminal state.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>Boolean</code> - that specifies if the source or target state should be
returned.</dd>
</dl>
</li>
</ul>
<a name="setVisibleTerminalState-com.mxgraph.view.mxCellState-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisibleTerminalState</h4>
<pre>public&nbsp;void&nbsp;setVisibleTerminalState&#8203;(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;terminalState,
boolean&nbsp;source)</pre>
<div class="block">Sets the visible source or target terminal state.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>terminalState</code> - Cell state that represents the terminal.</dd>
<dd><code>source</code> - Boolean that specifies if the source or target state should be set.</dd>
</dl>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;java.lang.Object&nbsp;clone()</pre>
<div class="block">Returns a clone of this state where all members are deeply cloned
except the view and cell references, which are copied with no
cloning to the new instance.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../com/mxgraph/util/mxRectangle.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../com/mxgraph/util/mxRectangle.html#toString--">mxRectangle</a></code></span></div>
<div class="block">Returns the <code>String</code> representation of this
<code>mxRectangle</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../com/mxgraph/util/mxRectangle.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <code>String</code> representing this
<code>mxRectangle</code>.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxCellState.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><p><b>mxGraph 3.9.12</b></p></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Class</li>
<li><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/view/mxCellState.html" target="_top">Frames</a></li>
<li><a href="mxCellState.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
</body>
</html>