maxGraph/java/docs/com/mxgraph/model/mxCell.html

1516 lines
82 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2016-05-09 10:56:11 +00:00
<!-- Generated by javadoc (version 1.7.0_51) on Mon May 09 12:54:10 CEST 2016 -->
<title>mxCell (mxGraph 3.5.1.3 API Specification)</title>
<meta name="date" content="2016-05-09">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
2012-05-21 20:32:26 +00:00
if (location.href.indexOf('is-external=true') == -1) {
2016-05-09 10:56:11 +00:00
parent.document.title="mxCell (mxGraph 3.5.1.3 API Specification)";
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/mxCell.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>
2016-05-09 10:56:11 +00:00
<div class="aboutLanguage"><em><p><b>mxGraph 3.5.1.3</b></p></em></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../com/mxgraph/model/mxCellPath.html" title="class in com.mxgraph.model"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/model/mxCell.html" target="_top">Frames</a></li>
<li><a href="mxCell.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");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
</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>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
<div class="header">
<div class="subTitle">com.mxgraph.model</div>
<h2 title="Class mxCell" class="title">Class mxCell</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
<li>com.mxgraph.model.mxCell</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
2014-11-28 08:55:09 +00:00
<dd><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>, <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>
2014-04-01 11:30:48 +00:00
</dl>
<hr>
<br>
<pre>public class <span class="strong">mxCell</span>
2014-11-28 08:55:09 +00:00
extends <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>
implements <a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</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>, <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></pre>
2014-04-01 11:30:48 +00:00
<div class="block">Cells are the elements of the graph model. They represent the state
2012-05-21 20:32:26 +00:00
of the groups, vertices and edges in a graph.
<h4>Edge Labels</h4>
Using the x- and y-coordinates of a cell's geometry it is
possible to position the label on edges on a specific location
on the actual edge shape as it appears on the screen. The
x-coordinate of an edge's geometry is used to describe the
distance from the center of the edge from -1 to 1 with 0
being the center of the edge and the default value. The
y-coordinate of an edge's geometry is used to describe
the absolute, orthogonal distance in pixels from that
point. In addition, the mxGeometry.offset is used
as a absolute offset vector from the resulting point.
The width and height of an edge geometry are ignored.
To add more than one edge label, add a child vertex with
a relative geometry. The x- and y-coordinates of that
geometry will have the same semantiv as the above for
2014-04-01 11:30:48 +00:00
edge labels.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#com.mxgraph.model.mxCell">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" 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="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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>&lt;<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>&gt;</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#children">children</a></strong></code>
<div class="block">Holds the child cells and connected edges.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#collapsed">collapsed</a></strong></code>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
connectable, visible and collapsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#connectable">connectable</a></strong></code>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
connectable, visible and collapsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#edge">edge</a></strong></code>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
connectable, visible and collapsed.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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>&lt;<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>&gt;</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#edges">edges</a></strong></code>
<div class="block">Holds the child cells and connected edges.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#geometry">geometry</a></strong></code>
<div class="block">Holds the geometry.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#id">id</a></strong></code>
<div class="block">Holds the Id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#parent">parent</a></strong></code>
<div class="block">Reference to the parent cell and source and target terminals for edges.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#source">source</a></strong></code>
<div class="block">Reference to the parent cell and source and target terminals for edges.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#style">style</a></strong></code>
<div class="block">Holds the style as a string of the form
stylename[;key=value].</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#target">target</a></strong></code>
<div class="block">Reference to the parent cell and source and target terminals for edges.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#value">value</a></strong></code>
<div class="block">Holds the user object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#vertex">vertex</a></strong></code>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
connectable, visible and collapsed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#visible">visible</a></strong></code>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
connectable, visible and collapsed.</div>
</td>
</tr>
</table>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#mxCell()">mxCell</a></strong>()</code>
<div class="block">Constructs a new cell with an empty user object.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colOne"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#mxCell(java.lang.Object)">mxCell</a></strong>(<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>&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new cell for the given user object.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colOne"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#mxCell(java.lang.Object, com.mxgraph.model.mxGeometry, java.lang.String)">mxCell</a></strong>(<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>&nbsp;value,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry,
2014-11-28 08:55:09 +00:00
<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>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new cell for the given parameters.</div>
</td>
</tr>
</table>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#clone()">clone</a></strong>()</code>
<div class="block">Returns a clone of the cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#cloneValue()">cloneValue</a></strong>()</code>
<div class="block">Returns a clone of the user object.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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><strong><a href="../../../com/mxgraph/model/mxCell.html#getAttribute(java.lang.String)">getAttribute</a></strong>(<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>&nbsp;name)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the specified attribute from the user object if it is an XML
node.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<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><strong><a href="../../../com/mxgraph/model/mxCell.html#getAttribute(java.lang.String, java.lang.String)">getAttribute</a></strong>(<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>&nbsp;name,
<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>&nbsp;defaultValue)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the specified attribute from the user object if it is an XML
node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getChildAt(int)">getChildAt</a></strong>(int&nbsp;index)</code>
<div class="block">Returns the child at the specified index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getChildCount()">getChildCount</a></strong>()</code>
<div class="block">Returns the number of child cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getEdgeAt(int)">getEdgeAt</a></strong>(int&nbsp;index)</code>
<div class="block">Returns the edge at the specified index in the edge array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getEdgeCount()">getEdgeCount</a></strong>()</code>
<div class="block">Returns the number of edges in the edge array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getEdgeIndex(com.mxgraph.model.mxICell)">getEdgeIndex</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;edge)</code>
<div class="block">Returns the index of the specified edge in the edge array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getGeometry()">getGeometry</a></strong>()</code>
<div class="block">Returns the object that describes the geometry.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getId()">getId</a></strong>()</code>
<div class="block">Returns the Id of the cell as a string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getIndex(com.mxgraph.model.mxICell)">getIndex</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child)</code>
<div class="block">Returns the index of the specified child in the child array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getParent()">getParent</a></strong>()</code>
<div class="block">Returns the cell's parent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getSource()">getSource</a></strong>()</code>
<div class="block">Returns the source terminal.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getStyle()">getStyle</a></strong>()</code>
<div class="block">Returns the string that describes the style.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getTarget()">getTarget</a></strong>()</code>
<div class="block">Returns the target terminal.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getTerminal(boolean)">getTerminal</a></strong>(boolean&nbsp;source)</code>
<div class="block">Returns the source or target terminal.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<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>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#getValue()">getValue</a></strong>()</code>
<div class="block">Returns the user object of the cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#insert(com.mxgraph.model.mxICell)">insert</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child)</code>
<div class="block">Appends the specified child into the child array and updates the parent
reference of the child.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#insert(com.mxgraph.model.mxICell, int)">insert</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child,
int&nbsp;index)</code>
<div class="block">Inserts the specified child into the child array at the specified index
and updates the parent reference of the child.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#insertEdge(com.mxgraph.model.mxICell, boolean)">insertEdge</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;edge,
boolean&nbsp;isOutgoing)</code>
<div class="block">Inserts the specified edge into the edge array and returns the edge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#isCollapsed()">isCollapsed</a></strong>()</code>
<div class="block">Returns true if the cell is collapsed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#isConnectable()">isConnectable</a></strong>()</code>
<div class="block">Returns true if the cell is connectable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#isEdge()">isEdge</a></strong>()</code>
<div class="block">Returns true if the cell is an edge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#isVertex()">isVertex</a></strong>()</code>
<div class="block">Returns true if the cell is a vertex.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#isVisible()">isVisible</a></strong>()</code>
<div class="block">Returns true if the cell is visibile.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#remove(int)">remove</a></strong>(int&nbsp;index)</code>
<div class="block">Removes the child at the specified index from the child array and
returns the child that was removed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#remove(com.mxgraph.model.mxICell)">remove</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child)</code>
<div class="block">Removes the given child from the child array and returns it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#removeEdge(com.mxgraph.model.mxICell, boolean)">removeEdge</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;edge,
boolean&nbsp;isOutgoing)</code>
<div class="block">Removes the specified edge from the edge array and returns the edge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#removeFromParent()">removeFromParent</a></strong>()</code>
<div class="block">Removes the cell from its parent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#removeFromTerminal(boolean)">removeFromTerminal</a></strong>(boolean&nbsp;isSource)</code>
<div class="block">Removes the edge from its source or target terminal.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</a></strong>(<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>&nbsp;name,
<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>&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the specified attribute on the user object if it is an XML node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setCollapsed(boolean)">setCollapsed</a></strong>(boolean&nbsp;collapsed)</code>
<div class="block">Sets the collapsed state.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setConnectable(boolean)">setConnectable</a></strong>(boolean&nbsp;connectable)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setEdge(boolean)">setEdge</a></strong>(boolean&nbsp;edge)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setGeometry(com.mxgraph.model.mxGeometry)">setGeometry</a></strong>(<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry)</code>
<div class="block">Sets the object to be used as the geometry.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setId(java.lang.String)">setId</a></strong>(<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>&nbsp;id)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the Id of the cell to the given string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setParent(com.mxgraph.model.mxICell)">setParent</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;parent)</code>
<div class="block">Sets the parent cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setSource(com.mxgraph.model.mxICell)">setSource</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;source)</code>
<div class="block">Sets the source terminal.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setStyle(java.lang.String)">setStyle</a></strong>(<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>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the string to be used as the style.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setTarget(com.mxgraph.model.mxICell)">setTarget</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;target)</code>
<div class="block">Sets the target terminal.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setTerminal(com.mxgraph.model.mxICell, boolean)">setTerminal</a></strong>(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;terminal,
boolean&nbsp;isSource)</code>
<div class="block">Sets the source or target terminal and returns the new terminal.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setValue(java.lang.Object)">setValue</a></strong>(<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>&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the user object of the cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setVertex(boolean)">setVertex</a></strong>(boolean&nbsp;vertex)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/model/mxCell.html#setVisible(boolean)">setVisible</a></strong>(boolean&nbsp;visible)</code>
<div class="block">Specifies if the cell is visible.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
2014-11-28 08:55:09 +00:00
<h3>Methods inherited from class&nbsp;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#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <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#toString()" title="class or interface in java.lang">toString</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>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<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> id</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the Id. Default is null.</div>
</li>
</ul>
<a name="value">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>value</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<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> value</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the user object. Default is null.</div>
</li>
</ul>
<a name="geometry">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>geometry</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> geometry</pre>
<div class="block">Holds the geometry. Default is null.</div>
</li>
</ul>
<a name="style">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>style</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<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> style</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the style as a string of the form
stylename[;key=value]. Default is null.</div>
</li>
</ul>
<a name="vertex">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>vertex</h4>
<pre>protected&nbsp;boolean vertex</pre>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
2012-05-21 20:32:26 +00:00
connectable, visible and collapsed. Default values are false, false,
2014-04-01 11:30:48 +00:00
true, true and false respectively.</div>
</li>
</ul>
<a name="edge">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>edge</h4>
<pre>protected&nbsp;boolean edge</pre>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
2012-05-21 20:32:26 +00:00
connectable, visible and collapsed. Default values are false, false,
2014-04-01 11:30:48 +00:00
true, true and false respectively.</div>
</li>
</ul>
<a name="connectable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectable</h4>
<pre>protected&nbsp;boolean connectable</pre>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
2012-05-21 20:32:26 +00:00
connectable, visible and collapsed. Default values are false, false,
2014-04-01 11:30:48 +00:00
true, true and false respectively.</div>
</li>
</ul>
<a name="visible">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visible</h4>
<pre>protected&nbsp;boolean visible</pre>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
2012-05-21 20:32:26 +00:00
connectable, visible and collapsed. Default values are false, false,
2014-04-01 11:30:48 +00:00
true, true and false respectively.</div>
</li>
</ul>
<a name="collapsed">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>collapsed</h4>
<pre>protected&nbsp;boolean collapsed</pre>
<div class="block">Specifies whether the cell is a vertex or edge and whether it is
2012-05-21 20:32:26 +00:00
connectable, visible and collapsed. Default values are false, false,
2014-04-01 11:30:48 +00:00
true, true and false respectively.</div>
</li>
</ul>
<a name="parent">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parent</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a> parent</pre>
<div class="block">Reference to the parent cell and source and target terminals for edges.</div>
</li>
</ul>
<a name="source">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>source</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a> source</pre>
<div class="block">Reference to the parent cell and source and target terminals for edges.</div>
</li>
</ul>
<a name="target">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>target</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a> target</pre>
<div class="block">Reference to the parent cell and source and target terminals for edges.</div>
</li>
</ul>
<a name="children">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>children</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<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>&lt;<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>&gt; children</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the child cells and connected edges.</div>
</li>
</ul>
<a name="edges">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>edges</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<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>&lt;<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>&gt; edges</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the child cells and connected edges.</div>
</li>
</ul>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="mxCell()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxCell</h4>
<pre>public&nbsp;mxCell()</pre>
<div class="block">Constructs a new cell with an empty user object.</div>
</li>
</ul>
<a name="mxCell(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxCell</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;mxCell(<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>&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new cell for the given user object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Object that represents the value of the cell.</dd></dl>
</li>
</ul>
<a name="mxCell(java.lang.Object, com.mxgraph.model.mxGeometry, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxCell</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;mxCell(<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>&nbsp;value,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry,
2014-11-28 08:55:09 +00:00
<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>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new cell for the given parameters.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Object that represents the value of the cell.</dd><dd><code>geometry</code> - Specifies the geometry of the cell.</dd><dd><code>style</code> - Specifies the style as a formatted string.</dd></dl>
</li>
</ul>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getId</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<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>&nbsp;getId()</pre>
2014-04-01 11:30:48 +00:00
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getId()">mxICell</a></code></strong></div>
<div class="block">Returns the Id of the cell as a string.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getId()">getId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the Id.</dd></dl>
</li>
</ul>
<a name="setId(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setId</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setId(<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>&nbsp;id)</pre>
2014-04-01 11:30:48 +00:00
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setId(java.lang.String)">mxICell</a></code></strong></div>
<div class="block">Sets the Id of the cell to the given string.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setId(java.lang.String)">setId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - String that represents the new Id.</dd></dl>
</li>
</ul>
<a name="getValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<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>&nbsp;getValue()</pre>
2014-04-01 11:30:48 +00:00
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getValue()">mxICell</a></code></strong></div>
<div class="block">Returns the user object of the cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getValue()">getValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the user object.</dd></dl>
</li>
</ul>
<a name="setValue(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setValue(<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>&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setValue(java.lang.Object)">mxICell</a></code></strong></div>
<div class="block">Sets the user object of the cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setValue(java.lang.Object)">setValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Object that represents the new value.</dd></dl>
</li>
</ul>
<a name="getGeometry()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGeometry</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;getGeometry()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getGeometry()">mxICell</a></code></strong></div>
<div class="block">Returns the object that describes the geometry.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getGeometry()">getGeometry</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the cell geometry.</dd></dl>
</li>
</ul>
<a name="setGeometry(com.mxgraph.model.mxGeometry)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGeometry</h4>
<pre>public&nbsp;void&nbsp;setGeometry(<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setGeometry(com.mxgraph.model.mxGeometry)">mxICell</a></code></strong></div>
<div class="block">Sets the object to be used as the geometry.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setGeometry(com.mxgraph.model.mxGeometry)">setGeometry</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
</dl>
</li>
</ul>
<a name="getStyle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyle</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<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>&nbsp;getStyle()</pre>
2014-04-01 11:30:48 +00:00
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getStyle()">mxICell</a></code></strong></div>
<div class="block">Returns the string that describes the style.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getStyle()">getStyle</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the cell style.</dd></dl>
</li>
</ul>
<a name="setStyle(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStyle</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setStyle(<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>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setStyle(java.lang.String)">mxICell</a></code></strong></div>
<div class="block">Sets the string to be used as the style.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setStyle(java.lang.String)">setStyle</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
</dl>
</li>
</ul>
<a name="isVertex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVertex</h4>
<pre>public&nbsp;boolean&nbsp;isVertex()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#isVertex()">mxICell</a></code></strong></div>
<div class="block">Returns true if the cell is a vertex.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#isVertex()">isVertex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns true if the cell is a vertex.</dd></dl>
</li>
</ul>
<a name="setVertex(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVertex</h4>
<pre>public&nbsp;void&nbsp;setVertex(boolean&nbsp;vertex)</pre>
</li>
</ul>
<a name="isEdge()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEdge</h4>
<pre>public&nbsp;boolean&nbsp;isEdge()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#isEdge()">mxICell</a></code></strong></div>
<div class="block">Returns true if the cell is an edge.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#isEdge()">isEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns true if the cell is an edge.</dd></dl>
</li>
</ul>
<a name="setEdge(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEdge</h4>
<pre>public&nbsp;void&nbsp;setEdge(boolean&nbsp;edge)</pre>
</li>
</ul>
<a name="isConnectable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnectable</h4>
<pre>public&nbsp;boolean&nbsp;isConnectable()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#isConnectable()">mxICell</a></code></strong></div>
<div class="block">Returns true if the cell is connectable.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#isConnectable()">isConnectable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the connectable state.</dd></dl>
</li>
</ul>
<a name="setConnectable(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectable</h4>
<pre>public&nbsp;void&nbsp;setConnectable(boolean&nbsp;connectable)</pre>
</li>
</ul>
<a name="isVisible()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVisible</h4>
<pre>public&nbsp;boolean&nbsp;isVisible()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#isVisible()">mxICell</a></code></strong></div>
<div class="block">Returns true if the cell is visibile.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#isVisible()">isVisible</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the visible state.</dd></dl>
</li>
</ul>
<a name="setVisible(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisible</h4>
<pre>public&nbsp;void&nbsp;setVisible(boolean&nbsp;visible)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setVisible(boolean)">mxICell</a></code></strong></div>
<div class="block">Specifies if the cell is visible.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setVisible(boolean)">setVisible</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>visible</code> - Boolean that specifies the new visible state.</dd></dl>
</li>
</ul>
<a name="isCollapsed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCollapsed</h4>
<pre>public&nbsp;boolean&nbsp;isCollapsed()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#isCollapsed()">mxICell</a></code></strong></div>
<div class="block">Returns true if the cell is collapsed.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#isCollapsed()">isCollapsed</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the collapsed state.</dd></dl>
</li>
</ul>
<a name="setCollapsed(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCollapsed</h4>
<pre>public&nbsp;void&nbsp;setCollapsed(boolean&nbsp;collapsed)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setCollapsed(boolean)">mxICell</a></code></strong></div>
<div class="block">Sets the collapsed state.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setCollapsed(boolean)">setCollapsed</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>collapsed</code> - Boolean that specifies the new collapsed state.</dd></dl>
</li>
</ul>
<a name="getParent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;getParent()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getParent()">mxICell</a></code></strong></div>
<div class="block">Returns the cell's parent.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getParent()">getParent</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the parent cell.</dd></dl>
</li>
</ul>
<a name="setParent(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setParent</h4>
<pre>public&nbsp;void&nbsp;setParent(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;parent)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setParent(com.mxgraph.model.mxICell)">mxICell</a></code></strong></div>
<div class="block">Sets the parent cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setParent(com.mxgraph.model.mxICell)">setParent</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that represents the new parent.</dd></dl>
</li>
</ul>
<a name="getSource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSource</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;getSource()</pre>
<div class="block">Returns the source terminal.</div>
</li>
</ul>
<a name="setSource(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSource</h4>
<pre>public&nbsp;void&nbsp;setSource(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;source)</pre>
<div class="block">Sets the source terminal.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Cell that represents the new source terminal.</dd></dl>
</li>
</ul>
<a name="getTarget()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTarget</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;getTarget()</pre>
<div class="block">Returns the target terminal.</div>
</li>
</ul>
<a name="setTarget(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTarget</h4>
<pre>public&nbsp;void&nbsp;setTarget(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;target)</pre>
<div class="block">Sets the target terminal.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - Cell that represents the new target terminal.</dd></dl>
</li>
</ul>
<a name="getTerminal(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTerminal</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;getTerminal(boolean&nbsp;source)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getTerminal(boolean)">mxICell</a></code></strong></div>
<div class="block">Returns the source or target terminal.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getTerminal(boolean)">getTerminal</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Boolean that specifies if the source terminal should be
returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the source or target terminal.</dd></dl>
</li>
</ul>
<a name="setTerminal(com.mxgraph.model.mxICell, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTerminal</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;setTerminal(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;terminal,
boolean&nbsp;isSource)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#setTerminal(com.mxgraph.model.mxICell, boolean)">mxICell</a></code></strong></div>
<div class="block">Sets the source or target terminal and returns the new terminal.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#setTerminal(com.mxgraph.model.mxICell, boolean)">setTerminal</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>terminal</code> - Cell that represents the new source or target terminal.</dd><dd><code>isSource</code> - Boolean that specifies if the source or target terminal
should be set.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the new terminal.</dd></dl>
</li>
</ul>
<a name="getChildCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildCount</h4>
<pre>public&nbsp;int&nbsp;getChildCount()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getChildCount()">mxICell</a></code></strong></div>
<div class="block">Returns the number of child cells.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getChildCount()">getChildCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the number of children.</dd></dl>
</li>
</ul>
<a name="getIndex(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndex</h4>
<pre>public&nbsp;int&nbsp;getIndex(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getIndex(com.mxgraph.model.mxICell)">mxICell</a></code></strong></div>
<div class="block">Returns the index of the specified child in the child array.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getIndex(com.mxgraph.model.mxICell)">getIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - Child whose index should be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the index of the given child.</dd></dl>
</li>
</ul>
<a name="getChildAt(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildAt</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;getChildAt(int&nbsp;index)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getChildAt(int)">mxICell</a></code></strong></div>
<div class="block">Returns the child at the specified index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getChildAt(int)">getChildAt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Integer that specifies the child to be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the child at the given index.</dd></dl>
</li>
</ul>
<a name="insert(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insert</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;insert(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#insert(com.mxgraph.model.mxICell)">mxICell</a></code></strong></div>
<div class="block">Appends the specified child into the child array and updates the parent
reference of the child. Returns the appended child.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#insert(com.mxgraph.model.mxICell)">insert</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - Cell to be appended to the child array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the new child.</dd></dl>
</li>
</ul>
<a name="insert(com.mxgraph.model.mxICell, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insert</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;insert(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child,
int&nbsp;index)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#insert(com.mxgraph.model.mxICell, int)">mxICell</a></code></strong></div>
<div class="block">Inserts the specified child into the child array at the specified index
and updates the parent reference of the child. Returns the inserted child.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#insert(com.mxgraph.model.mxICell, int)">insert</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - Cell to be inserted into the child array.</dd><dd><code>index</code> - Integer that specifies the index at which the child should
be inserted into the child array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the new child.</dd></dl>
</li>
</ul>
<a name="remove(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;remove(int&nbsp;index)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#remove(int)">mxICell</a></code></strong></div>
<div class="block">Removes the child at the specified index from the child array and
2012-05-21 20:32:26 +00:00
returns the child that was removed. Will remove the parent reference of
2014-04-01 11:30:48 +00:00
the child.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#remove(int)">remove</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Integer that specifies the index of the child to be
removed.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the child that was removed.</dd></dl>
</li>
</ul>
<a name="remove(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;remove(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;child)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#remove(com.mxgraph.model.mxICell)">mxICell</a></code></strong></div>
<div class="block">Removes the given child from the child array and returns it. Will remove
the parent reference of the child.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#remove(com.mxgraph.model.mxICell)">remove</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - Cell that represents the child to be removed.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the child that was removed.</dd></dl>
</li>
</ul>
<a name="removeFromParent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeFromParent</h4>
<pre>public&nbsp;void&nbsp;removeFromParent()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#removeFromParent()">mxICell</a></code></strong></div>
<div class="block">Removes the cell from its parent.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#removeFromParent()">removeFromParent</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
</dl>
</li>
</ul>
<a name="getEdgeCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeCount</h4>
<pre>public&nbsp;int&nbsp;getEdgeCount()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getEdgeCount()">mxICell</a></code></strong></div>
<div class="block">Returns the number of edges in the edge array.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getEdgeCount()">getEdgeCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the number of edges.</dd></dl>
</li>
</ul>
<a name="getEdgeIndex(com.mxgraph.model.mxICell)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeIndex</h4>
<pre>public&nbsp;int&nbsp;getEdgeIndex(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;edge)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getEdgeIndex(com.mxgraph.model.mxICell)">mxICell</a></code></strong></div>
<div class="block">Returns the index of the specified edge in the edge array.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getEdgeIndex(com.mxgraph.model.mxICell)">getEdgeIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Cell whose index should be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the index of the given edge.</dd></dl>
</li>
</ul>
<a name="getEdgeAt(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeAt</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;getEdgeAt(int&nbsp;index)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#getEdgeAt(int)">mxICell</a></code></strong></div>
<div class="block">Returns the edge at the specified index in the edge array.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#getEdgeAt(int)">getEdgeAt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - Integer that specifies the index of the edge to be
returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the edge at the given index.</dd></dl>
</li>
</ul>
<a name="insertEdge(com.mxgraph.model.mxICell, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertEdge</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;insertEdge(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;edge,
boolean&nbsp;isOutgoing)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#insertEdge(com.mxgraph.model.mxICell, boolean)">mxICell</a></code></strong></div>
<div class="block">Inserts the specified edge into the edge array and returns the edge.
Will update the respective terminal reference of the edge.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#insertEdge(com.mxgraph.model.mxICell, boolean)">insertEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Cell to be inserted into the edge array.</dd><dd><code>isOutgoing</code> - Boolean that specifies if the edge is outgoing.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the new edge.</dd></dl>
</li>
</ul>
<a name="removeEdge(com.mxgraph.model.mxICell, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEdge</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;removeEdge(<a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;edge,
boolean&nbsp;isOutgoing)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#removeEdge(com.mxgraph.model.mxICell, boolean)">mxICell</a></code></strong></div>
<div class="block">Removes the specified edge from the edge array and returns the edge.
Will remove the respective terminal reference from the edge.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#removeEdge(com.mxgraph.model.mxICell, boolean)">removeEdge</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Cell to be removed from the edge array.</dd><dd><code>isOutgoing</code> - Boolean that specifies if the edge is outgoing.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the edge that was removed.</dd></dl>
</li>
</ul>
<a name="removeFromTerminal(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeFromTerminal</h4>
<pre>public&nbsp;void&nbsp;removeFromTerminal(boolean&nbsp;isSource)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html#removeFromTerminal(boolean)">mxICell</a></code></strong></div>
<div class="block">Removes the edge from its source or target terminal.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#removeFromTerminal(boolean)">removeFromTerminal</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>isSource</code> - Boolean that specifies if the edge should be removed
from its source or target terminal.</dd></dl>
</li>
</ul>
<a name="getAttribute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<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>&nbsp;getAttribute(<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>&nbsp;name)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the specified attribute from the user object if it is an XML
node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of the attribute whose value should be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the value of the given attribute or null.</dd></dl>
</li>
</ul>
<a name="getAttribute(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<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>&nbsp;getAttribute(<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>&nbsp;name,
<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>&nbsp;defaultValue)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the specified attribute from the user object if it is an XML
node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of the attribute whose value should be returned.</dd><dd><code>defaultValue</code> - Default value to use if the attribute has no value.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the value of the given attribute or defaultValue.</dd></dl>
</li>
</ul>
<a name="setAttribute(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setAttribute(<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>&nbsp;name,
<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>&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the specified attribute on the user object if it is an XML node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Name of the attribute whose value should be set.</dd><dd><code>value</code> - New value of the attribute.</dd></dl>
</li>
</ul>
<a name="clone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<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>&nbsp;clone()
throws <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</a></pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a clone of the cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/mxgraph/model/mxICell.html#clone()">clone</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/model/mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></dd>
<dt><strong>Overrides:</strong></dt>
2014-11-28 08:55:09 +00:00
<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<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></dd>
2014-04-01 11:30:48 +00:00
<dt><span class="strong">Returns:</span></dt><dd>Returns a clone of this cell.</dd>
<dt><span class="strong">Throws:</span></dt>
2014-11-28 08:55:09 +00:00
<dd><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</a></code></dd></dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="cloneValue()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>cloneValue</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<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>&nbsp;cloneValue()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a clone of the user object. This implementation clones any XML
nodes or otherwise returns the same user object instance.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2014-04-01 11:30:48 +00:00
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/mxCell.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>
2016-05-09 10:56:11 +00:00
<div class="aboutLanguage"><em><p><b>mxGraph 3.5.1.3</b></p></em></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../com/mxgraph/model/mxCellPath.html" title="class in com.mxgraph.model"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/model/mxCell.html" target="_top">Frames</a></li>
<li><a href="mxCell.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");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
</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>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
<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>