1332 lines
62 KiB
HTML
1332 lines
62 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 (1.8.0_101) on Wed Mar 01 13:24:46 CET 2017 -->
|
|
<title>mxCellState (mxGraph 3.7.1 API Specification)</title>
|
|
<meta name="date" content="2017-03-01">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="mxCellState (mxGraph 3.7.1 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};
|
|
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";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= 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.7.1</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view"><span class="typeNameLink">Next 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 Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></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>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.mxgraph.view</div>
|
|
<h2 title="Class mxCellState" class="title">Class mxCellState</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<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><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<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" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and 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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#absoluteOffset">absoluteOffset</a></span></code>
|
|
<div class="block">Holds the absolute offset.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#absolutePoints">absolutePoints</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#boundingBox">boundingBox</a></span></code>
|
|
<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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#cell">cell</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#invalid">invalid</a></span></code>
|
|
<div class="block">Specifies if the state is invalid.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#label">label</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#labelBounds">labelBounds</a></span></code>
|
|
<div class="block">Holds the rectangle which contains the label.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#length">length</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#origin">origin</a></span></code>
|
|
<div class="block">Holds the origin for all child cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected double[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#segments">segments</a></span></code>
|
|
<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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#style">style</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#terminalDistance">terminalDistance</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#view">view</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#visibleSourceState">visibleSourceState</a></span></code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#visibleTargetState">visibleTargetState</a></span></code>
|
|
<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.mxRectangle">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class 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>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.com.mxgraph.util.mxPoint">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class 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>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#mxCellState--">mxCellState</a></span>()</code>
|
|
<div class="block">Constructs an empty cell state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><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>(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> view,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> style)</code>
|
|
<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" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#clone--">clone</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsoluteOffset--">getAbsoluteOffset</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsolutePoint-int-">getAbsolutePoint</a></span>(int index)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsolutePointCount--">getAbsolutePointCount</a></span>()</code>
|
|
<div class="block">Returns the number of absolute points.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getAbsolutePoints--">getAbsolutePoints</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getBoundingBox--">getBoundingBox</a></span>()</code>
|
|
<div class="block">Returns the bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getCell--">getCell</a></span>()</code>
|
|
<div class="block">Returns the cell that is represented by this state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getLabel--">getLabel</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getLabelBounds--">getLabelBounds</a></span>()</code>
|
|
<div class="block">Returns the label bounds.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getLength--">getLength</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getOrigin--">getOrigin</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getPerimeterBounds--">getPerimeterBounds</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getPerimeterBounds-double-">getPerimeterBounds</a></span>(double border)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getSegments--">getSegments</a></span>()</code>
|
|
<div class="block">Returns the length of the segments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getStyle--">getStyle</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getTerminalDistance--">getTerminalDistance</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getView--">getView</a></span>()</code>
|
|
<div class="block">Returns the enclosing graph view.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getVisibleTerminal-boolean-">getVisibleTerminal</a></span>(boolean source)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#getVisibleTerminalState-boolean-">getVisibleTerminalState</a></span>(boolean source)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#isInvalid--">isInvalid</a></span>()</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsoluteOffset-com.mxgraph.util.mxPoint-">setAbsoluteOffset</a></span>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> absoluteOffset)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsolutePoint-int-com.mxgraph.util.mxPoint-">setAbsolutePoint</a></span>(int index,
|
|
<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> point)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsolutePoints-java.util.List-">setAbsolutePoints</a></span>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> absolutePoints)</code>
|
|
<div class="block">Returns the absolute points.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setAbsoluteTerminalPoint-com.mxgraph.util.mxPoint-boolean-">setAbsoluteTerminalPoint</a></span>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> point,
|
|
boolean isSource)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setBoundingBox-com.mxgraph.util.mxRectangle-">setBoundingBox</a></span>(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> boundingBox)</code>
|
|
<div class="block">Sets the bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setCell-java.lang.Object-">setCell</a></span>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setInvalid-boolean-">setInvalid</a></span>(boolean invalid)</code>
|
|
<div class="block">Sets the invalid state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setLabel-java.lang.String-">setLabel</a></span>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code>
|
|
<div class="block">Returns the current label.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setLabelBounds-com.mxgraph.util.mxRectangle-">setLabelBounds</a></span>(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> labelBounds)</code>
|
|
<div class="block">Sets the label bounds.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setLength-double-">setLength</a></span>(double length)</code>
|
|
<div class="block">Sets the length.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setOrigin-com.mxgraph.util.mxPoint-">setOrigin</a></span>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> origin)</code>
|
|
<div class="block">Sets the origin for the children.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setSegments-double:A-">setSegments</a></span>(double[] segments)</code>
|
|
<div class="block">Sets the length of the segments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setStyle-java.util.Map-">setStyle</a></span>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> style)</code>
|
|
<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>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setTerminalDistance-double-">setTerminalDistance</a></span>(double terminalDistance)</code>
|
|
<div class="block">Sets the terminal distance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setView-com.mxgraph.view.mxGraphView-">setView</a></span>(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> view)</code>
|
|
<div class="block">Sets the enclosing graph view.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxCellState.html#setVisibleTerminalState-com.mxgraph.view.mxCellState-boolean-">setVisibleTerminalState</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminalState,
|
|
boolean source)</code>
|
|
<div class="block">Sets the visible source or target terminal state.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.com.mxgraph.util.mxRectangle">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class 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#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>, <a href="../../../com/mxgraph/util/mxRectangle.html#toString--">toString</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.com.mxgraph.util.mxPoint">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class 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.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</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 <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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell</pre>
|
|
<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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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 <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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> 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 <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 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 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 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 <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 <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 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 <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 <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 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 mxCellState(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> view,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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 boolean 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 void setInvalid(boolean 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 <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> 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 void setView(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> 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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 void setLabel(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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 void setCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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 void setStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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 <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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 void setOrigin(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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 <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getAbsolutePoint(int 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 <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> setAbsolutePoint(int index,
|
|
<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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 int 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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> 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 void setAbsolutePoints(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>> 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 <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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 void setAbsoluteOffset(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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 double 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 void setTerminalDistance(double 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 double 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 void setLength(double 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 double[] 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 void setSegments(double[] 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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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 void setLabelBounds(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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 void setBoundingBox(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getPerimeterBounds(double 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 void setAbsoluteTerminalPoint(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> point,
|
|
boolean 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 <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getVisibleTerminal(boolean 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 <a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> getVisibleTerminalState(boolean 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 void setVisibleTerminalState(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminalState,
|
|
boolean 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="blockListLast">
|
|
<li class="blockList">
|
|
<h4>clone</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> in class <code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></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.7.1</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view"><span class="typeNameLink">Next 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 Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All 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>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </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 <a href="http://www.mxgraph.com/"
|
|
target="_blank">Gaudenz Alder, David Benson</a>. All rights reserved.</font></small></p>
|
|
</body>
|
|
</html>
|