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

2777 lines
133 KiB
HTML
Raw Normal View History

2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2019-07-02 06:45:58 +00:00
<!-- Generated by javadoc (11.0.3) on Tue Jul 02 06:43:02 UTC 2019 -->
<title>mxGraphModel (mxGraph 4.0.1 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2019-07-02 06:45:58 +00:00
<meta name="dc.created" content="2019-07-02">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
2018-11-06 11:46:01 +00:00
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../script.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
2019-07-02 06:45:58 +00:00
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
2014-04-01 11:30:48 +00:00
</head>
<body>
<script type="text/javascript"><!--
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2019-07-02 06:45:58 +00:00
parent.document.title="mxGraphModel (mxGraph 4.0.1 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2019-07-02 06:45:58 +00:00
var data = {"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":9,"i15":9,"i16":9,"i17":10,"i18":10,"i19":10,"i20":10,"i21":9,"i22":10,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":10,"i31":10,"i32":9,"i33":9,"i34":9,"i35":9,"i36":10,"i37":9,"i38":10,"i39":9,"i40":9,"i41":10,"i42":9,"i43":10,"i44":9,"i45":10,"i46":10,"i47":10,"i48":9,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":9,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10};
2016-06-02 09:57:18 +00:00
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2019-07-02 06:45:58 +00:00
<header role="banner">
<nav role="navigation">
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
<div class="topNav"><a id="navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxGraphModel.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>
2019-07-02 06:45:58 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.1</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
2019-07-02 06:45:58 +00:00
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
2018-11-06 11:46:01 +00:00
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
2014-04-01 11:30:48 +00:00
<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>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#nested.class.summary">Nested</a>&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>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<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>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
2019-07-02 06:45:58 +00:00
</nav>
</header>
2012-05-21 20:32:26 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2019-07-02 06:45:58 +00:00
<main role="main">
2014-04-01 11:30:48 +00:00
<div class="header">
2019-07-02 06:45:58 +00:00
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.mxgraph.model</a></div>
2014-04-01 11:30:48 +00:00
<h2 title="Class mxGraphModel" class="title">Class mxGraphModel</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
2017-11-24 16:16:54 +00:00
<li>java.lang.Object</li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
2019-07-02 06:45:58 +00:00
<li><a href="../util/mxEventSource.html" title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</a></li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
<li>com.mxgraph.model.mxGraphModel</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code>, <code>java.io.Serializable</code></dd>
2014-04-01 11:30:48 +00:00
</dl>
<hr>
2016-06-02 09:57:18 +00:00
<pre>public class <span class="typeNameLabel">mxGraphModel</span>
2019-07-02 06:45:58 +00:00
extends <a href="../util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a>
implements <a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>, java.io.Serializable</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Extends mxEventSource to implement a graph model. The graph model acts as
2012-05-21 20:32:26 +00:00
a wrapper around the cells which are in charge of storing the actual graph
datastructure. The model acts as a transactional wrapper with event
notification for all changes, whereas the cells contain the atomic
operations for updating the actual datastructure.
Layers:
The cell hierarchy in the model must have a top-level root cell which
contains the layers (typically one default layer), which in turn contain the
top-level cells of the layers. This means each cell is contained in a layer.
If no layers are required, then all new cells should be added to the default
layer.
Layers are useful for hiding and showing groups of cells, or for placing
groups of cells on top of other cells in the display. To identify a layer,
the <isLayer> function is used. It returns true if the parent of the given
cell is the root of the model.
This class fires the following events:
mxEvent.CHANGE fires when an undoable edit is dispatched. The <code>edit</code>
property contains the mxUndoableEdit. The <code>changes</code> property
contains the list of undoable changes inside the undoable edit. The changes
property is deprecated, please use edit.getChanges() instead.
mxEvent.EXECUTE fires between begin- and endUpdate and after an atomic
change was executed in the model. The <code>change</code> property contains
the atomic change that was executed.
mxEvent.BEGIN_UPDATE fires after the updateLevel was incremented in
beginUpdate. This event contains no properties.
mxEvent.END_UPDATE fires after the updateLevel was decreased in endUpdate
but before any notification or change dispatching. The <code>edit</code>
property contains the current mxUndoableEdit.
mxEvent.BEFORE_UNDO fires before the change is dispatched after the update
level has reached 0 in endUpdate. The <code>edit</code> property contains
the current mxUndoableEdit.
mxEvent.UNDO fires after the change was dispatched in endUpdate. The
2014-04-01 11:30:48 +00:00
<code>edit</code> property contains the current mxUndoableEdit.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#com.mxgraph.model.mxGraphModel">Serialized Form</a></dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="nested.class.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Nested Class Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2014-04-01 11:30:48 +00:00
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxChildChange.html" title="class in com.mxgraph.model">mxGraphModel.mxChildChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxCollapseChange.html" title="class in com.mxgraph.model">mxGraphModel.mxCollapseChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxGeometryChange.html" title="class in com.mxgraph.model">mxGraphModel.mxGeometryChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxRootChange.html" title="class in com.mxgraph.model">mxGraphModel.mxRootChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxStyleChange.html" title="class in com.mxgraph.model">mxGraphModel.mxStyleChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxTerminalChange.html" title="class in com.mxgraph.model">mxGraphModel.mxTerminalChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxValueChange.html" title="class in com.mxgraph.model">mxGraphModel.mxValueChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="mxGraphModel.mxVisibleChange.html" title="class in com.mxgraph.model">mxGraphModel.mxVisibleChange</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
</table>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="nested.classes.inherited.from.class.com.mxgraph.util.mxEventSource">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Nested classes/interfaces inherited from class&nbsp;com.mxgraph.util.<a href="../util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><a href="../util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="nested.classes.inherited.from.class.com.mxgraph.model.mxIGraphModel">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Nested classes/interfaces inherited from interface&nbsp;com.mxgraph.model.<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></h3>
<code><a href="mxIGraphModel.mxAtomicGraphModelChange.html" title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="field.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Field Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2014-04-01 11:30:48 +00:00
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>protected java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cells">cells</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Maps from Ids to cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createIds">createIds</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if the model should automatically create Ids for new cells.</div>
</td>
</tr>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>protected <a href="../util/mxUndoableEdit.html" title="class in com.mxgraph.util">mxUndoableEdit</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#currentEdit">currentEdit</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Holds the changes for the current transaction.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endingUpdate">endingUpdate</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maintainEdgeParent">maintainEdgeParent</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if edges should automatically be moved into the nearest common
ancestor of their terminals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nextId">nextId</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Specifies the next Id to be created.</div>
</td>
</tr>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>protected <a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#root">root</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Holds the root cell, which in turn contains the cells that represent the
layers of the diagram as child cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateLevel">updateLevel</a></span></code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Counter for the depth of nested transactions.</div>
</td>
</tr>
</table>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="fields.inherited.from.class.com.mxgraph.util.mxEventSource">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Fields inherited from class&nbsp;com.mxgraph.util.<a href="../util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><a href="../util/mxEventSource.html#eventListeners">eventListeners</a>, <a href="../util/mxEventSource.html#eventsEnabled">eventsEnabled</a>, <a href="../util/mxEventSource.html#eventSource">eventSource</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="constructor.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2014-04-01 11:30:48 +00:00
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">mxGraphModel</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new empty graph model.</div>
</td>
</tr>
<tr class="rowColor">
2019-07-02 06:45:58 +00:00
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.Object)">mxGraphModel</a></span>&#8203;(java.lang.Object&nbsp;root)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new graph model.</div>
</td>
</tr>
</table>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2016-06-02 09:57:18 +00:00
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i0" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(java.lang.Object,java.lang.Object,int)">add</a></span>&#8203;(java.lang.Object&nbsp;parent,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;child,
2018-11-06 11:46:01 +00:00
int&nbsp;index)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Adds the specified child to the parent at the given index.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i1" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#beginUpdate()">beginUpdate</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Increments the updateLevel by one.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i2" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cellAdded(java.lang.Object)">cellAdded</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Invoked after a cell has been added to a parent.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i3" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cellRemoved(java.lang.Object)">cellRemoved</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Invoked after a cell has been removed from the model.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i4" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets a new root using createRoot.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i5" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>protected java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cloneCell(java.lang.Object,java.util.Map,boolean)">cloneCell</a></span>&#8203;(java.lang.Object&nbsp;cell,
java.util.Map&lt;java.lang.Object,&#8203;java.lang.Object&gt;&nbsp;mapping,
2018-11-06 11:46:01 +00:00
boolean&nbsp;includeChildren)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper method for cloning cells recursively.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i6" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cloneCells(java.lang.Object%5B%5D,boolean)">cloneCells</a></span>&#8203;(java.lang.Object[]&nbsp;cells,
2018-11-06 11:46:01 +00:00
boolean&nbsp;includeChildren)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns an array of clones for the given array of cells.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i7" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collapsedStateForCellChanged(java.lang.Object,boolean)">collapsedStateForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
boolean&nbsp;collapsed)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the collapsed state of the
2012-05-21 20:32:26 +00:00
given mxCell using mxCell.setCollapsed and return
2014-04-01 11:30:48 +00:00
the previous collapsed state.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i8" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(java.lang.Object)">contains</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the model contains the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i9" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.String</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createId(java.lang.Object)">createId</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new Id for the given cell and increments the global counter
for creating new Ids.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i10" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createRoot()">createRoot</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new root cell with a default layer (child 0).</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i11" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>protected <a href="../util/mxUndoableEdit.html" title="class in com.mxgraph.util">mxUndoableEdit</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createUndoableEdit()">createUndoableEdit</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new undoable edit.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i12" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endUpdate()">endUpdate</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i13" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#execute(com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange)">execute</a></span>&#8203;(<a href="mxIGraphModel.mxAtomicGraphModelChange.html" title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a>&nbsp;change)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Executes the given atomic change and adds it to the current edit.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i14" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filterCells(java.lang.Object%5B%5D,com.mxgraph.model.mxGraphModel.Filter)">filterCells</a></span>&#8203;(java.lang.Object[]&nbsp;cells,
<a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a>&nbsp;filter)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i15" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.util.Collection&lt;java.lang.Object&gt;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filterDescendants(com.mxgraph.model.mxIGraphModel,com.mxgraph.model.mxGraphModel.Filter)">filterDescendants</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
<a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a>&nbsp;filter)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Creates a collection of cells using the visitor pattern.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i16" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.util.Collection&lt;java.lang.Object&gt;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filterDescendants(com.mxgraph.model.mxIGraphModel,com.mxgraph.model.mxGraphModel.Filter,java.lang.Object)">filterDescendants</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
<a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a>&nbsp;filter,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;parent)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Creates a collection of cells using the visitor pattern.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i17" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>protected <a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#geometryForCellChanged(java.lang.Object,com.mxgraph.model.mxGeometry)">geometryForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;cell,
<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i18" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCell(java.lang.String)">getCell</a></span>&#8203;(java.lang.String&nbsp;id)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cell for the specified Id or null if no cell can be
found for the given Id.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i19" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCells()">getCells</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the internal lookup table that is used to map from Ids to cells.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i20" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildAt(java.lang.Object,int)">getChildAt</a></span>&#8203;(java.lang.Object&nbsp;parent,
2018-11-06 11:46:01 +00:00
int&nbsp;index)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the child of the given parent at the given index.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i21" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildCells(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean,boolean)">getChildCells</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;vertices,
2018-11-06 11:46:01 +00:00
boolean&nbsp;edges)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the children of the given cell that are vertices and/or edges
depending on the arguments.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i22" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildCount(java.lang.Object)">getChildCount</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of children in the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i23" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getChildEdges</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;parent)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the child edges of the given parent.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i24" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildren(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getChildren</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;parent)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all children of the given cell regardless of their type.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i25" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildVertices(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getChildVertices</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;parent)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the child vertices of the given parent.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i26" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnections(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getConnections</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;cell)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges connected to this cell without loops.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i27" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.util.Collection&lt;java.lang.Object&gt;</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDescendants(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getDescendants</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;parent)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns a all descendants of the given cell and the cell itself
as a collection.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i28" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>static int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean)">getDirectedEdgeCount</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
boolean&nbsp;outgoing)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of incoming or outgoing edges.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i29" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>static int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean,java.lang.Object)">getDirectedEdgeCount</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;outgoing,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;ignoredEdge)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of incoming or outgoing edges, ignoring the given
edge.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i30" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgeAt(java.lang.Object,int)">getEdgeAt</a></span>&#8203;(java.lang.Object&nbsp;parent,
2018-11-06 11:46:01 +00:00
int&nbsp;index)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the edge of cell at the given index.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i31" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgeCount(java.lang.Object)">getEdgeCount</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of distinct edges connected to the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i32" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getEdges</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;cell)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges connected to this cell including loops.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i33" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean,boolean,boolean)">getEdges</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;incoming,
boolean&nbsp;outgoing,
2018-11-06 11:46:01 +00:00
boolean&nbsp;includeLoops)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all distinct edges connected to this cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i34" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgesBetween(com.mxgraph.model.mxIGraphModel,java.lang.Object,java.lang.Object)">getEdgesBetween</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;source,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;target)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges from the given source to the given target.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i35" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgesBetween(com.mxgraph.model.mxIGraphModel,java.lang.Object,java.lang.Object,boolean)">getEdgesBetween</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;source,
java.lang.Object&nbsp;target,
2018-11-06 11:46:01 +00:00
boolean&nbsp;directed)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges between the given source and target pair.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i36" class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code><a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGeometry(java.lang.Object)">getGeometry</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the geometry of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i37" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIncomingEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getIncomingEdges</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;cell)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the incoming edges of the given cell without loops.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i38" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNearestCommonAncestor(java.lang.Object,java.lang.Object)">getNearestCommonAncestor</a></span>&#8203;(java.lang.Object&nbsp;cell1,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;cell2)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the nearest common ancestor for the specified cells.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i39" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOpposites(com.mxgraph.model.mxIGraphModel,java.lang.Object%5B%5D,java.lang.Object)">getOpposites</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object[]&nbsp;edges,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;terminal)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all opposite cells of terminal for the given edges.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i40" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOpposites(com.mxgraph.model.mxIGraphModel,java.lang.Object%5B%5D,java.lang.Object,boolean,boolean)">getOpposites</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object[]&nbsp;edges,
java.lang.Object&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;sources,
2018-11-06 11:46:01 +00:00
boolean&nbsp;targets)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns all opposite vertices wrt terminal for the given edges, only
returning sources and/or targets as specified.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i41" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code><a href="../util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOrigin(java.lang.Object)">getOrigin</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the absolute, accumulated origin for the children inside the
given parent.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i42" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOutgoingEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">getOutgoingEdges</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;cell)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the outgoing edges of the given cell without loops.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i43" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getParent(java.lang.Object)">getParent</a></span>&#8203;(java.lang.Object&nbsp;child)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the parent of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i44" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getParents(com.mxgraph.model.mxIGraphModel,java.lang.Object%5B%5D)">getParents</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object[]&nbsp;cells)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i45" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRoot()">getRoot</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the root of the model or the topmost parent of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i46" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.String</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStyle(java.lang.Object)">getStyle</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the style of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i47" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTerminal(java.lang.Object,boolean)">getTerminal</a></span>&#8203;(java.lang.Object&nbsp;edge,
2018-11-06 11:46:01 +00:00
boolean&nbsp;isSource)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i48" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>static java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTopmostCells(com.mxgraph.model.mxIGraphModel,java.lang.Object%5B%5D)">getTopmostCells</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2018-11-06 11:46:01 +00:00
java.lang.Object[]&nbsp;cells)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Function: getTopmostCells
2012-05-21 20:32:26 +00:00
Returns the topmost cells of the hierarchy in an array that contains no
2014-04-01 11:30:48 +00:00
desceandants for each <mxCell> that it contains.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i49" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUpdateLevel()">getUpdateLevel</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i50" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getValue(java.lang.Object)">getValue</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns the user object of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i51" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAncestor(java.lang.Object,java.lang.Object)">isAncestor</a></span>&#8203;(java.lang.Object&nbsp;parent,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;child)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given parent is an ancestor of the given child.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i52" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCollapsed(java.lang.Object)">isCollapsed</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is collapsed.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i53" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isConnectable(java.lang.Object)">isConnectable</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is connectable.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i54" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCreateIds()">isCreateIds</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the model automatically creates Ids and resolves Id
collisions.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i55" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEdge(java.lang.Object)">isEdge</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is an edge.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i56" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMaintainEdgeParent()">isMaintainEdgeParent</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the model automatically update parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i57" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isVertex(java.lang.Object)">isVertex</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a vertex.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i58" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isVisible(java.lang.Object)">isVisible</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is visible.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i59" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mergeChildren(com.mxgraph.model.mxICell,com.mxgraph.model.mxICell,boolean)">mergeChildren</a></span>&#8203;(<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;from,
<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;to,
2018-11-06 11:46:01 +00:00
boolean&nbsp;cloneAllEdges)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Merges the children of the given cell into the given target cell inside
this model.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i60" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mergeChildrenImpl(com.mxgraph.model.mxICell,com.mxgraph.model.mxICell,boolean,java.util.Hashtable)">mergeChildrenImpl</a></span>&#8203;(<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;from,
<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;to,
2014-04-01 11:30:48 +00:00
boolean&nbsp;cloneAllEdges,
2019-07-02 06:45:58 +00:00
java.util.Hashtable&lt;java.lang.Object,&#8203;java.lang.Object&gt;&nbsp;mapping)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Clones the children of the source cell into the given target cell in
2012-05-21 20:32:26 +00:00
this model and adds an entry to the mapping that maps from the source
cell to the target cell with the same id or the clone of the source cell
2014-04-01 11:30:48 +00:00
that was inserted into this model.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i61" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>protected java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parentForCellChanged(java.lang.Object,java.lang.Object,int)">parentForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent,
2018-11-06 11:46:01 +00:00
int&nbsp;index)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the parent of a cell using mxCell.insert
on the parent and return the previous parent.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i62" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object)">remove</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Removes the specified cell from the model.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i63" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#restoreClone(java.lang.Object,java.lang.Object,java.util.Map)">restoreClone</a></span>&#8203;(java.lang.Object&nbsp;clone,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2019-07-02 06:45:58 +00:00
java.util.Map&lt;java.lang.Object,&#8203;java.lang.Object&gt;&nbsp;mapping)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper method for restoring the connections in
a network of cloned cells.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i64" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>protected java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rootChanged(java.lang.Object)">rootChanged</a></span>&#8203;(java.lang.Object&nbsp;root)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to change the root of the model and update the internal
datastructures, such as cells and nextId.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i65" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCollapsed(java.lang.Object,boolean)">setCollapsed</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
boolean&nbsp;collapsed)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the collapsed state of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i66" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCreateIds(boolean)">setCreateIds</a></span>&#8203;(boolean&nbsp;value)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if the model automatically creates Ids for new cells and
resolves Id collisions.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i67" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code><a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setGeometry(java.lang.Object,com.mxgraph.model.mxGeometry)">setGeometry</a></span>&#8203;(java.lang.Object&nbsp;cell,
<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the geometry of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i68" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaintainEdgeParent(boolean)">setMaintainEdgeParent</a></span>&#8203;(boolean&nbsp;maintainEdgeParent)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if the model automatically updates parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i69" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRoot(java.lang.Object)">setRoot</a></span>&#8203;(java.lang.Object&nbsp;root)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the root of the model and resets all structures.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i70" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.String</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStyle(java.lang.Object,java.lang.String)">setStyle</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
java.lang.String&nbsp;style)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the style of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i71" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTerminal(java.lang.Object,java.lang.Object,boolean)">setTerminal</a></span>&#8203;(java.lang.Object&nbsp;edge,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;terminal,
2018-11-06 11:46:01 +00:00
boolean&nbsp;isSource)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the source or target terminal of the given edge using.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i72" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>static void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTerminals(com.mxgraph.model.mxIGraphModel,java.lang.Object,java.lang.Object,java.lang.Object)">setTerminals</a></span>&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;edge,
java.lang.Object&nbsp;source,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;target)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the source and target of the given edge in a single atomic change.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i73" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setValue(java.lang.Object,java.lang.Object)">setValue</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the user object of then given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i74" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVisible(java.lang.Object,boolean)">setVisible</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
boolean&nbsp;visible)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the given cell.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i75" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>protected java.lang.String</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#styleForCellChanged(java.lang.Object,java.lang.String)">styleForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
java.lang.String&nbsp;style)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the style of the given mxCell
using mxCell.setStyle and return the previous style.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i76" class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>protected java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#terminalForCellChanged(java.lang.Object,java.lang.Object,boolean)">terminalForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;edge,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;terminal,
2018-11-06 11:46:01 +00:00
boolean&nbsp;isSource)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper function to update the terminal of the edge using
mxCell.insertEdge and return the previous terminal.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i77" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.String</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2017-11-24 16:16:54 +00:00
</tr>
<tr id="i78" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateEdgeParent(java.lang.Object,java.lang.Object)">updateEdgeParent</a></span>&#8203;(java.lang.Object&nbsp;edge,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;root)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.</div>
</td>
</tr>
2017-11-24 16:16:54 +00:00
<tr id="i79" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateEdgeParents(java.lang.Object)">updateEdgeParents</a></span>&#8203;(java.lang.Object&nbsp;cell)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Updates the parents of the edges connected to the given cell and all its
2012-05-21 20:32:26 +00:00
descendants so that each edge is contained in the nearest common
2014-04-01 11:30:48 +00:00
ancestor.</div>
</td>
</tr>
2017-11-24 16:16:54 +00:00
<tr id="i80" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateEdgeParents(java.lang.Object,java.lang.Object)">updateEdgeParents</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;root)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Updates the parents of the edges connected to the given cell and all its
descendants so that the edge is contained in the nearest-common-ancestor.</div>
</td>
</tr>
2017-11-24 16:16:54 +00:00
<tr id="i81" class="rowColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueForCellChanged(java.lang.Object,java.lang.Object)">valueForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the user object of the given mxCell
2012-05-21 20:32:26 +00:00
using mxCell.setValue and return the previous value,
2014-04-01 11:30:48 +00:00
that is, the return value of mxCell.getValue.</div>
</td>
</tr>
2017-11-24 16:16:54 +00:00
<tr id="i82" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#visibleStateForCellChanged(java.lang.Object,boolean)">visibleStateForCellChanged</a></span>&#8203;(java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
boolean&nbsp;visible)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the given mxCell using mxVisibleChange and
adds the change to the current transaction.</div>
</td>
</tr>
</table>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="methods.inherited.from.class.com.mxgraph.util.mxEventSource">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Methods inherited from class&nbsp;com.mxgraph.util.<a href="../util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><a href="../util/mxEventSource.html#addListener(java.lang.String,com.mxgraph.util.mxEventSource.mxIEventListener)">addListener</a>, <a href="../util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject)">fireEvent</a>, <a href="../util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject,java.lang.Object)">fireEvent</a>, <a href="../util/mxEventSource.html#getEventSource()">getEventSource</a>, <a href="../util/mxEventSource.html#isEventsEnabled()">isEventsEnabled</a>, <a href="../util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)">removeListener</a>, <a href="../util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener,java.lang.String)">removeListener</a>, <a href="../util/mxEventSource.html#setEventsEnabled(boolean)">setEventsEnabled</a>, <a href="../util/mxEventSource.html#setEventSource(java.lang.Object)">setEventSource</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="methods.inherited.from.class.com.mxgraph.model.mxIGraphModel">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Methods inherited from interface&nbsp;com.mxgraph.model.<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></h3>
<code><a href="mxIGraphModel.html#addListener(java.lang.String,com.mxgraph.util.mxEventSource.mxIEventListener)">addListener</a>, <a href="mxIGraphModel.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)">removeListener</a>, <a href="mxIGraphModel.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener,java.lang.String)">removeListener</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="field.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Field Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="root">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>root</h4>
2019-07-02 06:45:58 +00:00
<pre>protected&nbsp;<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a> root</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the root cell, which in turn contains the cells that represent the
2012-05-21 20:32:26 +00:00
layers of the diagram as child cells. That is, the actual element of the
2014-04-01 11:30:48 +00:00
diagram are supposed to live in the third generation of cells and below.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="cells">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cells</h4>
2019-07-02 06:45:58 +00:00
<pre>protected&nbsp;java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt; cells</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Maps from Ids to cells.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="maintainEdgeParent">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maintainEdgeParent</h4>
<pre>protected&nbsp;boolean maintainEdgeParent</pre>
<div class="block">Specifies if edges should automatically be moved into the nearest common
ancestor of their terminals. Default is true.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="createIds">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createIds</h4>
<pre>protected&nbsp;boolean createIds</pre>
<div class="block">Specifies if the model should automatically create Ids for new cells.
Default is true.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="nextId">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextId</h4>
<pre>protected&nbsp;int nextId</pre>
<div class="block">Specifies the next Id to be created. Initial value is 0.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="currentEdit">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentEdit</h4>
2019-07-02 06:45:58 +00:00
<pre>protected transient&nbsp;<a href="../util/mxUndoableEdit.html" title="class in com.mxgraph.util">mxUndoableEdit</a> currentEdit</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the changes for the current transaction. If the transaction is
2012-05-21 20:32:26 +00:00
closed then a new object is created for this variable using
2014-04-01 11:30:48 +00:00
createUndoableEdit.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="updateLevel">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateLevel</h4>
<pre>protected transient&nbsp;int updateLevel</pre>
<div class="block">Counter for the depth of nested transactions. Each call to beginUpdate
2012-05-21 20:32:26 +00:00
increments this counter and each call to endUpdate decrements it. When
the counter reaches 0, the transaction is closed and the respective
2014-04-01 11:30:48 +00:00
events are fired. Initial value is 0.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="endingUpdate">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>endingUpdate</h4>
<pre>protected transient&nbsp;boolean endingUpdate</pre>
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="constructor.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="&lt;init&gt;()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxGraphModel</h4>
<pre>public&nbsp;mxGraphModel()</pre>
<div class="block">Constructs a new empty graph model.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="&lt;init&gt;(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxGraphModel</h4>
2018-11-06 11:46:01 +00:00
<pre>public&nbsp;mxGraphModel&#8203;(java.lang.Object&nbsp;root)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new graph model. If no root is specified
then a new root mxCell with a default layer is created.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>root</code> - Cell that represents the root cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="clear()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;clear()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets a new root using createRoot.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getUpdateLevel()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpdateLevel</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;int&nbsp;getUpdateLevel()</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="createRoot()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRoot</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;createRoot()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new root cell with a default layer (child 0).</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getCells()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCells</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt;&nbsp;getCells()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the internal lookup table that is used to map from Ids to cells.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getCell(java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCell</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getCell&#8203;(java.lang.String&nbsp;id)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cell for the specified Id or null if no cell can be
found for the given Id.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - A string representing the Id of the cell.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the cell for the given Id.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isMaintainEdgeParent()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMaintainEdgeParent</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isMaintainEdgeParent()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the model automatically update parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the model maintains edge parents.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setMaintainEdgeParent(boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaintainEdgeParent</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setMaintainEdgeParent&#8203;(boolean&nbsp;maintainEdgeParent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if the model automatically updates parents of edges so that
the edge is contained in the nearest-common-ancestor of its terminals.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maintainEdgeParent</code> - Boolean indicating if the model should
maintain edge parents.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isCreateIds()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCreateIds</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isCreateIds()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the model automatically creates Ids and resolves Id
collisions.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the model creates Ids.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setCreateIds(boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCreateIds</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setCreateIds&#8203;(boolean&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if the model automatically creates Ids for new cells and
resolves Id collisions.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Boolean indicating if the model should created Ids.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getRoot()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoot</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getRoot()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getRoot()">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the root of the model or the topmost parent of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getRoot()">getRoot</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the root cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setRoot(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRoot</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;setRoot&#8203;(java.lang.Object&nbsp;root)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setRoot(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the root of the model and resets all structures.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setRoot(java.lang.Object)">setRoot</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>root</code> - Cell that specifies the new root.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="rootChanged(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rootChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;java.lang.Object&nbsp;rootChanged&#8203;(java.lang.Object&nbsp;root)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to change the root of the model and update the internal
datastructures, such as cells and nextId. Returns the previous root.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="createUndoableEdit()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUndoableEdit</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;<a href="../util/mxUndoableEdit.html" title="class in com.mxgraph.util">mxUndoableEdit</a>&nbsp;createUndoableEdit()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new undoable edit.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="cloneCells(java.lang.Object[],boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cloneCells</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object[]&nbsp;cloneCells&#8203;(java.lang.Object[]&nbsp;cells,
2017-11-24 16:16:54 +00:00
boolean&nbsp;includeChildren)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#cloneCells(java.lang.Object%5B%5D,boolean)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns an array of clones for the given array of cells.
2012-05-21 20:32:26 +00:00
Depending on the value of includeChildren, a deep clone is created for
each cell. Connections are restored based if the corresponding
2014-04-01 11:30:48 +00:00
cell is contained in the passed in array.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#cloneCells(java.lang.Object%5B%5D,boolean)">cloneCells</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cells</code> - Array of cells to be cloned.</dd>
<dd><code>includeChildren</code> - Boolean indicating if the cells should be cloned
2014-04-01 11:30:48 +00:00
with all descendants.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns a cloned array of cells.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="cloneCell(java.lang.Object,java.util.Map,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cloneCell</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;java.lang.Object&nbsp;cloneCell&#8203;(java.lang.Object&nbsp;cell,
java.util.Map&lt;java.lang.Object,&#8203;java.lang.Object&gt;&nbsp;mapping,
2017-11-24 16:16:54 +00:00
boolean&nbsp;includeChildren)
throws java.lang.CloneNotSupportedException</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper method for cloning cells recursively.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
2017-11-24 16:16:54 +00:00
<dd><code>java.lang.CloneNotSupportedException</code></dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="restoreClone(java.lang.Object,java.lang.Object,java.util.Map)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>restoreClone</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;void&nbsp;restoreClone&#8203;(java.lang.Object&nbsp;clone,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2019-07-02 06:45:58 +00:00
java.util.Map&lt;java.lang.Object,&#8203;java.lang.Object&gt;&nbsp;mapping)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper method for restoring the connections in
a network of cloned cells.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isAncestor(java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAncestor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isAncestor&#8203;(java.lang.Object&nbsp;parent,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;child)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#isAncestor(java.lang.Object,java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given parent is an ancestor of the given child.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#isAncestor(java.lang.Object,java.lang.Object)">isAncestor</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Cell that specifies the parent.</dd>
<dd><code>child</code> - Cell that specifies the child.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if child is an ancestor of parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="contains(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;contains&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#contains(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the model contains the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#contains(java.lang.Object)">contains</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell to be checked.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the cell is in the model.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getParent(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getParent&#8203;(java.lang.Object&nbsp;child)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getParent(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the parent of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getParent(java.lang.Object)">getParent</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>child</code> - Cell whose parent should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the parent of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="add(java.lang.Object,java.lang.Object,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;add&#8203;(java.lang.Object&nbsp;parent,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;child,
int&nbsp;index)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#add(java.lang.Object,java.lang.Object,int)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the specified child to the parent at the given index. If no index
2012-05-21 20:32:26 +00:00
is specified then the child is appended to the parent's array of
2014-04-01 11:30:48 +00:00
children.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#add(java.lang.Object,java.lang.Object,int)">add</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Cell that specifies the parent to contain the child.</dd>
<dd><code>child</code> - Cell that specifies the child to be inserted.</dd>
<dd><code>index</code> - Integer that specifies the index of the child.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the inserted child.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="cellAdded(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellAdded</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;void&nbsp;cellAdded&#8203;(java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Invoked after a cell has been added to a parent. This recursively
creates an Id for the new cell and/or resolves Id collisions.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell that has been added.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="createId(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createId</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;createId&#8203;(java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new Id for the given cell and increments the global counter
for creating new Ids.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell for which a new Id should be created.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns a new Id for the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="remove(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;remove&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#remove(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the specified cell from the model. This operation will remove
the cell and all of its children from the model.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#remove(java.lang.Object)">remove</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell that should be removed.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the removed cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="cellRemoved(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellRemoved</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;void&nbsp;cellRemoved&#8203;(java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Invoked after a cell has been removed from the model. This recursively
2012-05-21 20:32:26 +00:00
removes the cell from its terminals and removes the mapping from the Id
2014-04-01 11:30:48 +00:00
to the cell.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell that has been removed.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="parentForCellChanged(java.lang.Object,java.lang.Object,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parentForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;java.lang.Object&nbsp;parentForCellChanged&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent,
int&nbsp;index)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the parent of a cell using mxCell.insert
on the parent and return the previous parent.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getChildCount(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildCount</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;int&nbsp;getChildCount&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getChildCount(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of children in the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getChildCount(java.lang.Object)">getChildCount</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose number of children should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the number of children in the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getChildAt(java.lang.Object,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildAt</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getChildAt&#8203;(java.lang.Object&nbsp;parent,
2017-11-24 16:16:54 +00:00
int&nbsp;index)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getChildAt(java.lang.Object,int)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the child of the given parent at the given index.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getChildAt(java.lang.Object,int)">getChildAt</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Cell that represents the parent.</dd>
<dd><code>index</code> - Integer that specifies the index of the child to be
2014-04-01 11:30:48 +00:00
returned.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the child at index in parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getTerminal(java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTerminal</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getTerminal&#8203;(java.lang.Object&nbsp;edge,
2017-11-24 16:16:54 +00:00
boolean&nbsp;isSource)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getTerminal(java.lang.Object,boolean)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getTerminal(java.lang.Object,boolean)">getTerminal</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Cell that specifies the edge.</dd>
<dd><code>isSource</code> - Boolean indicating which end of the edge should be
2014-04-01 11:30:48 +00:00
returned.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the source or target of the given edge.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setTerminal(java.lang.Object,java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTerminal</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;setTerminal&#8203;(java.lang.Object&nbsp;edge,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;terminal,
boolean&nbsp;isSource)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setTerminal(java.lang.Object,java.lang.Object,boolean)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the source or target terminal of the given edge using.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setTerminal(java.lang.Object,java.lang.Object,boolean)">setTerminal</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Cell that specifies the edge.</dd>
<dd><code>terminal</code> - Cell that specifies the new terminal.</dd>
<dd><code>isSource</code> - Boolean indicating if the terminal is the new source or
2014-04-01 11:30:48 +00:00
target terminal of the edge.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the new terminal.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="terminalForCellChanged(java.lang.Object,java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>terminalForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;java.lang.Object&nbsp;terminalForCellChanged&#8203;(java.lang.Object&nbsp;edge,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;terminal,
boolean&nbsp;isSource)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper function to update the terminal of the edge using
mxCell.insertEdge and return the previous terminal.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="updateEdgeParents(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateEdgeParents</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;updateEdgeParents&#8203;(java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the parents of the edges connected to the given cell and all its
2012-05-21 20:32:26 +00:00
descendants so that each edge is contained in the nearest common
2014-04-01 11:30:48 +00:00
ancestor.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose edges should be checked and updated.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="updateEdgeParents(java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateEdgeParents</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;updateEdgeParents&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;root)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the parents of the edges connected to the given cell and all its
descendants so that the edge is contained in the nearest-common-ancestor.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose edges should be checked and updated.</dd>
<dd><code>root</code> - Root of the cell hierarchy that contains all cells.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="updateEdgeParent(java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateEdgeParent</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;updateEdgeParent&#8203;(java.lang.Object&nbsp;edge,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;root)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Specifies the edge to be updated.</dd>
<dd><code>root</code> - Current root of the model.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getOrigin(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrigin</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;<a href="../util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getOrigin&#8203;(java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the absolute, accumulated origin for the children inside the
given parent.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getNearestCommonAncestor(java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNearestCommonAncestor</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getNearestCommonAncestor&#8203;(java.lang.Object&nbsp;cell1,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell2)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the nearest common ancestor for the specified cells.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell1</code> - Cell that specifies the first cell in the tree.</dd>
<dd><code>cell2</code> - Cell that specifies the second cell in the tree.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the nearest common ancestor of the given cells.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getEdgeCount(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeCount</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;int&nbsp;getEdgeCount&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getEdgeCount(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of distinct edges connected to the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getEdgeCount(java.lang.Object)">getEdgeCount</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell that represents the vertex.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the number of edges connected to cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getEdgeAt(java.lang.Object,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgeAt</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getEdgeAt&#8203;(java.lang.Object&nbsp;parent,
2017-11-24 16:16:54 +00:00
int&nbsp;index)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getEdgeAt(java.lang.Object,int)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the edge of cell at the given index.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getEdgeAt(java.lang.Object,int)">getEdgeAt</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Cell that specifies the vertex.</dd>
<dd><code>index</code> - Integer that specifies the index of the edge to return.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the edge at the given index.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isVertex(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVertex</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isVertex&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#isVertex(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a vertex.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#isVertex(java.lang.Object)">isVertex</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell that represents the possible vertex.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the given cell is a vertex.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isEdge(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEdge</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isEdge&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#isEdge(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is an edge.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#isEdge(java.lang.Object)">isEdge</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell that represents the possible edge.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the given cell is an edge.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isConnectable(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnectable</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isConnectable&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#isConnectable(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is connectable.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#isConnectable(java.lang.Object)">isConnectable</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose connectable state should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the connectable state of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getValue(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;getValue&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getValue(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the user object of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getValue(java.lang.Object)">getValue</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose user object should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the user object of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setValue(java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;setValue&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;value)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setValue(java.lang.Object,java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the user object of then given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setValue(java.lang.Object,java.lang.Object)">setValue</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose user object should be changed.</dd>
<dd><code>value</code> - Object that defines the new user object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the new value.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="valueForCellChanged(java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;java.lang.Object&nbsp;valueForCellChanged&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the user object of the given mxCell
2012-05-21 20:32:26 +00:00
using mxCell.setValue and return the previous value,
2014-04-01 11:30:48 +00:00
that is, the return value of mxCell.getValue.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getGeometry(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGeometry</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;getGeometry&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getGeometry(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the geometry of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getGeometry(java.lang.Object)">getGeometry</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose geometry should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the geometry of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setGeometry(java.lang.Object,com.mxgraph.model.mxGeometry)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGeometry</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;setGeometry&#8203;(java.lang.Object&nbsp;cell,
<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setGeometry(java.lang.Object,com.mxgraph.model.mxGeometry)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the geometry of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setGeometry(java.lang.Object,com.mxgraph.model.mxGeometry)">setGeometry</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose geometry should be changed.</dd>
<dd><code>geometry</code> - Object that defines the new geometry.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the new geometry.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="geometryForCellChanged(java.lang.Object,com.mxgraph.model.mxGeometry)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>geometryForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometryForCellChanged&#8203;(java.lang.Object&nbsp;cell,
<a href="mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geometry)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the mxGeometry of the given mxCell using
mxCell.setGeometry and return the previous mxGeometry.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getStyle(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyle</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getStyle&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#getStyle(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the style of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#getStyle(java.lang.Object)">getStyle</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose style should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the style of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setStyle(java.lang.Object,java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStyle</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;setStyle&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;style)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setStyle(java.lang.Object,java.lang.String)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the style of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setStyle(java.lang.Object,java.lang.String)">setStyle</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose style should be changed.</dd>
<dd><code>style</code> - String of the form stylename[;key=value] to specify
2014-04-01 11:30:48 +00:00
the new cell style.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the new style.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="styleForCellChanged(java.lang.Object,java.lang.String)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>styleForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;java.lang.String&nbsp;styleForCellChanged&#8203;(java.lang.Object&nbsp;cell,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the style of the given mxCell
using mxCell.setStyle and return the previous style.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isCollapsed(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCollapsed</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isCollapsed&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#isCollapsed(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is collapsed.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#isCollapsed(java.lang.Object)">isCollapsed</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose collapsed state should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the collapsed state of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setCollapsed(java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCollapsed</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;setCollapsed&#8203;(java.lang.Object&nbsp;cell,
2016-06-02 09:57:18 +00:00
boolean&nbsp;collapsed)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setCollapsed(java.lang.Object,boolean)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the collapsed state of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setCollapsed(java.lang.Object,boolean)">setCollapsed</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose collapsed state should be changed.</dd>
<dd><code>collapsed</code> - Boolean that specifies the new collpased state.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the new collapsed state.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="collapsedStateForCellChanged(java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>collapsedStateForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;boolean&nbsp;collapsedStateForCellChanged&#8203;(java.lang.Object&nbsp;cell,
2016-06-02 09:57:18 +00:00
boolean&nbsp;collapsed)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Inner callback to update the collapsed state of the
2012-05-21 20:32:26 +00:00
given mxCell using mxCell.setCollapsed and return
2014-04-01 11:30:48 +00:00
the previous collapsed state.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="isVisible(java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVisible</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isVisible&#8203;(java.lang.Object&nbsp;cell)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#isVisible(java.lang.Object)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is visible.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#isVisible(java.lang.Object)">isVisible</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose visible state should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the visible state of the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setVisible(java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisible</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;setVisible&#8203;(java.lang.Object&nbsp;cell,
2016-06-02 09:57:18 +00:00
boolean&nbsp;visible)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#setVisible(java.lang.Object,boolean)">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the given cell.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#setVisible(java.lang.Object,boolean)">setVisible</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cell</code> - Cell whose visible state should be changed.</dd>
<dd><code>visible</code> - Boolean that specifies the new visible state.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the new visible state.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="visibleStateForCellChanged(java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>visibleStateForCellChanged</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;boolean&nbsp;visibleStateForCellChanged&#8203;(java.lang.Object&nbsp;cell,
2016-06-02 09:57:18 +00:00
boolean&nbsp;visible)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the given mxCell using mxVisibleChange and
adds the change to the current transaction.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="execute(com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;execute&#8203;(<a href="mxIGraphModel.mxAtomicGraphModelChange.html" title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a>&nbsp;change)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Executes the given atomic change and adds it to the current edit.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>change</code> - Atomic change to be executed.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="beginUpdate()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beginUpdate</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;beginUpdate()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#beginUpdate()">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Increments the updateLevel by one. The event notification is queued
until updateLevel reaches 0 by use of endUpdate.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#beginUpdate()">beginUpdate</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2014-04-01 11:30:48 +00:00
</dl>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="endUpdate()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endUpdate</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;endUpdate()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="mxIGraphModel.html#endUpdate()">mxIGraphModel</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxIGraphModel.html#endUpdate()">endUpdate</a></code>&nbsp;in interface&nbsp;<code><a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
2014-04-01 11:30:48 +00:00
</dl>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="mergeChildren(com.mxgraph.model.mxICell,com.mxgraph.model.mxICell,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeChildren</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;mergeChildren&#8203;(<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;from,
<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;to,
2016-06-02 09:57:18 +00:00
boolean&nbsp;cloneAllEdges)
2017-11-24 16:16:54 +00:00
throws java.lang.CloneNotSupportedException</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Merges the children of the given cell into the given target cell inside
2012-05-21 20:32:26 +00:00
this model. All cells are cloned unless there is a corresponding cell in
the model with the same id, in which case the source cell is ignored and
all edges are connected to the corresponding cell in this model. Edges
are considered to have no identity and are always cloned unless the
cloneAllEdges flag is set to false, in which case edges with the same
id in the target model are reconnected to reflect the terminals of the
2014-04-01 11:30:48 +00:00
source edges.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>from</code> - </dd>
<dd><code>to</code> - </dd>
<dd><code>cloneAllEdges</code> - </dd>
<dt><span class="throwsLabel">Throws:</span></dt>
2017-11-24 16:16:54 +00:00
<dd><code>java.lang.CloneNotSupportedException</code></dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="mergeChildrenImpl(com.mxgraph.model.mxICell,com.mxgraph.model.mxICell,boolean,java.util.Hashtable)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeChildrenImpl</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">protected&nbsp;void&nbsp;mergeChildrenImpl&#8203;(<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;from,
<a href="mxICell.html" title="interface in com.mxgraph.model">mxICell</a>&nbsp;to,
2016-06-02 09:57:18 +00:00
boolean&nbsp;cloneAllEdges,
2019-07-02 06:45:58 +00:00
java.util.Hashtable&lt;java.lang.Object,&#8203;java.lang.Object&gt;&nbsp;mapping)
2017-11-24 16:16:54 +00:00
throws java.lang.CloneNotSupportedException</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Clones the children of the source cell into the given target cell in
2012-05-21 20:32:26 +00:00
this model and adds an entry to the mapping that maps from the source
cell to the target cell with the same id or the clone of the source cell
2014-04-01 11:30:48 +00:00
that was inserted into this model.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
2017-11-24 16:16:54 +00:00
<dd><code>java.lang.CloneNotSupportedException</code></dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectedEdgeCount</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;int&nbsp;getDirectedEdgeCount&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2016-06-02 09:57:18 +00:00
boolean&nbsp;outgoing)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of incoming or outgoing edges.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Graph model that contains the connection data.</dd>
<dd><code>cell</code> - Cell whose edges should be counted.</dd>
<dd><code>outgoing</code> - Boolean that specifies if the number of outgoing or
2014-04-01 11:30:48 +00:00
incoming edges should be returned.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the number of incoming or outgoing edges.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectedEdgeCount</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;int&nbsp;getDirectedEdgeCount&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2016-06-02 09:57:18 +00:00
boolean&nbsp;outgoing,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;ignoredEdge)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the number of incoming or outgoing edges, ignoring the given
edge.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Graph model that contains the connection data.</dd>
<dd><code>cell</code> - Cell whose edges should be counted.</dd>
<dd><code>outgoing</code> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.</dd>
<dd><code>ignoredEdge</code> - Object that represents an edge to be ignored.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the number of incoming or outgoing edges.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getEdges&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges connected to this cell including loops.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the connection information.</dd>
<dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the array of connected edges for the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getConnections(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnections</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getConnections&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges connected to this cell without loops.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the connection information.</dd>
<dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the connected edges for the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getIncomingEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIncomingEdges</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getIncomingEdges&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the incoming edges of the given cell without loops.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Graphmodel that contains the edges.</dd>
<dd><code>cell</code> - Cell whose incoming edges should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the incoming edges for the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getOutgoingEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOutgoingEdges</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getOutgoingEdges&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the outgoing edges of the given cell without loops.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Graphmodel that contains the edges.</dd>
<dd><code>cell</code> - Cell whose outgoing edges should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the outgoing edges for the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean,boolean,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdges</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getEdges&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
boolean&nbsp;incoming,
boolean&nbsp;outgoing,
boolean&nbsp;includeLoops)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all distinct edges connected to this cell.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the connection information.</dd>
<dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dd><code>incoming</code> - Specifies if incoming edges should be returned.</dd>
<dd><code>outgoing</code> - Specifies if outgoing edges should be returned.</dd>
<dd><code>includeLoops</code> - Specifies if loops should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the array of connected edges for the given cell.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getEdgesBetween(com.mxgraph.model.mxIGraphModel,java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesBetween</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getEdgesBetween&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;source,
java.lang.Object&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges from the given source to the given target.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - The graph model that contains the graph.</dd>
<dd><code>source</code> - Object that defines the source cell.</dd>
<dd><code>target</code> - Object that defines the target cell.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns all edges from source to target.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getEdgesBetween(com.mxgraph.model.mxIGraphModel,java.lang.Object,java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesBetween</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getEdgesBetween&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;source,
java.lang.Object&nbsp;target,
boolean&nbsp;directed)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges between the given source and target pair. If directed
2012-05-21 20:32:26 +00:00
is true, then only edges from the source to the target are returned,
2014-04-01 11:30:48 +00:00
otherwise, all edges between the two cells are returned.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - The graph model that contains the graph.</dd>
<dd><code>source</code> - Object that defines the source cell.</dd>
<dd><code>target</code> - Object that defines the target cell.</dd>
<dd><code>directed</code> - Boolean that specifies if the direction of the edge
2014-04-01 11:30:48 +00:00
should be taken into account.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns all edges between the given source and target.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getOpposites(com.mxgraph.model.mxIGraphModel,java.lang.Object[],java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpposites</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getOpposites&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object[]&nbsp;edges,
java.lang.Object&nbsp;terminal)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all opposite cells of terminal for the given edges.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the connection information.</dd>
<dd><code>edges</code> - Array of edges to be examined.</dd>
<dd><code>terminal</code> - Cell that specifies the known end of the edges.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the opposite cells of the given terminal.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getOpposites(com.mxgraph.model.mxIGraphModel,java.lang.Object[],java.lang.Object,boolean,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpposites</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getOpposites&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object[]&nbsp;edges,
java.lang.Object&nbsp;terminal,
boolean&nbsp;sources,
boolean&nbsp;targets)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all opposite vertices wrt terminal for the given edges, only
2012-05-21 20:32:26 +00:00
returning sources and/or targets as specified. The result is returned as
2014-04-01 11:30:48 +00:00
an array of mxCells.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the connection information.</dd>
<dd><code>edges</code> - Array of edges to be examined.</dd>
<dd><code>terminal</code> - Cell that specifies the known end of the edges.</dd>
<dd><code>sources</code> - Boolean that specifies if source terminals should
2014-04-01 11:30:48 +00:00
be contained in the result. Default is true.</dd>
2016-06-02 09:57:18 +00:00
<dd><code>targets</code> - Boolean that specifies if target terminals should
be contained in the result. Default is true.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the array of opposite terminals for the given edges.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setTerminals(com.mxgraph.model.mxIGraphModel,java.lang.Object,java.lang.Object,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTerminals</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;void&nbsp;setTerminals&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;edge,
java.lang.Object&nbsp;source,
java.lang.Object&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the source and target of the given edge in a single atomic change.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>edge</code> - Cell that specifies the edge.</dd>
<dd><code>source</code> - Cell that specifies the new source terminal.</dd>
<dd><code>target</code> - Cell that specifies the new target terminal.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getChildren(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildren</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getChildren&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all children of the given cell regardless of their type.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the hierarchical information.</dd>
<dd><code>parent</code> - Cell whose child vertices or edges should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the child vertices and/or edges of the given parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getChildVertices(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildVertices</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getChildVertices&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the child vertices of the given parent.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the hierarchical information.</dd>
<dd><code>parent</code> - Cell whose child vertices should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the child vertices of the given parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getChildEdges(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildEdges</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getChildEdges&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the child edges of the given parent.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the hierarchical information.</dd>
<dd><code>parent</code> - Cell whose child edges should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the child edges of the given parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getChildCells(com.mxgraph.model.mxIGraphModel,java.lang.Object,boolean,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildCells</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getChildCells&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent,
boolean&nbsp;vertices,
boolean&nbsp;edges)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the children of the given cell that are vertices and/or edges
2012-05-21 20:32:26 +00:00
depending on the arguments. If both arguments are false then all
2014-04-01 11:30:48 +00:00
children are returned regardless of their type.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>model</code> - Model that contains the hierarchical information.</dd>
<dd><code>parent</code> - Cell whose child vertices or edges should be returned.</dd>
<dd><code>vertices</code> - Boolean indicating if child vertices should be returned.</dd>
<dd><code>edges</code> - Boolean indicating if child edges should be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the child vertices and/or edges of the given parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getParents(com.mxgraph.model.mxIGraphModel,java.lang.Object[])">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParents</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getParents&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="filterCells(java.lang.Object[],com.mxgraph.model.mxGraphModel.Filter)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterCells</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;filterCells&#8203;(java.lang.Object[]&nbsp;cells,
<a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a>&nbsp;filter)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getDescendants(com.mxgraph.model.mxIGraphModel,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescendants</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.util.Collection&lt;java.lang.Object&gt;&nbsp;getDescendants&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a all descendants of the given cell and the cell itself
as a collection.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="filterDescendants(com.mxgraph.model.mxIGraphModel,com.mxgraph.model.mxGraphModel.Filter)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterDescendants</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.util.Collection&lt;java.lang.Object&gt;&nbsp;filterDescendants&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
<a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a>&nbsp;filter)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Creates a collection of cells using the visitor pattern.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="filterDescendants(com.mxgraph.model.mxIGraphModel,com.mxgraph.model.mxGraphModel.Filter,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterDescendants</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.util.Collection&lt;java.lang.Object&gt;&nbsp;filterDescendants&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
<a href="mxGraphModel.Filter.html" title="interface in com.mxgraph.model">mxGraphModel.Filter</a>&nbsp;filter,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Creates a collection of cells using the visitor pattern.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getTopmostCells(com.mxgraph.model.mxIGraphModel,java.lang.Object[])">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2017-11-24 16:16:54 +00:00
<ul class="blockList">
2014-04-01 11:30:48 +00:00
<li class="blockList">
<h4>getTopmostCells</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;java.lang.Object[]&nbsp;getTopmostCells&#8203;(<a href="mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
2017-11-24 16:16:54 +00:00
java.lang.Object[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Function: getTopmostCells
2012-05-21 20:32:26 +00:00
Returns the topmost cells of the hierarchy in an array that contains no
desceandants for each <mxCell> that it contains. Duplicates should be
removed in the cells array to improve performance.
Parameters:
2014-04-01 11:30:48 +00:00
cells - Array of <mxCells> whose topmost ancestors should be returned.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="toString()">
2017-11-24 16:16:54 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
2017-11-24 16:16:54 +00:00
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
</div>
2019-07-02 06:45:58 +00:00
</main>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
<footer role="contentinfo">
<nav role="navigation">
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
<div class="bottomNav"><a id="navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxGraphModel.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>
2019-07-02 06:45:58 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.1</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
2019-07-02 06:45:58 +00:00
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</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>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#nested.class.summary">Nested</a>&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>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<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>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
</nav>
2017-06-27 11:43:19 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
2019-07-02 06:45:58 +00:00
</footer>
2014-04-01 11:30:48 +00:00
</body>
</html>