9926 lines
432 KiB
HTML
9926 lines
432 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (10.0.2) on Fri Dec 14 12:03:14 UTC 2018 -->
|
|
<title>mxGraph (mxGraph 3.9.12 API Specification)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="date" content="2018-12-14">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../jquery/jquery-1.10.2.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="mxGraph (mxGraph 3.9.12 API Specification)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"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":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10,"i182":10,"i183":10,"i184":10,"i185":10,"i186":10,"i187":10,"i188":10,"i189":10,"i190":10,"i191":10,"i192":10,"i193":10,"i194":10,"i195":10,"i196":10,"i197":10,"i198":10,"i199":10,"i200":10,"i201":10,"i202":10,"i203":10,"i204":10,"i205":10,"i206":10,"i207":10,"i208":10,"i209":10,"i210":10,"i211":10,"i212":10,"i213":10,"i214":10,"i215":10,"i216":10,"i217":10,"i218":10,"i219":10,"i220":10,"i221":10,"i222":10,"i223":10,"i224":10,"i225":10,"i226":10,"i227":10,"i228":9,"i229":10,"i230":10,"i231":10,"i232":10,"i233":10,"i234":10,"i235":10,"i236":10,"i237":10,"i238":10,"i239":10,"i240":10,"i241":10,"i242":10,"i243":10,"i244":10,"i245":10,"i246":10,"i247":10,"i248":10,"i249":10,"i250":10,"i251":10,"i252":10,"i253":10,"i254":10,"i255":10,"i256":10,"i257":10,"i258":10,"i259":10,"i260":10,"i261":10,"i262":10,"i263":10,"i264":10,"i265":10,"i266":10,"i267":10,"i268":10,"i269":10,"i270":10,"i271":10,"i272":10,"i273":10,"i274":10,"i275":10,"i276":10,"i277":10,"i278":10,"i279":10,"i280":10,"i281":10,"i282":10,"i283":10,"i284":10,"i285":10,"i286":10,"i287":10,"i288":10,"i289":10,"i290":10,"i291":10,"i292":10,"i293":10,"i294":10,"i295":10,"i296":10,"i297":10,"i298":10,"i299":10,"i300":10,"i301":10,"i302":10,"i303":10,"i304":10,"i305":10,"i306":10,"i307":10,"i308":10,"i309":10,"i310":10,"i311":10,"i312":10,"i313":10,"i314":10,"i315":10,"i316":10,"i317":10,"i318":10,"i319":10,"i320":10,"i321":10,"i322":10,"i323":10,"i324":10,"i325":10,"i326":10,"i327":10,"i328":10,"i329":10,"i330":10,"i331":10,"i332":10,"i333":10,"i334":10,"i335":10,"i336":10,"i337":10,"i338":10,"i339":10,"i340":10,"i341":10,"i342":10,"i343":10,"i344":10,"i345":10,"i346":10,"i347":10,"i348":10,"i349":10,"i350":10,"i351":10,"i352":10,"i353":10,"i354":10,"i355":10,"i356":10,"i357":10,"i358":10,"i359":10};
|
|
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";
|
|
var pathtoroot = "../../../";loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/mxGraph.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><p><b>mxGraph 3.9.12</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?com/mxgraph/view/mxGraph.html" target="_top">Frames</a></li>
|
|
<li><a href="mxGraph.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a></div>
|
|
<h2 title="Class mxGraph" class="title">Class mxGraph</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.mxgraph.view.mxGraph</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<pre>public class <span class="typeNameLabel">mxGraph</span>
|
|
extends <a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></pre>
|
|
<div class="block">Implements a graph object that allows to create diagrams from a graph model
|
|
and stylesheet.
|
|
|
|
<h3>Images</h3>
|
|
To create an image from a graph, use the following code for a given
|
|
XML document (doc) and File (file):
|
|
|
|
<code>
|
|
Image img = mxCellRenderer.createBufferedImage(
|
|
graph, null, 1, Color.WHITE, false, null);
|
|
ImageIO.write(img, "png", file);
|
|
</code>
|
|
|
|
If the XML is given as a string rather than a document, the document can
|
|
be obtained using mxUtils.parse.
|
|
|
|
This class fires the following events:
|
|
|
|
mxEvent.ROOT fires if the root in the model has changed. This event has no
|
|
properties.
|
|
|
|
mxEvent.ALIGN_CELLS fires between begin- and endUpdate in alignCells. The
|
|
<code>cells</code> and <code>align</code> properties contain the respective
|
|
arguments that were passed to alignCells.
|
|
|
|
mxEvent.FLIP_EDGE fires between begin- and endUpdate in flipEdge. The
|
|
<code>edge</code> property contains the edge passed to flipEdge.
|
|
|
|
mxEvent.ORDER_CELLS fires between begin- and endUpdate in orderCells. The
|
|
<code>cells</code> and <code>back</code> properties contain the respective
|
|
arguments that were passed to orderCells.
|
|
|
|
mxEvent.CELLS_ORDERED fires between begin- and endUpdate in cellsOrdered.
|
|
The <code>cells</code> and <code>back</code> arguments contain the
|
|
respective arguments that were passed to cellsOrdered.
|
|
|
|
mxEvent.GROUP_CELLS fires between begin- and endUpdate in groupCells. The
|
|
<code>group</code>, <code>cells</code> and <code>border</code> arguments
|
|
contain the respective arguments that were passed to groupCells.
|
|
|
|
mxEvent.UNGROUP_CELLS fires between begin- and endUpdate in ungroupCells.
|
|
The <code>cells</code> property contains the array of cells that was passed
|
|
to ungroupCells.
|
|
|
|
mxEvent.REMOVE_CELLS_FROM_PARENT fires between begin- and endUpdate in
|
|
removeCellsFromParent. The <code>cells</code> property contains the array of
|
|
cells that was passed to removeCellsFromParent.
|
|
|
|
mxEvent.ADD_CELLS fires between begin- and endUpdate in addCells. The
|
|
<code>cells</code>, <code>parent</code>, <code>index</code>,
|
|
<code>source</code> and <code>target</code> properties contain the
|
|
respective arguments that were passed to addCells.
|
|
|
|
mxEvent.CELLS_ADDED fires between begin- and endUpdate in cellsAdded. The
|
|
<code>cells</code>, <code>parent</code>, <code>index</code>,
|
|
<code>source</code>, <code>target</code> and <code>absolute</code>
|
|
properties contain the respective arguments that were passed to cellsAdded.
|
|
|
|
mxEvent.REMOVE_CELLS fires between begin- and endUpdate in removeCells. The
|
|
<code>cells</code> and <code>includeEdges</code> arguments contain the
|
|
respective arguments that were passed to removeCells.
|
|
|
|
mxEvent.CELLS_REMOVED fires between begin- and endUpdate in cellsRemoved.
|
|
The <code>cells</code> argument contains the array of cells that was
|
|
removed.
|
|
|
|
mxEvent.SPLIT_EDGE fires between begin- and endUpdate in splitEdge. The
|
|
<code>edge</code> property contains the edge to be splitted, the
|
|
<code>cells</code>, <code>newEdge</code>, <code>dx</code> and
|
|
<code>dy</code> properties contain the respective arguments that were passed
|
|
to splitEdge.
|
|
|
|
mxEvent.TOGGLE_CELLS fires between begin- and endUpdate in toggleCells. The
|
|
<code>show</code>, <code>cells</code> and <code>includeEdges</code>
|
|
properties contain the respective arguments that were passed to toggleCells.
|
|
|
|
mxEvent.FOLD_CELLS fires between begin- and endUpdate in foldCells. The
|
|
<code>collapse</code>, <code>cells</code> and <code>recurse</code>
|
|
properties contain the respective arguments that were passed to foldCells.
|
|
|
|
mxEvent.CELLS_FOLDED fires between begin- and endUpdate in cellsFolded. The
|
|
<code>collapse</code>, <code>cells</code> and <code>recurse</code>
|
|
properties contain the respective arguments that were passed to cellsFolded.
|
|
|
|
mxEvent.UPDATE_CELL_SIZE fires between begin- and endUpdate in
|
|
updateCellSize. The <code>cell</code> and <code>ignoreChildren</code>
|
|
properties contain the respective arguments that were passed to
|
|
updateCellSize.
|
|
|
|
mxEvent.RESIZE_CELLS fires between begin- and endUpdate in resizeCells. The
|
|
<code>cells</code> and <code>bounds</code> properties contain the respective
|
|
arguments that were passed to resizeCells.
|
|
|
|
mxEvent.CELLS_RESIZED fires between begin- and endUpdate in cellsResized.
|
|
The <code>cells</code> and <code>bounds</code> properties contain the
|
|
respective arguments that were passed to cellsResized.
|
|
|
|
mxEvent.MOVE_CELLS fires between begin- and endUpdate in moveCells. The
|
|
<code>cells</code>, <code>dx</code>, <code>dy</code>, <code>clone</code>,
|
|
<code>target</code> and <code>location</code> properties contain the
|
|
respective arguments that were passed to moveCells.
|
|
|
|
mxEvent.CELLS_MOVED fires between begin- and endUpdate in cellsMoved. The
|
|
<code>cells</code>, <code>dx</code>, <code>dy</code> and
|
|
<code>disconnect</code> properties contain the respective arguments that
|
|
were passed to cellsMoved.
|
|
|
|
mxEvent.CONNECT_CELL fires between begin- and endUpdate in connectCell. The
|
|
<code>edge</code>, <code>terminal</code> and <code>source</code> properties
|
|
contain the respective arguments that were passed to connectCell.
|
|
|
|
mxEvent.CELL_CONNECTED fires between begin- and endUpdate in cellConnected.
|
|
The <code>edge</code>, <code>terminal</code> and <code>source</code>
|
|
properties contain the respective arguments that were passed to
|
|
cellConnected.
|
|
|
|
mxEvent.REPAINT fires if a repaint was requested by calling repaint. The
|
|
<code>region</code> property contains the optional mxRectangle that was
|
|
passed to repaint to define the dirty region.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<table class="memberSummary" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
|
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Class</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static interface </code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.com.mxgraph.util.mxEventSource">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
|
|
<code><a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Field</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#allowDanglingEdges">allowDanglingEdges</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edges with disconnected terminals are
|
|
allowed in the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#allowLoops">allowLoops</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if loops (aka self-references) are allowed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#allowNegativeCoordinates">allowNegativeCoordinates</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if negative coordinates for vertices are allowed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#alternateEdgeStyle">alternateEdgeStyle</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the alternate edge style to be used if the main control point
|
|
on an edge is being doubleclicked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#autoOrigin">autoOrigin</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the origin should be automatically updated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#autoSizeCells">autoSizeCells</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the graph should automatically update the cell size
|
|
after an edit.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#border">border</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Border to be added to the bottom and right side when the container is
|
|
being resized after the graph has been changed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsBendable">cellsBendable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Bendable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsCloneable">cellsCloneable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Cloneable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsDeletable">cellsDeletable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Deletable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsDisconnectable">cellsDisconnectable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCellDisconntableFromTerminal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsEditable">cellsEditable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Editable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsLocked">cellsLocked</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Locked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsMovable">cellsMovable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Movable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsResizable">cellsResizable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Sizable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsSelectable">cellsSelectable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isCell(s)Selectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#changesRepaintThreshold">changesRepaintThreshold</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the maximum number of changes that should be processed to find
|
|
the dirty region.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.beans.PropertyChangeSupport</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#changeSupport">changeSupport</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Property change event handling.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cloneInvalidEdges">cloneInvalidEdges</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edges that are cloned should be validated and only inserted
|
|
if they are valid.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#collapseToPreferredSize">collapseToPreferredSize</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the cell size should be changed to the preferred size when
|
|
a cell is first collapsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#connectableEdges">connectableEdges</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edges are connectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#constrainChildren">constrainChildren</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isConstrainChildren.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#defaultLoopStyle">defaultLoopStyle</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the default style for loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#defaultOverlap">defaultOverlap</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Value returned by getOverlap if isAllowOverlapParent returns
|
|
true for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#defaultParent">defaultParent</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the default parent to be used to insert new cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#disconnectOnMove">disconnectOnMove</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edges should be disconnected from their terminals when they
|
|
are moved.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#dropEnabled">dropEnabled</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isDropEnabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#edgeLabelsMovable">edgeLabelsMovable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for edges in isLabelMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#enabled">enabled</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isEnabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#extendParents">extendParents</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if a parent should contain the child bounds after a resize of
|
|
the child.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#extendParentsOnAdd">extendParentsOnAdd</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if parents should be extended according to the <extendParents>
|
|
switch if cells are added.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#fullRepaintHandler">fullRepaintHandler</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Fires repaint events for full repaints.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#graphModelChangeHandler">graphModelChangeHandler</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Fires repaint events for model changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#gridEnabled">gridEnabled</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the grid is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#gridSize">gridSize</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the grid size.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#htmlLabels">htmlLabels</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isHtmlLabel.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected static java.util.List<<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#imageBundles">imageBundles</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the list of bundles.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#keepEdgesInBackground">keepEdgesInBackground</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edges should appear in the background regardless of their
|
|
order in the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#keepEdgesInForeground">keepEdgesInForeground</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edges should appear in the foreground regardless of their
|
|
order in the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#labelsClipped">labelsClipped</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for isLabel(s)Clipped.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#labelsVisible">labelsVisible</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if labels should be visible.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#maximumGraphBounds">maximumGraphBounds</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block"><mxRectangle> that specifies the area in which all cells in the
|
|
diagram should be placed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#minimumGraphSize">minimumGraphSize</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">mxRectangle that specifies the minimum size of the graph canvas inside
|
|
the scrollpane.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#model">model</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the model that contains the cells to be displayed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#multigraph">multigraph</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if multiple edges in the same direction between
|
|
the same pair of vertices are allowed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#multiplicities">multiplicities</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the multiplicities to be used for validation of the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#origin">origin</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the current automatic origin.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#portsEnabled">portsEnabled</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if ports are enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnConnect">resetEdgesOnConnect</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edge control points should be reset after
|
|
the the edge has been reconnected.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnMove">resetEdgesOnMove</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if edge control points should be reset after
|
|
the move of a connected cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnResize">resetEdgesOnResize</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if loops (aka self-references) are allowed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resetViewOnRootChange">resetViewOnRootChange</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the scale and translate should be reset if
|
|
the root changes in the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectionModel">selectionModel</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the <mxGraphSelection> that models the current selection.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#splitEnabled">splitEnabled</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if dropping onto edges should be enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#stylesheet">stylesheet</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the stylesheet that defines the appearance of the cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#swimlaneNesting">swimlaneNesting</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if nesting of swimlanes is allowed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateOriginHandler">updateOriginHandler</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Fires repaint events for full repaints.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#VERSION">VERSION</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the version number of this release.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#vertexLabelsMovable">vertexLabelsMovable</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies the return value for vertices in isLabelMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#view">view</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Holds the view that caches the cell states.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.com.mxgraph.util.mxEventSource">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class com.mxgraph.util.<a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
|
|
<code><a href="../../../com/mxgraph/util/mxEventSource.html#eventListeners">eventListeners</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#eventsEnabled">eventsEnabled</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#eventSource">eventSource</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph--">mxGraph</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new graph with an empty
|
|
<a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph-com.mxgraph.model.mxIGraphModel-">mxGraph</a></span>​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new graph for the specified model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph-com.mxgraph.model.mxIGraphModel-com.mxgraph.view.mxStylesheet-">mxGraph</a></span>​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model,
|
|
<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new graph for the specified model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph-com.mxgraph.view.mxStylesheet-">mxGraph</a></span>​(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new graph for the specified model.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addAllEdges-java.lang.Object:A-">addAllEdges</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns an array with the given cells and all edges that are connected
|
|
to a cell or one of its descendants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCell-java.lang.Object-">addCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cell to the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCell-java.lang.Object-java.lang.Object-">addCell</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cell to the parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCell-java.lang.Object-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-">addCell</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cell to the parent and connects it to the given source and
|
|
target terminals.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCells-java.lang.Object:A-">addCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cells to the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCells-java.lang.Object:A-java.lang.Object-">addCells</a></span>​(java.lang.Object[] cells,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cells to the parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCells-java.lang.Object:A-java.lang.Object-java.lang.Integer-">addCells</a></span>​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cells to the parent at the given index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addCells-java.lang.Object:A-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-">addCells</a></span>​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cells to the parent at the given index, connecting each cell to
|
|
the optional source and target terminal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addEdge-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.Integer-">addEdge</a></span>​(java.lang.Object edge,
|
|
java.lang.Object parent,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
java.lang.Integer index)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the edge to the parent and connects it to the given source and
|
|
target terminals.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addImageBundle-com.mxgraph.util.mxImageBundle-">addImageBundle</a></span>​(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a> bundle)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the specified bundle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addPropertyChangeListener-java.beans.PropertyChangeListener-">addPropertyChangeListener</a></span>​(java.beans.PropertyChangeListener listener)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addPropertyChangeListener-java.lang.String-java.beans.PropertyChangeListener-">addPropertyChangeListener</a></span>​(java.lang.String propertyName,
|
|
java.beans.PropertyChangeListener listener)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addSelectionCell-java.lang.Object-">addSelectionCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addSelectionCells-java.lang.Object:A-">addSelectionCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#addTopmostVerticesAndEdges-java.lang.Object-java.util.List-">addTopmostVerticesAndEdges</a></span>​(java.lang.Object cell,
|
|
java.util.List<java.lang.Object> cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells to be selected for the given list of changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#alignCells-java.lang.String-">alignCells</a></span>​(java.lang.String align)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Aligns the selection cells vertically or horizontally according to the
|
|
given alignment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#alignCells-java.lang.String-java.lang.Object:A-">alignCells</a></span>​(java.lang.String align,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Aligns the given cells vertically or horizontally according to the given
|
|
alignment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#alignCells-java.lang.String-java.lang.Object:A-java.lang.Object-">alignCells</a></span>​(java.lang.String align,
|
|
java.lang.Object[] cells,
|
|
java.lang.Object param)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Aligns the given cells vertically or horizontally according to the given
|
|
alignment using the optional parameter as the coordinate.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellConnected-java.lang.Object-java.lang.Object-boolean-com.mxgraph.view.mxConnectionConstraint-">cellConnected</a></span>​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the new terminal for the given edge and resets the edge points if
|
|
isResetEdgesOnConnect returns true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellDrawn-com.mxgraph.canvas.mxICanvas-com.mxgraph.view.mxCellState-java.lang.Object-java.lang.Object-">cellDrawn</a></span>​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
java.lang.Object element,
|
|
java.lang.Object labelElement)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Called when a cell has been painted as the specified object, typically a
|
|
DOM node that represents the given cell graphically in a document.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellLabelChanged-java.lang.Object-java.lang.Object-boolean-">cellLabelChanged</a></span>​(java.lang.Object cell,
|
|
java.lang.Object value,
|
|
boolean autoSize)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the new label for a cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsAdded-java.lang.Object:A-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-boolean-">cellsAdded</a></span>​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
boolean absolute)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the specified cells to the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsAdded-java.lang.Object:A-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-boolean-boolean-">cellsAdded</a></span>​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
boolean absolute,
|
|
boolean constrain)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the specified cells to the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsFolded-java.lang.Object:A-boolean-boolean-">cellsFolded</a></span>​(java.lang.Object[] cells,
|
|
boolean collapse,
|
|
boolean recurse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Invokes cellsFoldable with checkFoldable set to false.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsFolded-java.lang.Object:A-boolean-boolean-boolean-">cellsFolded</a></span>​(java.lang.Object[] cells,
|
|
boolean collapse,
|
|
boolean recurse,
|
|
boolean checkFoldable)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the collapsed state of the specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellSizeUpdated-java.lang.Object-boolean-">cellSizeUpdated</a></span>​(java.lang.Object cell,
|
|
boolean ignoreChildren)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsMoved-java.lang.Object:A-double-double-boolean-boolean-">cellsMoved</a></span>​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean disconnect,
|
|
boolean constrain)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves the specified cells by the given vector, disconnecting the cells
|
|
using disconnectGraph if disconnect is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsOrdered-java.lang.Object:A-boolean-">cellsOrdered</a></span>​(java.lang.Object[] cells,
|
|
boolean back)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves the given cells to the front or back.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsRemoved-java.lang.Object:A-">cellsRemoved</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the given cells from the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsResized-java.lang.Object:A-com.mxgraph.util.mxRectangle:A-">cellsResized</a></span>​(java.lang.Object[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] bounds)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the bounds of the given cells and fires a <mxEvent.CELLS_RESIZED>
|
|
event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cellsToggled-java.lang.Object:A-boolean-">cellsToggled</a></span>​(java.lang.Object[] cells,
|
|
boolean show)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the visible state of the specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#clearSelection--">clearSelection</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cloneCells-java.lang.Object:A-">cloneCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Clones all cells in the given array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#cloneCells-java.lang.Object:A-boolean-">cloneCells</a></span>​(java.lang.Object[] cells,
|
|
boolean allowInvalidEdges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the clones for the given cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#connectCell-java.lang.Object-java.lang.Object-boolean-">connectCell</a></span>​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#connectCell-java.lang.Object-java.lang.Object-boolean-com.mxgraph.view.mxConnectionConstraint-">connectCell</a></span>​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#constrainChild-java.lang.Object-">constrainChild</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Keeps the given cell inside the bounds returned by
|
|
getCellContainmentArea for its parent, according to the rules defined by
|
|
getOverlap and isConstrainChild.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#convertValueToString-java.lang.Object-">convertValueToString</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the textual representation for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createEdge-java.lang.Object-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.String-">createEdge</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
java.lang.String style)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hook method that creates the new edge for insertEdge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createGraphView--">createGraphView</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new view to be used in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createGroupCell-java.lang.Object:A-">createGroupCell</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hook for creating the group cell to hold the given array of <mxCells> if
|
|
no group cell was given to the <group> function.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createSelectionModel--">createSelectionModel</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new selection model to be used in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createStylesheet--">createStylesheet</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Constructs a new stylesheet to be used in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-">createVertex</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#createVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-boolean-">createVertex</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style,
|
|
boolean relative)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#disconnectGraph-java.lang.Object:A-">disconnectGraph</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Disconnects the given edges from the terminals which are not in the
|
|
given array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#drawCell-com.mxgraph.canvas.mxICanvas-java.lang.Object-">drawCell</a></span>​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Draws the given cell and its descendants onto the specified canvas.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#drawGraph-com.mxgraph.canvas.mxICanvas-">drawGraph</a></span>​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Draws the graph onto the given canvas.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i48" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#drawState-com.mxgraph.canvas.mxICanvas-com.mxgraph.view.mxCellState-boolean-">drawState</a></span>​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
boolean drawLabel)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Draws the cell state with the given label onto the canvas.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i49" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#enterGroup--">enterGroup</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#enterGroup-java.lang.Object-">enterGroup</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Uses the given cell as the root of the displayed cell hierarchy.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i51" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#exitGroup--">exitGroup</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Changes the current root to the next valid root in the displayed cell
|
|
hierarchy.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i52" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#extendParent-java.lang.Object-">extendParent</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Resizes the parents recursively so that they contain the complete area
|
|
of the resized child cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i53" class="rowColor">
|
|
<td class="colFirst"><code>java.util.List<java.lang.Object></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#findTreeRoots-java.lang.Object-">findTreeRoots</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i54" class="altColor">
|
|
<td class="colFirst"><code>java.util.List<java.lang.Object></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#findTreeRoots-java.lang.Object-boolean-">findTreeRoots</a></span>​(java.lang.Object parent,
|
|
boolean isolate)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i55" class="rowColor">
|
|
<td class="colFirst"><code>java.util.List<java.lang.Object></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#findTreeRoots-java.lang.Object-boolean-boolean-">findTreeRoots</a></span>​(java.lang.Object parent,
|
|
boolean isolate,
|
|
boolean invert)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i56" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#flipEdge-java.lang.Object-">flipEdge</a></span>​(java.lang.Object edge)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Called when the main control point of the edge is double-clicked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i57" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#foldCells-boolean-">foldCells</a></span>​(boolean collapse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the collapsed state of the selection cells without recursion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i58" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#foldCells-boolean-boolean-">foldCells</a></span>​(boolean collapse,
|
|
boolean recurse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the collapsed state of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i59" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#foldCells-boolean-boolean-java.lang.Object:A-">foldCells</a></span>​(boolean collapse,
|
|
boolean recurse,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Invokes foldCells with checkFoldable set to false.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i60" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#foldCells-boolean-boolean-java.lang.Object:A-boolean-">foldCells</a></span>​(boolean collapse,
|
|
boolean recurse,
|
|
java.lang.Object[] cells,
|
|
boolean checkFoldable)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the collapsed state of the specified cells and all descendants
|
|
if recurse is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i61" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getAllConnectionConstraints-com.mxgraph.view.mxCellState-boolean-">getAllConnectionConstraints</a></span>​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean source)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns an array of all constraints for the given terminal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i62" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getAllEdges-java.lang.Object:A-">getAllEdges</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all edges connected to the given cells or their descendants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i63" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getAlternateEdgeStyle--">getAlternateEdgeStyle</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns alternateEdgeStyle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i64" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBorder--">getBorder</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the value of <border>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i65" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBox-java.lang.Object-">getBoundingBox</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds of the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i66" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBox-java.lang.Object-boolean-">getBoundingBox</a></span>​(java.lang.Object cell,
|
|
boolean includeEdges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i67" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBox-java.lang.Object-boolean-boolean-">getBoundingBox</a></span>​(java.lang.Object cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i68" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBoxFromGeometry-java.lang.Object:A-">getBoundingBoxFromGeometry</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounding box for the geometries of the vertices in the
|
|
given array of cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i69" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBoundsForCells-java.lang.Object:A-boolean-boolean-boolean-">getBoundsForCells</a></span>​(java.lang.Object[] cells,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean boundingBox)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds for the given cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i70" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getBoundsForGroup-java.lang.Object-java.lang.Object:A-double-">getBoundsForGroup</a></span>​(java.lang.Object group,
|
|
java.lang.Object[] children,
|
|
double border)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds to be used for the given group and children.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i71" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds-java.lang.Object-">getCellBounds</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds of the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i72" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds-java.lang.Object-boolean-">getCellBounds</a></span>​(java.lang.Object cell,
|
|
boolean includeEdges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i73" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds-java.lang.Object-boolean-boolean-">getCellBounds</a></span>​(java.lang.Object cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i74" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds-java.lang.Object-boolean-boolean-boolean-">getCellBounds</a></span>​(java.lang.Object cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean boundingBox)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i75" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellContainmentArea-java.lang.Object-">getCellContainmentArea</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the mxRectangle inside which a cell is to be kept.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i76" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellGeometry-java.lang.Object-">getCellGeometry</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the geometry for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i77" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellsBeyond-double-double-java.lang.Object-boolean-boolean-">getCellsBeyond</a></span>​(double x0,
|
|
double y0,
|
|
java.lang.Object parent,
|
|
boolean rightHalfpane,
|
|
boolean bottomHalfpane)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the children of the given parent that are contained in the
|
|
halfpane from the given point (x0, y0) rightwards and downwards
|
|
depending on rightHalfpane and bottomHalfpane.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i78" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellsForGroup-java.lang.Object:A-">getCellsForGroup</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells with the same parent as the first cell
|
|
in the given array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i79" class="rowColor">
|
|
<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.Object></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellStyle-java.lang.Object-">getCellStyle</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns an array of key, value pairs representing the cell style for the
|
|
given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i80" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCellValidationError-java.lang.Object-">getCellValidationError</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Checks all multiplicities that cannot be enforced while the graph is
|
|
being modified, namely, all multiplicities that require a minimum of
|
|
1 edge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i81" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getChangesRepaintThreshold--">getChangesRepaintThreshold</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i82" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getChildCells-java.lang.Object-">getChildCells</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the visible children of the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i83" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getChildCells-java.lang.Object-boolean-boolean-">getChildCells</a></span>​(java.lang.Object parent,
|
|
boolean vertices,
|
|
boolean edges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the visible child vertices or edges in the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i84" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getChildEdges-java.lang.Object-">getChildEdges</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the visible child edges of the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i85" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getChildOffsetForCell-java.lang.Object-">getChildOffsetForCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the offset to be used for the cells inside the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i86" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getChildVertices-java.lang.Object-">getChildVertices</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the visible child vertices of the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i87" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCloneableCells-java.lang.Object:A-">getCloneableCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i88" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getConnectionConstraint-com.mxgraph.view.mxCellState-com.mxgraph.view.mxCellState-boolean-">getConnectionConstraint</a></span>​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> edge,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean source)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns an connection constraint that describes the given connection
|
|
point.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i89" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getConnectionPoint-com.mxgraph.view.mxCellState-com.mxgraph.view.mxConnectionConstraint-">getConnectionPoint</a></span>​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> vertex,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the connection constraint that describes the given connection point.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i90" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getConnections-java.lang.Object-">getConnections</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i91" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getConnections-java.lang.Object-java.lang.Object-">getConnections</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i92" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getConnections-java.lang.Object-java.lang.Object-boolean-">getConnections</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean recurse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i93" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getCurrentRoot--">getCurrentRoot</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the current root of the displayed cell hierarchy.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i94" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getDefaultLoopStyle--">getDefaultLoopStyle</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the default edge style used for loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i95" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getDefaultOverlap--">getDefaultOverlap</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets defaultOverlap.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i96" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getDefaultParent--">getDefaultParent</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the first child of the root in the model, that is, the first or
|
|
default layer of the diagram.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i97" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getDeletableCells-java.lang.Object:A-">getDeletableCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i98" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getDropTarget-java.lang.Object:A-java.awt.Point-java.lang.Object-">getDropTarget</a></span>​(java.lang.Object[] cells,
|
|
java.awt.Point pt,
|
|
java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the given cell if it is a drop target for the given cells or the
|
|
nearest ancestor that may be used as a drop target for the given cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i99" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdges-java.lang.Object-">getEdges</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i100" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdges-java.lang.Object-java.lang.Object-">getEdges</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i101" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdges-java.lang.Object-java.lang.Object-boolean-boolean-boolean-">getEdges</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i102" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdges-java.lang.Object-java.lang.Object-boolean-boolean-boolean-boolean-">getEdges</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops,
|
|
boolean recurse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i103" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdgesBetween-java.lang.Object-java.lang.Object-">getEdgesBetween</a></span>​(java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the edges between the given source and target.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i104" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdgesBetween-java.lang.Object-java.lang.Object-boolean-">getEdgesBetween</a></span>​(java.lang.Object source,
|
|
java.lang.Object target,
|
|
boolean directed)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the edges between the given source and target.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i105" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getEdgeValidationError-java.lang.Object-java.lang.Object-java.lang.Object-">getEdgeValidationError</a></span>​(java.lang.Object edge,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the validation error message to be displayed when inserting or
|
|
changing an edges' connectivity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i106" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getFoldableCells-java.lang.Object:A-boolean-">getFoldableCells</a></span>​(java.lang.Object[] cells,
|
|
boolean collapse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i107" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getGraphBounds--">getGraphBounds</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounds of the visible graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i108" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getGridSize--">getGridSize</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the grid size.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i109" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getImage-com.mxgraph.view.mxCellState-">getImage</a></span>​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the image URL for the given cell state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i110" class="altColor">
|
|
<td class="colFirst"><code>java.util.List<<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getImageBundles--">getImageBundles</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the image bundles</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i111" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getImageBundles-java.util.List-">getImageBundles</a></span>​(java.util.List<<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the image bundles</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i112" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getImageFromBundles-java.lang.String-">getImageFromBundles</a></span>​(java.lang.String key)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Searches all bundles for the specified key and returns the value for the
|
|
first match or null if the key is not found.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i113" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getIncomingEdges-java.lang.Object-">getIncomingEdges</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all incoming visible edges connected to the given cell without
|
|
loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i114" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getIncomingEdges-java.lang.Object-java.lang.Object-">getIncomingEdges</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the visible incoming edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i115" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getLabel-java.lang.Object-">getLabel</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns a string or DOM node that represents the label for the given
|
|
cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i116" class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getLinkForCell-java.lang.Object-">getLinkForCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the hyperlink to be used for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i117" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getMaximumGraphBounds--">getMaximumGraphBounds</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i118" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getMinimumGraphSize--">getMinimumGraphSize</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the minimum size of the diagram.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i119" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getModel--">getModel</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the graph model that contains the graph data.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i120" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getMovableCells-java.lang.Object:A-">getMovableCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i121" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getMultiplicities--">getMultiplicities</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i122" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getOpposites-java.lang.Object:A-java.lang.Object-">getOpposites</a></span>​(java.lang.Object[] edges,
|
|
java.lang.Object terminal)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all distinct visible opposite cells of the terminal on the given
|
|
edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i123" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getOpposites-java.lang.Object:A-java.lang.Object-boolean-boolean-">getOpposites</a></span>​(java.lang.Object[] edges,
|
|
java.lang.Object terminal,
|
|
boolean sources,
|
|
boolean targets)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all distincts visible opposite cells for the specified terminal
|
|
on the given edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i124" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getOrigin--">getOrigin</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns origin.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i125" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getOutgoingEdges-java.lang.Object-">getOutgoingEdges</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns all outgoing visible edges connected to the given cell without
|
|
loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i126" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getOutgoingEdges-java.lang.Object-java.lang.Object-">getOutgoingEdges</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the visible outgoing edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i127" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getOverlap-java.lang.Object-">getOverlap</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns a decimal number representing the amount of the width and height
|
|
of the given cell that is allowed to overlap its parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i128" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getPaintBounds-java.lang.Object:A-">getPaintBounds</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the bounding box of the given cells and their descendants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i129" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getPreferredSizeForCell-java.lang.Object-">getPreferredSizeForCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the preferred width and height of the given <mxCell> as an
|
|
<mxRectangle>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i130" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getRemovedCellsForChanges-java.util.List-">getRemovedCellsForChanges</a></span>​(java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells that have been removed from the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i131" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCell--">getSelectionCell</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i132" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCells--">getSelectionCells</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i133" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCellsForChanges-java.util.List-">getSelectionCellsForChanges</a></span>​(java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the cells to be selected for the given list of changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i134" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCount--">getSelectionCount</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i135" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionModel--">getSelectionModel</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i136" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getStartSize-java.lang.Object-">getStartSize</a></span>​(java.lang.Object swimlane)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the start size of the given swimlane, that is, the width or
|
|
height of the part that contains the title, depending on the
|
|
horizontal style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i137" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getStylesheet--">getStylesheet</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the stylesheet that provides the style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i138" class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getTargetForCell-java.lang.Object-">getTargetForCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the hyperlink to be used for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i139" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getTerminalForPort-java.lang.Object-boolean-">getTerminalForPort</a></span>​(java.lang.Object cell,
|
|
boolean source)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the terminal to be used for a given port.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i140" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getToolTipForCell-java.lang.Object-">getToolTipForCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the tooltip to be used for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i141" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getTranslateForRoot-java.lang.Object-">getTranslateForRoot</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the translation to be used if the given cell is the root cell as
|
|
an <mxPoint>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i142" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#getView--">getView</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the view that contains the cell states.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i143" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#graphModelChanged-com.mxgraph.model.mxIGraphModel-java.util.List-">graphModelChanged</a></span>​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> sender,
|
|
java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Called when the graph model changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i144" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#groupCells--">groupCells</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Groups the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i145" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#groupCells-java.lang.Object-">groupCells</a></span>​(java.lang.Object group)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Groups the selection cells and adds them to the given group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i146" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#groupCells-java.lang.Object-double-">groupCells</a></span>​(java.lang.Object group,
|
|
double border)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Groups the selection cells and adds them to the given group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i147" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#groupCells-java.lang.Object-double-java.lang.Object:A-">groupCells</a></span>​(java.lang.Object group,
|
|
double border,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds the cells into the given group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i148" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#home--">home</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Uses the root of the model as the root of the displayed cell hierarchy
|
|
and selects the previous root.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i149" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#insertEdge-java.lang.Object-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-">insertEdge</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Creates and adds a new edge with an empty style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i150" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#insertEdge-java.lang.Object-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.String-">insertEdge</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
java.lang.String style)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds a new edge into the given parent using value as the user object and
|
|
the given source and target as the terminals of the new edge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i151" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#insertVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-">insertVertex</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Creates and adds a new vertex with an empty style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i152" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#insertVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-">insertVertex</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds a new vertex into the given parent using value as the user object
|
|
and the given coordinates as the geometry of the new vertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i153" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#insertVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-boolean-">insertVertex</a></span>​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style,
|
|
boolean relative)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Adds a new vertex into the given parent using value as the user object
|
|
and the given coordinates as the geometry of the new vertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i154" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAllowDanglingEdges--">isAllowDanglingEdges</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns allowDanglingEdges</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i155" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAllowLoops--">isAllowLoops</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns allowLoops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i156" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAllowNegativeCoordinates--">isAllowNegativeCoordinates</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns isAllowNegativeCoordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i157" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAllowOverlapParent-java.lang.Object-">isAllowOverlapParent</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is allowed to be placed outside of the
|
|
parents area.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i158" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAutoOrigin--">isAutoOrigin</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns autoOrigin.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i159" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAutoSizeCell-java.lang.Object-">isAutoSizeCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i160" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isAutoSizeCells--">isAutoSizeCells</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i161" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellBendable-java.lang.Object-">isCellBendable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is bendable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i162" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellCloneable-java.lang.Object-">isCellCloneable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the constant true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i163" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellCollapsed-java.lang.Object-">isCellCollapsed</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is collapsed in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i164" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellConnectable-java.lang.Object-">isCellConnectable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is connectable in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i165" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellDeletable-java.lang.Object-">isCellDeletable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is movable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i166" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellDisconnectable-java.lang.Object-java.lang.Object-boolean-">isCellDisconnectable</a></span>​(java.lang.Object cell,
|
|
java.lang.Object terminal,
|
|
boolean source)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is disconnectable from the source or
|
|
target terminal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i167" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellEditable-java.lang.Object-">isCellEditable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is movable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i168" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellFoldable-java.lang.Object-boolean-">isCellFoldable</a></span>​(java.lang.Object cell,
|
|
boolean collapse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is expandable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i169" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellLocked-java.lang.Object-">isCellLocked</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell may not be moved, sized, bended,
|
|
disconnected, edited or selected.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i170" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellMovable-java.lang.Object-">isCellMovable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is movable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i171" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellResizable-java.lang.Object-">isCellResizable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is resizable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i172" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsBendable--">isCellsBendable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsBendable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i173" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsCloneable--">isCellsCloneable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsCloneable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i174" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsDeletable--">isCellsDeletable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsDeletable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i175" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsDisconnectable--">isCellsDisconnectable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsDisconnectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i176" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsEditable--">isCellsEditable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if editing is allowed in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i177" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellSelectable-java.lang.Object-">isCellSelectable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is selectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i178" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellSelected-java.lang.Object-">isCellSelected</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i179" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsLocked--">isCellsLocked</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsLocked, the default return value for isCellLocked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i180" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsMovable--">isCellsMovable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i181" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsResizable--">isCellsResizable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is resizable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i182" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellsSelectable--">isCellsSelectable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cellsSelectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i183" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCellVisible-java.lang.Object-">isCellVisible</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is visible in this graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i184" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCloneInvalidEdges--">isCloneInvalidEdges</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns cloneInvalidEdges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i185" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isCollapseToPreferredSize--">isCollapseToPreferredSize</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns collapseToPreferredSize.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i186" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isConnectableEdges--">isConnectableEdges</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns connectableEdges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i187" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isConstrainChild-java.lang.Object-">isConstrainChild</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell should be kept inside the bounds of its
|
|
parent according to the rules defined by getOverlap and
|
|
isAllowOverlapParent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i188" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isConstrainChildren--">isConstrainChildren</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns constrainChildren.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i189" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isDisconnectOnMove--">isDisconnectOnMove</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns disconnectOnMove</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i190" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isDropEnabled--">isDropEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the graph allows drop into other cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i191" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isEdgeLabelsMovable--">isEdgeLabelsMovable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns edgeLabelsMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i192" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isEdgeValid-java.lang.Object-java.lang.Object-java.lang.Object-">isEdgeValid</a></span>​(java.lang.Object edge,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Checks if the return value of getEdgeValidationError for the given
|
|
arguments is null.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i193" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isEnabled--">isEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the graph is <enabled>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i194" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isExtendParent-java.lang.Object-">isExtendParent</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the parent of the given cell should be extended if the
|
|
child has been resized so that it overlaps the parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i195" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isExtendParents--">isExtendParents</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns extendParents.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i196" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isExtendParentsOnAdd--">isExtendParentsOnAdd</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns extendParentsOnAdd.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i197" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isGridEnabled--">isGridEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the grid is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i198" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isHtmlLabel-java.lang.Object-">isHtmlLabel</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the label must be rendered as HTML markup.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i199" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isHtmlLabels--">isHtmlLabels</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i200" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isKeepEdgesInBackground--">isKeepEdgesInBackground</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i201" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isKeepEdgesInForeground--">isKeepEdgesInForeground</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i202" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isLabelClipped-java.lang.Object-">isLabelClipped</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the overflow portion of labels should be hidden.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i203" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isLabelMovable-java.lang.Object-">isLabelMovable</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given edges's label is moveable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i204" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isLabelsClipped--">isLabelsClipped</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns labelsClipped.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i205" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isLabelsVisible--">isLabelsVisible</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i206" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isLoop-com.mxgraph.view.mxCellState-">isLoop</a></span>​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell state is a loop.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i207" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isMultigraph--">isMultigraph</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns multigraph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i208" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isOrthogonal-com.mxgraph.view.mxCellState-">isOrthogonal</a></span>​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> edge)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if perimeter points should be computed such that the
|
|
resulting edge has only horizontal or vertical segments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i209" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isPort-java.lang.Object-">isPort</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is a "port", that is, when connecting to
|
|
it, the cell returned by getTerminalForPort should be used as the
|
|
terminal and the port should be referenced by the ID in either the
|
|
mxConstants.STYLE_SOURCE_PORT or the or the
|
|
mxConstants.STYLE_TARGET_PORT.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i210" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isPortsEnabled--">isPortsEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if ports are enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i211" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnConnect--">isResetEdgesOnConnect</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns resetEdgesOnConnect.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i212" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnMove--">isResetEdgesOnMove</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns resetEdgesOnMove.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i213" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnResize--">isResetEdgesOnResize</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns resetEdgesOnResize.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i214" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isResetViewOnRootChange--">isResetViewOnRootChange</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns resetViewOnRootChange.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i215" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isSelectionEmpty--">isSelectionEmpty</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i216" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isSplitEnabled--">isSplitEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Affects the return values of isValidDropTarget to allow for edges as
|
|
drop targets.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i217" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isSplitTarget-java.lang.Object-java.lang.Object:A-">isSplitTarget</a></span>​(java.lang.Object target,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if split is enabled and the given edge may be splitted into
|
|
two edges with the given cell as a new terminal between the two.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i218" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isSwimlane-java.lang.Object-">isSwimlane</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is a swimlane.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i219" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isSwimlaneNesting--">isSwimlaneNesting</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns swimlaneNesting.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i220" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isTerminalPointMovable-java.lang.Object-boolean-">isTerminalPointMovable</a></span>​(java.lang.Object cell,
|
|
boolean source)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Function: isTerminalPointMovable
|
|
|
|
Returns true if the given terminal point is movable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i221" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isValidAncestor-java.lang.Object-java.lang.Object-boolean-">isValidAncestor</a></span>​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean recurse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns whether or not the specified parent is a valid
|
|
ancestor of the specified cell, either direct or indirectly
|
|
based on whether ancestor recursion is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i222" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isValidConnection-java.lang.Object-java.lang.Object-">isValidConnection</a></span>​(java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given target cell is a valid target for source.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i223" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isValidDropTarget-java.lang.Object-java.lang.Object:A-">isValidDropTarget</a></span>​(java.lang.Object cell,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is a valid drop target for the specified
|
|
cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i224" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isValidRoot-java.lang.Object-">isValidRoot</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is a valid root for the cell display
|
|
hierarchy.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i225" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isValidSource-java.lang.Object-">isValidSource</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns true if the given cell is a valid source for new connections.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i226" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isValidTarget-java.lang.Object-">isValidTarget</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns isValidSource for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i227" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#isVertexLabelsMovable--">isVertexLabelsMovable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns vertexLabelsMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i228" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#main-java.lang.String:A-">main</a></span>​(java.lang.String[] args)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Logs the version number on the console.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i229" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#moveCells-java.lang.Object:A-double-double-">moveCells</a></span>​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves the cells by the given amount.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i230" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#moveCells-java.lang.Object:A-double-double-boolean-">moveCells</a></span>​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean clone)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves or clones the cells and moves the cells or clones by the given
|
|
amount.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i231" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#moveCells-java.lang.Object:A-double-double-boolean-java.lang.Object-java.awt.Point-">moveCells</a></span>​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean clone,
|
|
java.lang.Object target,
|
|
java.awt.Point location)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves or clones the specified cells and moves the cells or clones by the
|
|
given amount, adding them to the optional target cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i232" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#orderCells-boolean-">orderCells</a></span>​(boolean back)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves the selection cells to the front or back.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i233" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#orderCells-boolean-java.lang.Object:A-">orderCells</a></span>​(boolean back,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves the given cells to the front or back.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i234" class="altColor">
|
|
<td class="colFirst"><code>protected java.util.Map<java.lang.String,java.lang.Object></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#postProcessCellStyle-java.util.Map-">postProcessCellStyle</a></span>​(java.util.Map<java.lang.String,java.lang.Object> style)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Tries to resolve the value for the image style in the image bundles and
|
|
turns short data URIs as defined in mxImageBundle to data URIs as
|
|
defined in RFC 2397 of the IETF.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i235" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#processChange-com.mxgraph.util.mxUndoableEdit.mxUndoableChange-boolean-boolean-">processChange</a></span>​(<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a> change,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Processes the given change and invalidates the respective cached data
|
|
in <view>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i236" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#processChanges-java.util.List-boolean-boolean-">processChanges</a></span>​(java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Processes the changes and returns the minimal rectangle to be
|
|
repainted in the buffer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i237" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#refresh--">refresh</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Clears all cell states or the states for the hierarchy starting at the
|
|
given cell and validates the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i238" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeCells--">removeCells</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the selection cells from the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i239" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeCells-java.lang.Object:A-">removeCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the given cells from the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i240" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeCells-java.lang.Object:A-boolean-">removeCells</a></span>​(java.lang.Object[] cells,
|
|
boolean includeEdges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the given cells from the graph including all connected edges if
|
|
includeEdges is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i241" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeCellsFromParent--">removeCellsFromParent</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the selection cells from their parents and adds them to the
|
|
default parent returned by getDefaultParent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i242" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeCellsFromParent-java.lang.Object:A-">removeCellsFromParent</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the specified cells from their parents and adds them to the
|
|
default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i243" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeImageBundle-com.mxgraph.util.mxImageBundle-">removeImageBundle</a></span>​(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a> bundle)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes the specified bundle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i244" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removePropertyChangeListener-java.beans.PropertyChangeListener-">removePropertyChangeListener</a></span>​(java.beans.PropertyChangeListener listener)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i245" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removePropertyChangeListener-java.lang.String-java.beans.PropertyChangeListener-">removePropertyChangeListener</a></span>​(java.lang.String propertyName,
|
|
java.beans.PropertyChangeListener listener)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i246" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeSelectionCell-java.lang.Object-">removeSelectionCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i247" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeSelectionCells-java.lang.Object:A-">removeSelectionCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i248" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#removeStateForCell-java.lang.Object-">removeStateForCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Removes all cached information for the given cell and its descendants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i249" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#repaint--">repaint</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Fires a repaint event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i250" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#repaint-com.mxgraph.util.mxRectangle-">repaint</a></span>​(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> region)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Fires a repaint event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i251" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resetEdge-java.lang.Object-">resetEdge</a></span>​(java.lang.Object edge)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Resets the control points of the given edge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i252" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resetEdges-java.lang.Object:A-">resetEdges</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Resets the control points of the edges that are connected to the given
|
|
cells if not both ends of the edge are in the given cells array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i253" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resizeCell-java.lang.Object-com.mxgraph.util.mxRectangle-">resizeCell</a></span>​(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> bounds)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the bounds of the given cell using resizeCells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i254" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#resizeCells-java.lang.Object:A-com.mxgraph.util.mxRectangle:A-">resizeCells</a></span>​(java.lang.Object[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] bounds)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS
|
|
event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i255" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectAll--">selectAll</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i256" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectAll-java.lang.Object-">selectAll</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all children of the given parent cell or the children of the
|
|
default parent if no parent is specified.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i257" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectCell-boolean-boolean-boolean-">selectCell</a></span>​(boolean isNext,
|
|
boolean isParent,
|
|
boolean isChild)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects the next, parent, first child or previous cell, if all arguments
|
|
are false.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i258" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectCells-boolean-boolean-">selectCells</a></span>​(boolean vertices,
|
|
boolean edges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i259" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectCells-boolean-boolean-java.lang.Object-">selectCells</a></span>​(boolean vertices,
|
|
boolean edges,
|
|
java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the given parent or the default
|
|
parent if no parent is specified.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i260" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectChildCell--">selectChildCell</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects the first child cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i261" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectEdges--">selectEdges</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all vertices inside the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i262" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectEdges-java.lang.Object-">selectEdges</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i263" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectNextCell--">selectNextCell</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects the next cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i264" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectParentCell--">selectParentCell</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects the parent cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i265" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectPreviousCell--">selectPreviousCell</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects the previous cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i266" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectVertices--">selectVertices</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all vertices inside the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i267" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#selectVertices-java.lang.Object-">selectVertices</a></span>​(java.lang.Object parent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i268" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setAllowDanglingEdges-boolean-">setAllowDanglingEdges</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets allowDanglingEdges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i269" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setAllowLoops-boolean-">setAllowLoops</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets allowLoops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i270" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setAllowNegativeCoordinates-boolean-">setAllowNegativeCoordinates</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i271" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setAlternateEdgeStyle-java.lang.String-">setAlternateEdgeStyle</a></span>​(java.lang.String value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets alternateEdgeStyle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i272" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setAutoOrigin-boolean-">setAutoOrigin</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i273" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setAutoSizeCells-boolean-">setAutoSizeCells</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if cell sizes should be automatically updated after a label
|
|
change.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i274" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setBorder-int-">setBorder</a></span>​(int value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the value of <border>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i275" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsBendable-boolean-">setCellsBendable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cellsBendable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i276" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsCloneable-boolean-">setCellsCloneable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the graph should allow cloning of cells by holding down the
|
|
control key while cells are being moved.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i277" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsDeletable-boolean-">setCellsDeletable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cellsDeletable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i278" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsDisconnectable-boolean-">setCellsDisconnectable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cellsDisconnectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i279" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsEditable-boolean-">setCellsEditable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets if the graph is editable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i280" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsLocked-boolean-">setCellsLocked</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cellsLocked, the default return value for isCellLocked and fires a
|
|
property change event for cellsLocked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i281" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsMovable-boolean-">setCellsMovable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cellsMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i282" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsResizable-boolean-">setCellsResizable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets if the graph is resizable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i283" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellsSelectable-boolean-">setCellsSelectable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cellsSelectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i284" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyle-java.lang.String-">setCellStyle</a></span>​(java.lang.String style)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the style of the selection cells to the given value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i285" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyle-java.lang.String-java.lang.Object:A-">setCellStyle</a></span>​(java.lang.String style,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the style of the specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i286" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyleFlags-java.lang.String-int-boolean-">setCellStyleFlags</a></span>​(java.lang.String key,
|
|
int flag,
|
|
boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets or toggles the given bit for the given key in the styles of the
|
|
selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i287" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyleFlags-java.lang.String-int-java.lang.Boolean-java.lang.Object:A-">setCellStyleFlags</a></span>​(java.lang.String key,
|
|
int flag,
|
|
java.lang.Boolean value,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets or toggles the given bit for the given key in the styles of the
|
|
specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i288" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyles-java.lang.String-java.lang.String-">setCellStyles</a></span>​(java.lang.String key,
|
|
java.lang.String value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the key to value in the styles of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i289" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyles-java.lang.String-java.lang.String-java.lang.Object:A-">setCellStyles</a></span>​(java.lang.String key,
|
|
java.lang.String value,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the key to value in the styles of the given cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i290" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setChangesRepaintThreshold-int-">setChangesRepaintThreshold</a></span>​(int value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i291" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCloneInvalidEdges-boolean-">setCloneInvalidEdges</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets cloneInvalidEdge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i292" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setCollapseToPreferredSize-boolean-">setCollapseToPreferredSize</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i293" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setConnectableEdges-boolean-">setConnectableEdges</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets connetableEdges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i294" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setConnectionConstraint-java.lang.Object-java.lang.Object-boolean-com.mxgraph.view.mxConnectionConstraint-">setConnectionConstraint</a></span>​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the connection constraint that describes the given connection point.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i295" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setConstrainChildren-boolean-">setConstrainChildren</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i296" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setDefaultLoopStyle-com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction-">setDefaultLoopStyle</a></span>​(<a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the default style used for loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i297" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setDefaultOverlap-double-">setDefaultOverlap</a></span>​(double value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets defaultOverlap.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i298" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setDefaultParent-java.lang.Object-">setDefaultParent</a></span>​(java.lang.Object value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the default parent to be returned by getDefaultParent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i299" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setDisconnectOnMove-boolean-">setDisconnectOnMove</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets disconnectOnMove.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i300" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setDropEnabled-boolean-">setDropEnabled</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets dropEnabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i301" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setEdgeLabelsMovable-boolean-">setEdgeLabelsMovable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns edgeLabelsMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i302" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setEnabled-boolean-">setEnabled</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Specifies if the graph should allow any interactions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i303" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setExtendParents-boolean-">setExtendParents</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets extendParents.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i304" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setExtendParentsOnAdd-boolean-">setExtendParentsOnAdd</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets extendParentsOnAdd.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i305" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setGridEnabled-boolean-">setGridEnabled</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets if the grid is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i306" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setGridSize-int-">setGridSize</a></span>​(int value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the grid size and fires a property change event for gridSize.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i307" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setHtmlLabels-boolean-">setHtmlLabels</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i308" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setKeepEdgesInBackground-boolean-">setKeepEdgesInBackground</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i309" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setKeepEdgesInForeground-boolean-">setKeepEdgesInForeground</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i310" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setLabelsClipped-boolean-">setLabelsClipped</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets labelsClipped.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i311" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setLabelsVisible-boolean-">setLabelsVisible</a></span>​(boolean value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i312" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setMaximumGraphBounds-com.mxgraph.util.mxRectangle-">setMaximumGraphBounds</a></span>​(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i313" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setMinimumGraphSize-com.mxgraph.util.mxRectangle-">setMinimumGraphSize</a></span>​(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i314" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setModel-com.mxgraph.model.mxIGraphModel-">setModel</a></span>​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the graph model that contains the data, and fires an
|
|
mxEvent.CHANGE followed by an mxEvent.REPAINT event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i315" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setMultigraph-boolean-">setMultigraph</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets multigraph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i316" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setMultiplicities-com.mxgraph.view.mxMultiplicity:A-">setMultiplicities</a></span>​(<a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i317" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setOrigin-com.mxgraph.util.mxPoint-">setOrigin</a></span>​(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> value)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i318" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setPortsEnabled-boolean-">setPortsEnabled</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets if ports are enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i319" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnConnect-boolean-">setResetEdgesOnConnect</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets resetEdgesOnConnect.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i320" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnMove-boolean-">setResetEdgesOnMove</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets resetEdgesOnMove.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i321" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnResize-boolean-">setResetEdgesOnResize</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets resetEdgesOnResize.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i322" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setResetViewOnRootChange-boolean-">setResetViewOnRootChange</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets resetEdgesOnResize.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i323" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setSelectionCell-java.lang.Object-">setSelectionCell</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i324" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setSelectionCells-java.lang.Object:A-">setSelectionCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i325" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setSelectionCells-java.util.Collection-">setSelectionCells</a></span>​(java.util.Collection<java.lang.Object> cells)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i326" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setSplitEnabled-boolean-">setSplitEnabled</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets splitEnabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i327" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setStylesheet-com.mxgraph.view.mxStylesheet-">setStylesheet</a></span>​(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the stylesheet that provides the style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i328" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setSwimlaneNesting-boolean-">setSwimlaneNesting</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets swimlaneNesting.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i329" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setVertexLabelsMovable-boolean-">setVertexLabelsMovable</a></span>​(boolean value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets vertexLabelsMovable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i330" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#setView-com.mxgraph.view.mxGraphView-">setView</a></span>​(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the view that contains the cell states.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i331" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#snap-double-">snap</a></span>​(double value)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Snaps the given numeric value to the grid if <gridEnabled> is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i332" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#splitEdge-java.lang.Object-java.lang.Object:A-">splitEdge</a></span>​(java.lang.Object edge,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i333" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#splitEdge-java.lang.Object-java.lang.Object:A-double-double-">splitEdge</a></span>​(java.lang.Object edge,
|
|
java.lang.Object[] cells,
|
|
double dx,
|
|
double dy)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i334" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#splitEdge-java.lang.Object-java.lang.Object:A-java.lang.Object-double-double-">splitEdge</a></span>​(java.lang.Object edge,
|
|
java.lang.Object[] cells,
|
|
java.lang.Object newEdge,
|
|
double dx,
|
|
double dy)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Splits the given edge by adding a newEdge between the previous source
|
|
and the given cell and reconnecting the source of the given edge to the
|
|
given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i335" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#swapBounds-java.lang.Object-boolean-">swapBounds</a></span>​(java.lang.Object cell,
|
|
boolean willCollapse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Swaps the alternate and the actual bounds in the geometry of the given
|
|
cell invoking updateAlternateBounds before carrying out the swap.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i336" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells-boolean-">toggleCells</a></span>​(boolean show)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the visible state of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i337" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells-boolean-java.lang.Object:A-">toggleCells</a></span>​(boolean show,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the visible state of the specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i338" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells-boolean-java.lang.Object:A-boolean-">toggleCells</a></span>​(boolean show,
|
|
java.lang.Object[] cells,
|
|
boolean includeEdges)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the visible state of the specified cells and all connected edges
|
|
if includeEdges is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i339" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyle-java.lang.String-boolean-java.lang.Object-">toggleCellStyle</a></span>​(java.lang.String key,
|
|
boolean defaultValue,
|
|
java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i340" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyleFlags-java.lang.String-int-">toggleCellStyleFlags</a></span>​(java.lang.String key,
|
|
int flag)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Toggles the given bit for the given key in the styles of the selection
|
|
cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i341" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyleFlags-java.lang.String-int-java.lang.Object:A-">toggleCellStyleFlags</a></span>​(java.lang.String key,
|
|
int flag,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Toggles the given bit for the given key in the styles of the specified
|
|
cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i342" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyles-java.lang.String-boolean-">toggleCellStyles</a></span>​(java.lang.String key,
|
|
boolean defaultValue)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i343" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyles-java.lang.String-boolean-java.lang.Object:A-">toggleCellStyles</a></span>​(java.lang.String key,
|
|
boolean defaultValue,
|
|
java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Toggles the boolean value for the given key in the style of the given
|
|
cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i344" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#toString--">toString</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i345" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#translateCell-java.lang.Object-double-double-">translateCell</a></span>​(java.lang.Object cell,
|
|
double dx,
|
|
double dy)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Translates the geometry of the given cell and stores the new,
|
|
translated geometry in the model as an atomic change.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i346" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#traverse-java.lang.Object-boolean-com.mxgraph.view.mxGraph.mxICellVisitor-">traverse</a></span>​(java.lang.Object vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Traverses the tree starting at the given vertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i347" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#traverse-java.lang.Object-boolean-com.mxgraph.view.mxGraph.mxICellVisitor-java.lang.Object-java.util.Set-">traverse</a></span>​(java.lang.Object vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor,
|
|
java.lang.Object edge,
|
|
java.util.Set<java.lang.Object> visited)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Traverses the (directed) graph invoking the given function for each
|
|
visited vertex and edge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i348" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#ungroupCells--">ungroupCells</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Ungroups the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i349" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#ungroupCells-java.lang.Object:A-">ungroupCells</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Ungroups the given cells by moving the children the children to their
|
|
parents parent and removing the empty groups.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i350" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateAlternateBounds-java.lang.Object-com.mxgraph.model.mxGeometry-boolean-">updateAlternateBounds</a></span>​(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> geo,
|
|
boolean willCollapse)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates or sets the alternate bounds in the given geometry for the given
|
|
cell depending on whether the cell is going to be collapsed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i351" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateCellSize-java.lang.Object-">updateCellSize</a></span>​(java.lang.Object cell)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i352" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateCellSize-java.lang.Object-boolean-">updateCellSize</a></span>​(java.lang.Object cell,
|
|
boolean ignoreChildren)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i353" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds--">updateGroupBounds</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i354" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds-java.lang.Object:A-">updateGroupBounds</a></span>​(java.lang.Object[] cells)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i355" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds-java.lang.Object:A-int-">updateGroupBounds</a></span>​(java.lang.Object[] cells,
|
|
int border)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i356" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds-java.lang.Object:A-int-boolean-">updateGroupBounds</a></span>​(java.lang.Object[] cells,
|
|
int border,
|
|
boolean moveParent)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i357" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#updateOrigin--">updateOrigin</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Extends the canvas by doing another validation with a shifted
|
|
global translation if the bounds of the graph are below (0,0).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i358" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#validateCell-java.lang.Object-java.util.Hashtable-">validateCell</a></span>​(java.lang.Object cell,
|
|
java.util.Hashtable<java.lang.Object,java.lang.Object> context)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
cell and validation context.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i359" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/mxgraph/view/mxGraph.html#validateEdge-java.lang.Object-java.lang.Object-java.lang.Object-">validateEdge</a></span>​(java.lang.Object edge,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
edge and terminals.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.com.mxgraph.util.mxEventSource">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class com.mxgraph.util.<a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
|
|
<code><a href="../../../com/mxgraph/util/mxEventSource.html#addListener-java.lang.String-com.mxgraph.util.mxEventSource.mxIEventListener-">addListener</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#fireEvent-com.mxgraph.util.mxEventObject-">fireEvent</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#fireEvent-com.mxgraph.util.mxEventObject-java.lang.Object-">fireEvent</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#getEventSource--">getEventSource</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#isEventsEnabled--">isEventsEnabled</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#removeListener-com.mxgraph.util.mxEventSource.mxIEventListener-">removeListener</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#removeListener-com.mxgraph.util.mxEventSource.mxIEventListener-java.lang.String-">removeListener</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#setEventsEnabled-boolean-">setEventsEnabled</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#setEventSource-java.lang.Object-">setEventSource</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="VERSION">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>VERSION</h4>
|
|
<pre>public static final java.lang.String VERSION</pre>
|
|
<div class="block">Holds the version number of this release. Current version
|
|
is 3.9.12.</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.view.mxGraph.VERSION">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="changeSupport">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>changeSupport</h4>
|
|
<pre>protected java.beans.PropertyChangeSupport changeSupport</pre>
|
|
<div class="block">Property change event handling.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="model">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>model</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model</pre>
|
|
<div class="block">Holds the model that contains the cells to be displayed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="view">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>view</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> view</pre>
|
|
<div class="block">Holds the view that caches the cell states.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="stylesheet">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>stylesheet</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet</pre>
|
|
<div class="block">Holds the stylesheet that defines the appearance of the cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectionModel">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectionModel</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a> selectionModel</pre>
|
|
<div class="block">Holds the <mxGraphSelection> that models the current selection.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="gridSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridSize</h4>
|
|
<pre>protected int gridSize</pre>
|
|
<div class="block">Specifies the grid size. Default is 10.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="gridEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridEnabled</h4>
|
|
<pre>protected boolean gridEnabled</pre>
|
|
<div class="block">Specifies if the grid is enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="portsEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>portsEnabled</h4>
|
|
<pre>protected boolean portsEnabled</pre>
|
|
<div class="block">Specifies if ports are enabled. This is used in <cellConnected> to update
|
|
the respective style. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultOverlap">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultOverlap</h4>
|
|
<pre>protected double defaultOverlap</pre>
|
|
<div class="block">Value returned by getOverlap if isAllowOverlapParent returns
|
|
true for the given cell. getOverlap is used in keepInside if
|
|
isKeepInsideParentOnMove returns true. The value specifies the
|
|
portion of the child which is allowed to overlap the parent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultParent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultParent</h4>
|
|
<pre>protected java.lang.Object defaultParent</pre>
|
|
<div class="block">Specifies the default parent to be used to insert new cells.
|
|
This is used in getDefaultParent. Default is null.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="alternateEdgeStyle">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alternateEdgeStyle</h4>
|
|
<pre>protected java.lang.String alternateEdgeStyle</pre>
|
|
<div class="block">Specifies the alternate edge style to be used if the main control point
|
|
on an edge is being doubleclicked. Default is null.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="enabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enabled</h4>
|
|
<pre>protected boolean enabled</pre>
|
|
<div class="block">Specifies the return value for isEnabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsLocked">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsLocked</h4>
|
|
<pre>protected boolean cellsLocked</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Locked. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsEditable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsEditable</h4>
|
|
<pre>protected boolean cellsEditable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Editable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsResizable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsResizable</h4>
|
|
<pre>protected boolean cellsResizable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Sizable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsMovable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsMovable</h4>
|
|
<pre>protected boolean cellsMovable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Movable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsBendable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsBendable</h4>
|
|
<pre>protected boolean cellsBendable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Bendable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsSelectable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsSelectable</h4>
|
|
<pre>protected boolean cellsSelectable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Selectable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsDeletable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsDeletable</h4>
|
|
<pre>protected boolean cellsDeletable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Deletable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsCloneable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsCloneable</h4>
|
|
<pre>protected boolean cellsCloneable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Cloneable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsDisconnectable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsDisconnectable</h4>
|
|
<pre>protected boolean cellsDisconnectable</pre>
|
|
<div class="block">Specifies the return value for isCellDisconntableFromTerminal. Default
|
|
is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="labelsClipped">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelsClipped</h4>
|
|
<pre>protected boolean labelsClipped</pre>
|
|
<div class="block">Specifies the return value for isLabel(s)Clipped. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="edgeLabelsMovable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>edgeLabelsMovable</h4>
|
|
<pre>protected boolean edgeLabelsMovable</pre>
|
|
<div class="block">Specifies the return value for edges in isLabelMovable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="vertexLabelsMovable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>vertexLabelsMovable</h4>
|
|
<pre>protected boolean vertexLabelsMovable</pre>
|
|
<div class="block">Specifies the return value for vertices in isLabelMovable. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="dropEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dropEnabled</h4>
|
|
<pre>protected boolean dropEnabled</pre>
|
|
<div class="block">Specifies the return value for isDropEnabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="splitEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>splitEnabled</h4>
|
|
<pre>protected boolean splitEnabled</pre>
|
|
<div class="block">Specifies if dropping onto edges should be enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="autoSizeCells">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoSizeCells</h4>
|
|
<pre>protected boolean autoSizeCells</pre>
|
|
<div class="block">Specifies if the graph should automatically update the cell size
|
|
after an edit. This is used in isAutoSizeCell. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="maximumGraphBounds">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>maximumGraphBounds</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> maximumGraphBounds</pre>
|
|
<div class="block"><mxRectangle> that specifies the area in which all cells in the
|
|
diagram should be placed. Uses in getMaximumGraphBounds. Use a width
|
|
or height of 0 if you only want to give a upper, left corner.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="minimumGraphSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>minimumGraphSize</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> minimumGraphSize</pre>
|
|
<div class="block">mxRectangle that specifies the minimum size of the graph canvas inside
|
|
the scrollpane.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="border">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>border</h4>
|
|
<pre>protected int border</pre>
|
|
<div class="block">Border to be added to the bottom and right side when the container is
|
|
being resized after the graph has been changed. Default is 0.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="keepEdgesInForeground">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keepEdgesInForeground</h4>
|
|
<pre>protected boolean keepEdgesInForeground</pre>
|
|
<div class="block">Specifies if edges should appear in the foreground regardless of their
|
|
order in the model. This has precendence over keepEdgeInBackground
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="keepEdgesInBackground">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keepEdgesInBackground</h4>
|
|
<pre>protected boolean keepEdgesInBackground</pre>
|
|
<div class="block">Specifies if edges should appear in the background regardless of their
|
|
order in the model. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="collapseToPreferredSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>collapseToPreferredSize</h4>
|
|
<pre>protected boolean collapseToPreferredSize</pre>
|
|
<div class="block">Specifies if the cell size should be changed to the preferred size when
|
|
a cell is first collapsed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="allowNegativeCoordinates">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowNegativeCoordinates</h4>
|
|
<pre>protected boolean allowNegativeCoordinates</pre>
|
|
<div class="block">Specifies if negative coordinates for vertices are allowed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="constrainChildren">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>constrainChildren</h4>
|
|
<pre>protected boolean constrainChildren</pre>
|
|
<div class="block">Specifies the return value for isConstrainChildren. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="extendParents">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>extendParents</h4>
|
|
<pre>protected boolean extendParents</pre>
|
|
<div class="block">Specifies if a parent should contain the child bounds after a resize of
|
|
the child. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="extendParentsOnAdd">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>extendParentsOnAdd</h4>
|
|
<pre>protected boolean extendParentsOnAdd</pre>
|
|
<div class="block">Specifies if parents should be extended according to the <extendParents>
|
|
switch if cells are added. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetViewOnRootChange">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetViewOnRootChange</h4>
|
|
<pre>protected boolean resetViewOnRootChange</pre>
|
|
<div class="block">Specifies if the scale and translate should be reset if
|
|
the root changes in the model. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdgesOnResize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdgesOnResize</h4>
|
|
<pre>protected boolean resetEdgesOnResize</pre>
|
|
<div class="block">Specifies if loops (aka self-references) are allowed.
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdgesOnMove">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdgesOnMove</h4>
|
|
<pre>protected boolean resetEdgesOnMove</pre>
|
|
<div class="block">Specifies if edge control points should be reset after
|
|
the move of a connected cell. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdgesOnConnect">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdgesOnConnect</h4>
|
|
<pre>protected boolean resetEdgesOnConnect</pre>
|
|
<div class="block">Specifies if edge control points should be reset after
|
|
the the edge has been reconnected. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="allowLoops">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowLoops</h4>
|
|
<pre>protected boolean allowLoops</pre>
|
|
<div class="block">Specifies if loops (aka self-references) are allowed.
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="multiplicities">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>multiplicities</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] multiplicities</pre>
|
|
<div class="block">Specifies the multiplicities to be used for validation of the graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultLoopStyle">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultLoopStyle</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> defaultLoopStyle</pre>
|
|
<div class="block">Specifies the default style for loops.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="multigraph">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>multigraph</h4>
|
|
<pre>protected boolean multigraph</pre>
|
|
<div class="block">Specifies if multiple edges in the same direction between
|
|
the same pair of vertices are allowed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="connectableEdges">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>connectableEdges</h4>
|
|
<pre>protected boolean connectableEdges</pre>
|
|
<div class="block">Specifies if edges are connectable. Default is false.
|
|
This overrides the connectable field in edges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="allowDanglingEdges">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowDanglingEdges</h4>
|
|
<pre>protected boolean allowDanglingEdges</pre>
|
|
<div class="block">Specifies if edges with disconnected terminals are
|
|
allowed in the graph. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cloneInvalidEdges">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cloneInvalidEdges</h4>
|
|
<pre>protected boolean cloneInvalidEdges</pre>
|
|
<div class="block">Specifies if edges that are cloned should be validated and only inserted
|
|
if they are valid. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="disconnectOnMove">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>disconnectOnMove</h4>
|
|
<pre>protected boolean disconnectOnMove</pre>
|
|
<div class="block">Specifies if edges should be disconnected from their terminals when they
|
|
are moved. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="labelsVisible">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelsVisible</h4>
|
|
<pre>protected boolean labelsVisible</pre>
|
|
<div class="block">Specifies if labels should be visible. This is used in
|
|
getLabel. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="htmlLabels">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>htmlLabels</h4>
|
|
<pre>protected boolean htmlLabels</pre>
|
|
<div class="block">Specifies the return value for isHtmlLabel. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="swimlaneNesting">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>swimlaneNesting</h4>
|
|
<pre>protected boolean swimlaneNesting</pre>
|
|
<div class="block">Specifies if nesting of swimlanes is allowed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="changesRepaintThreshold">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>changesRepaintThreshold</h4>
|
|
<pre>protected int changesRepaintThreshold</pre>
|
|
<div class="block">Specifies the maximum number of changes that should be processed to find
|
|
the dirty region. If the number of changes is larger, then the complete
|
|
grah is repainted. A value of zero will always compute the dirty region
|
|
for any number of changes. Default is 1000.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="autoOrigin">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoOrigin</h4>
|
|
<pre>protected boolean autoOrigin</pre>
|
|
<div class="block">Specifies if the origin should be automatically updated.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="origin">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>origin</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> origin</pre>
|
|
<div class="block">Holds the current automatic origin.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="imageBundles">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>imageBundles</h4>
|
|
<pre>protected static java.util.List<<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> imageBundles</pre>
|
|
<div class="block">Holds the list of bundles.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="fullRepaintHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>fullRepaintHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> fullRepaintHandler</pre>
|
|
<div class="block">Fires repaint events for full repaints.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateOriginHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateOriginHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> updateOriginHandler</pre>
|
|
<div class="block">Fires repaint events for full repaints.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="graphModelChangeHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>graphModelChangeHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> graphModelChangeHandler</pre>
|
|
<div class="block">Fires repaint events for model changes.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="mxGraph--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mxGraph</h4>
|
|
<pre>public mxGraph()</pre>
|
|
<div class="block">Constructs a new graph with an empty
|
|
<a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a>.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="mxGraph-com.mxgraph.model.mxIGraphModel-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mxGraph</h4>
|
|
<pre>public mxGraph​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model)</pre>
|
|
<div class="block">Constructs a new graph for the specified model. If no model is
|
|
specified, then a new, empty <a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a> is
|
|
used.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>model</code> - Model that contains the graph data</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="mxGraph-com.mxgraph.view.mxStylesheet-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mxGraph</h4>
|
|
<pre>public mxGraph​(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet)</pre>
|
|
<div class="block">Constructs a new graph for the specified model. If no model is
|
|
specified, then a new, empty <a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a> is
|
|
used.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>stylesheet</code> - The stylesheet to use for the graph.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="mxGraph-com.mxgraph.model.mxIGraphModel-com.mxgraph.view.mxStylesheet-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>mxGraph</h4>
|
|
<pre>public mxGraph​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model,
|
|
<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet)</pre>
|
|
<div class="block">Constructs a new graph for the specified model. If no model is
|
|
specified, then a new, empty <a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a> is
|
|
used.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>model</code> - Model that contains the graph data</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="createSelectionModel--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createSelectionModel</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a> createSelectionModel()</pre>
|
|
<div class="block">Constructs a new selection model to be used in this graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createStylesheet--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createStylesheet</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> createStylesheet()</pre>
|
|
<div class="block">Constructs a new stylesheet to be used in this graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createGraphView--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createGraphView</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> createGraphView()</pre>
|
|
<div class="block">Constructs a new view to be used in this graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getModel--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getModel</h4>
|
|
<pre>public <a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> getModel()</pre>
|
|
<div class="block">Returns the graph model that contains the graph data.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the model that contains the graph data</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setModel-com.mxgraph.model.mxIGraphModel-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setModel</h4>
|
|
<pre>public void setModel​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> value)</pre>
|
|
<div class="block">Sets the graph model that contains the data, and fires an
|
|
mxEvent.CHANGE followed by an mxEvent.REPAINT event.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Model that contains the graph data</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getView--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getView</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> getView()</pre>
|
|
<div class="block">Returns the view that contains the cell states.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the view that contains the cell states</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setView-com.mxgraph.view.mxGraphView-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setView</h4>
|
|
<pre>public void setView​(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> value)</pre>
|
|
<div class="block">Sets the view that contains the cell states.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - View that contains the cell states</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getStylesheet--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStylesheet</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> getStylesheet()</pre>
|
|
<div class="block">Returns the stylesheet that provides the style.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the stylesheet that provides the style.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setStylesheet-com.mxgraph.view.mxStylesheet-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setStylesheet</h4>
|
|
<pre>public void setStylesheet​(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> value)</pre>
|
|
<div class="block">Sets the stylesheet that provides the style.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Stylesheet that provides the style.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addTopmostVerticesAndEdges-java.lang.Object-java.util.List-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addTopmostVerticesAndEdges</h4>
|
|
<pre>public void addTopmostVerticesAndEdges​(java.lang.Object cell,
|
|
java.util.List<java.lang.Object> cells)</pre>
|
|
<div class="block">Returns the cells to be selected for the given list of changes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCellsForChanges-java.util.List-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCellsForChanges</h4>
|
|
<pre>public java.lang.Object[] getSelectionCellsForChanges​(java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</pre>
|
|
<div class="block">Returns the cells to be selected for the given list of changes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="graphModelChanged-com.mxgraph.model.mxIGraphModel-java.util.List-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>graphModelChanged</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> graphModelChanged​(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> sender,
|
|
java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</pre>
|
|
<div class="block">Called when the graph model changes. Invokes processChange on each
|
|
item of the given array to update the view accordingly.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateOrigin--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateOrigin</h4>
|
|
<pre>protected void updateOrigin()</pre>
|
|
<div class="block">Extends the canvas by doing another validation with a shifted
|
|
global translation if the bounds of the graph are below (0,0).
|
|
|
|
The first validation is required to compute the bounds of the graph
|
|
while the second validation is required to apply the new translate.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getRemovedCellsForChanges-java.util.List-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRemovedCellsForChanges</h4>
|
|
<pre>public java.lang.Object[] getRemovedCellsForChanges​(java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</pre>
|
|
<div class="block">Returns the cells that have been removed from the model.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="processChanges-java.util.List-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>processChanges</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> processChanges​(java.util.List<<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</pre>
|
|
<div class="block">Processes the changes and returns the minimal rectangle to be
|
|
repainted in the buffer. A return value of null means no repaint
|
|
is required.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="processChange-com.mxgraph.util.mxUndoableEdit.mxUndoableChange-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>processChange</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> processChange​(<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a> change,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</pre>
|
|
<div class="block">Processes the given change and invalidates the respective cached data
|
|
in <view>. This fires a <root> event if the root has changed in the
|
|
model.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeStateForCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeStateForCell</h4>
|
|
<pre>protected void removeStateForCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Removes all cached information for the given cell and its descendants.
|
|
This is called when a cell was removed from the model.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that was removed from the model.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellStyle-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellStyle</h4>
|
|
<pre>public java.util.Map<java.lang.String,java.lang.Object> getCellStyle​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns an array of key, value pairs representing the cell style for the
|
|
given cell. If no string is defined in the model that specifies the
|
|
style, then the default style for the cell is returned or <EMPTY_ARRAY>,
|
|
if not style can be found.</div>
|
|
<dl>
|
|
<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 cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="postProcessCellStyle-java.util.Map-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>postProcessCellStyle</h4>
|
|
<pre>protected java.util.Map<java.lang.String,java.lang.Object> postProcessCellStyle​(java.util.Map<java.lang.String,java.lang.Object> style)</pre>
|
|
<div class="block">Tries to resolve the value for the image style in the image bundles and
|
|
turns short data URIs as defined in mxImageBundle to data URIs as
|
|
defined in RFC 2397 of the IETF.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyle-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyle</h4>
|
|
<pre>public java.lang.Object[] setCellStyle​(java.lang.String style)</pre>
|
|
<div class="block">Sets the style of the selection cells to the given value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>style</code> - String representing the new style of the cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyle-java.lang.String-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyle</h4>
|
|
<pre>public java.lang.Object[] setCellStyle​(java.lang.String style,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Sets the style of the specified cells. If no cells are given, then the
|
|
selection cells are changed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>style</code> - String representing the new style of the cells.</dd>
|
|
<dd><code>cells</code> - Optional array of <mxCells> to set the style for. Default is the
|
|
selection cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCellStyle-java.lang.String-boolean-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCellStyle</h4>
|
|
<pre>public java.lang.Object toggleCellStyle​(java.lang.String key,
|
|
boolean defaultValue,
|
|
java.lang.Object cell)</pre>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
given cell. If no cell is specified then the selection cell is
|
|
used.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - Key for the boolean value to be toggled.</dd>
|
|
<dd><code>defaultValue</code> - Default boolean value if no value is defined.</dd>
|
|
<dd><code>cell</code> - Cell whose style should be modified.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCellStyles-java.lang.String-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCellStyles</h4>
|
|
<pre>public java.lang.Object[] toggleCellStyles​(java.lang.String key,
|
|
boolean defaultValue)</pre>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
selection cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - Key for the boolean value to be toggled.</dd>
|
|
<dd><code>defaultValue</code> - Default boolean value if no value is defined.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCellStyles-java.lang.String-boolean-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCellStyles</h4>
|
|
<pre>public java.lang.Object[] toggleCellStyles​(java.lang.String key,
|
|
boolean defaultValue,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the given
|
|
cells. If no cells are specified, then the selection cells are used. For
|
|
example, this can be used to toggle mxConstants.STYLE_ROUNDED or any
|
|
other style with a boolean value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key of the boolean style to be toggled.</dd>
|
|
<dd><code>defaultValue</code> - Default boolean value if no value is defined.</dd>
|
|
<dd><code>cells</code> - Cells whose styles should be modified.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyles-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyles</h4>
|
|
<pre>public java.lang.Object[] setCellStyles​(java.lang.String key,
|
|
java.lang.String value)</pre>
|
|
<div class="block">Sets the key to value in the styles of the selection cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key to be assigned.</dd>
|
|
<dd><code>value</code> - String representing the new value for the key.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyles-java.lang.String-java.lang.String-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyles</h4>
|
|
<pre>public java.lang.Object[] setCellStyles​(java.lang.String key,
|
|
java.lang.String value,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Sets the key to value in the styles of the given cells. This will modify
|
|
the existing cell styles in-place and override any existing assignment
|
|
for the given key. If no cells are specified, then the selection cells
|
|
are changed. If no value is specified, then the respective key is
|
|
removed from the styles.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key to be assigned.</dd>
|
|
<dd><code>value</code> - String representing the new value for the key.</dd>
|
|
<dd><code>cells</code> - Array of cells to change the style for.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCellStyleFlags-java.lang.String-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCellStyleFlags</h4>
|
|
<pre>public java.lang.Object[] toggleCellStyleFlags​(java.lang.String key,
|
|
int flag)</pre>
|
|
<div class="block">Toggles the given bit for the given key in the styles of the selection
|
|
cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key to toggle the flag in.</dd>
|
|
<dd><code>flag</code> - Integer that represents the bit to be toggled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCellStyleFlags-java.lang.String-int-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCellStyleFlags</h4>
|
|
<pre>public java.lang.Object[] toggleCellStyleFlags​(java.lang.String key,
|
|
int flag,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Toggles the given bit for the given key in the styles of the specified
|
|
cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key to toggle the flag in.</dd>
|
|
<dd><code>flag</code> - Integer that represents the bit to be toggled.</dd>
|
|
<dd><code>cells</code> - Optional array of <mxCells> to change the style for. Default is
|
|
the selection cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyleFlags-java.lang.String-int-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyleFlags</h4>
|
|
<pre>public java.lang.Object[] setCellStyleFlags​(java.lang.String key,
|
|
int flag,
|
|
boolean value)</pre>
|
|
<div class="block">Sets or toggles the given bit for the given key in the styles of the
|
|
selection cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key to toggle the flag in.</dd>
|
|
<dd><code>flag</code> - Integer that represents the bit to be toggled.</dd>
|
|
<dd><code>value</code> - Boolean value to be used or null if the value should be
|
|
toggled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyleFlags-java.lang.String-int-java.lang.Boolean-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyleFlags</h4>
|
|
<pre>public java.lang.Object[] setCellStyleFlags​(java.lang.String key,
|
|
int flag,
|
|
java.lang.Boolean value,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Sets or toggles the given bit for the given key in the styles of the
|
|
specified cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>key</code> - String representing the key to toggle the flag in.</dd>
|
|
<dd><code>flag</code> - Integer that represents the bit to be toggled.</dd>
|
|
<dd><code>value</code> - Boolean value to be used or null if the value should be
|
|
toggled.</dd>
|
|
<dd><code>cells</code> - Optional array of cells to change the style for. If no
|
|
cells are specified then the selection cells are used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addImageBundle-com.mxgraph.util.mxImageBundle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addImageBundle</h4>
|
|
<pre>public void addImageBundle​(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a> bundle)</pre>
|
|
<div class="block">Adds the specified bundle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeImageBundle-com.mxgraph.util.mxImageBundle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeImageBundle</h4>
|
|
<pre>public void removeImageBundle​(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a> bundle)</pre>
|
|
<div class="block">Removes the specified bundle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImageFromBundles-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageFromBundles</h4>
|
|
<pre>public java.lang.String getImageFromBundles​(java.lang.String key)</pre>
|
|
<div class="block">Searches all bundles for the specified key and returns the value for the
|
|
first match or null if the key is not found.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImageBundles--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageBundles</h4>
|
|
<pre>public java.util.List<<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> getImageBundles()</pre>
|
|
<div class="block">Returns the image bundles</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImageBundles-java.util.List-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageBundles</h4>
|
|
<pre>public void getImageBundles​(java.util.List<<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> value)</pre>
|
|
<div class="block">Returns the image bundles</div>
|
|
</li>
|
|
</ul>
|
|
<a name="alignCells-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alignCells</h4>
|
|
<pre>public java.lang.Object[] alignCells​(java.lang.String align)</pre>
|
|
<div class="block">Aligns the selection cells vertically or horizontally according to the
|
|
given alignment.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>align</code> - Specifies the alignment. Possible values are all constants
|
|
in mxConstants with an ALIGN prefix.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="alignCells-java.lang.String-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alignCells</h4>
|
|
<pre>public java.lang.Object[] alignCells​(java.lang.String align,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Aligns the given cells vertically or horizontally according to the given
|
|
alignment.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>align</code> - Specifies the alignment. Possible values are all constants
|
|
in mxConstants with an ALIGN prefix.</dd>
|
|
<dd><code>cells</code> - Array of cells to be aligned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="alignCells-java.lang.String-java.lang.Object:A-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alignCells</h4>
|
|
<pre>public java.lang.Object[] alignCells​(java.lang.String align,
|
|
java.lang.Object[] cells,
|
|
java.lang.Object param)</pre>
|
|
<div class="block">Aligns the given cells vertically or horizontally according to the given
|
|
alignment using the optional parameter as the coordinate.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>align</code> - Specifies the alignment. Possible values are all constants
|
|
in mxConstants with an ALIGN prefix.</dd>
|
|
<dd><code>cells</code> - Array of cells to be aligned.</dd>
|
|
<dd><code>param</code> - Optional coordinate for the alignment.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="flipEdge-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>flipEdge</h4>
|
|
<pre>public java.lang.Object flipEdge​(java.lang.Object edge)</pre>
|
|
<div class="block">Called when the main control point of the edge is double-clicked. This
|
|
implementation switches between null (default) and alternateEdgeStyle
|
|
and resets the edges control points. Finally, a flip event is fired
|
|
before endUpdate is called on the model.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell that represents the edge to be flipped.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the edge that has been flipped.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="orderCells-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>orderCells</h4>
|
|
<pre>public java.lang.Object[] orderCells​(boolean back)</pre>
|
|
<div class="block">Moves the selection cells to the front or back. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>back</code> - Specifies if the cells should be moved to back.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="orderCells-boolean-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>orderCells</h4>
|
|
<pre>public java.lang.Object[] orderCells​(boolean back,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Moves the given cells to the front or back. The change is carried out
|
|
using cellsOrdered. This method fires mxEvent.ORDER_CELLS while the
|
|
transaction is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>back</code> - Specifies if the cells should be moved to back.</dd>
|
|
<dd><code>cells</code> - Array of cells whose order should be changed. If null is
|
|
specified then the selection cells are used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsOrdered-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsOrdered</h4>
|
|
<pre>public void cellsOrdered​(java.lang.Object[] cells,
|
|
boolean back)</pre>
|
|
<div class="block">Moves the given cells to the front or back. This method fires
|
|
mxEvent.CELLS_ORDERED while the transaction is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells whose order should be changed.</dd>
|
|
<dd><code>back</code> - Specifies if the cells should be moved to back.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupCells--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupCells</h4>
|
|
<pre>public java.lang.Object groupCells()</pre>
|
|
<div class="block">Groups the selection cells. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new group.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupCells-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupCells</h4>
|
|
<pre>public java.lang.Object groupCells​(java.lang.Object group)</pre>
|
|
<div class="block">Groups the selection cells and adds them to the given group. This is a
|
|
shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new group.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupCells-java.lang.Object-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupCells</h4>
|
|
<pre>public java.lang.Object groupCells​(java.lang.Object group,
|
|
double border)</pre>
|
|
<div class="block">Groups the selection cells and adds them to the given group. This is a
|
|
shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new group.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupCells-java.lang.Object-double-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupCells</h4>
|
|
<pre>public java.lang.Object groupCells​(java.lang.Object group,
|
|
double border,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Adds the cells into the given group. The change is carried out using
|
|
cellsAdded, cellsMoved and cellsResized. This method fires
|
|
mxEvent.GROUP_CELLS while the transaction is in progress. Returns the
|
|
new group. A group is only created if there is at least one entry in the
|
|
given array of cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>group</code> - Cell that represents the target group. If null is specified
|
|
then a new group is created using createGroupCell.</dd>
|
|
<dd><code>border</code> - Integer that specifies the border between the child area
|
|
and the group bounds.</dd>
|
|
<dd><code>cells</code> - Optional array of cells to be grouped. If null is specified
|
|
then the selection cells are used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellsForGroup-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellsForGroup</h4>
|
|
<pre>public java.lang.Object[] getCellsForGroup​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns the cells with the same parent as the first cell
|
|
in the given array.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundsForGroup-java.lang.Object-java.lang.Object:A-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundsForGroup</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundsForGroup​(java.lang.Object group,
|
|
java.lang.Object[] children,
|
|
double border)</pre>
|
|
<div class="block">Returns the bounds to be used for the given group and children. This
|
|
implementation computes the bounding box of the geometries of all
|
|
vertices in the given children array. Edges are ignored. If the group
|
|
cell is a swimlane the title region is added to the bounds.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createGroupCell-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createGroupCell</h4>
|
|
<pre>public java.lang.Object createGroupCell​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Hook for creating the group cell to hold the given array of <mxCells> if
|
|
no group cell was given to the <group> function. The children are just
|
|
for informational purpose, they will be added to the returned group
|
|
later. Note that the returned group should have a geometry. The
|
|
coordinates of which are later overridden.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns a new group cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ungroupCells--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ungroupCells</h4>
|
|
<pre>public java.lang.Object[] ungroupCells()</pre>
|
|
<div class="block">Ungroups the selection cells. This is a shortcut method.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="ungroupCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ungroupCells</h4>
|
|
<pre>public java.lang.Object[] ungroupCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Ungroups the given cells by moving the children the children to their
|
|
parents parent and removing the empty groups.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be ungrouped. If null is specified then
|
|
the selection cells are used.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the children that have been removed from the groups.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellsFromParent--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellsFromParent</h4>
|
|
<pre>public java.lang.Object[] removeCellsFromParent()</pre>
|
|
<div class="block">Removes the selection cells from their parents and adds them to the
|
|
default parent returned by getDefaultParent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellsFromParent-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellsFromParent</h4>
|
|
<pre>public java.lang.Object[] removeCellsFromParent​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Removes the specified cells from their parents and adds them to the
|
|
default parent.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be removed from their parents.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that were removed from their parents.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateGroupBounds--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateGroupBounds</h4>
|
|
<pre>public java.lang.Object[] updateGroupBounds()</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateGroupBounds-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateGroupBounds</h4>
|
|
<pre>public java.lang.Object[] updateGroupBounds​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - The groups whose bounds should be updated.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateGroupBounds-java.lang.Object:A-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateGroupBounds</h4>
|
|
<pre>public java.lang.Object[] updateGroupBounds​(java.lang.Object[] cells,
|
|
int border)</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - The groups whose bounds should be updated.</dd>
|
|
<dd><code>border</code> - The border to be added in the group.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateGroupBounds-java.lang.Object:A-int-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateGroupBounds</h4>
|
|
<pre>public java.lang.Object[] updateGroupBounds​(java.lang.Object[] cells,
|
|
int border,
|
|
boolean moveParent)</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - The groups whose bounds should be updated.</dd>
|
|
<dd><code>border</code> - The border to be added in the group.</dd>
|
|
<dd><code>moveParent</code> - Specifies if the group should be moved.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cloneCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cloneCells</h4>
|
|
<pre>public java.lang.Object[] cloneCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Clones all cells in the given array. To clone all children in a cell and
|
|
add them to another graph:
|
|
|
|
<code>
|
|
graph2.addCells(graph.cloneCells(new Object[] { parent }));
|
|
</code>
|
|
|
|
To clone all children in a graph layer if graph g1 and put them into the
|
|
default parent (typically default layer) of another graph g2, the
|
|
following code is used:
|
|
|
|
<code>
|
|
g2.addCells(g1.cloneCells(g1.cloneCells(g1.getChildCells(g1.getDefaultParent()));
|
|
</code></div>
|
|
</li>
|
|
</ul>
|
|
<a name="cloneCells-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cloneCells</h4>
|
|
<pre>public java.lang.Object[] cloneCells​(java.lang.Object[] cells,
|
|
boolean allowInvalidEdges)</pre>
|
|
<div class="block">Returns the clones for the given cells. The clones are created
|
|
recursively using <mxGraphModel.cloneCells>. If the terminal of an edge
|
|
is not in the given array, then the respective end is assigned a
|
|
terminal point and the terminal is removed. If a cloned edge is invalid
|
|
and allowInvalidEdges is false, then a null pointer will be at this
|
|
position in the returned array. Use getCloneableCells on the input array
|
|
to only clone the cells where isCellCloneable returns true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of mxCells to be cloned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the clones of the given cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="insertVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertVertex</h4>
|
|
<pre>public java.lang.Object insertVertex​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height)</pre>
|
|
<div class="block">Creates and adds a new vertex with an empty style.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="insertVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertVertex</h4>
|
|
<pre>public java.lang.Object insertVertex​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style)</pre>
|
|
<div class="block">Adds a new vertex into the given parent using value as the user object
|
|
and the given coordinates as the geometry of the new vertex. The id and
|
|
style are used for the respective properties of the new cell, which is
|
|
returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell that specifies the parent of the new vertex.</dd>
|
|
<dd><code>id</code> - Optional string that defines the Id of the new vertex.</dd>
|
|
<dd><code>value</code> - Object to be used as the user object.</dd>
|
|
<dd><code>x</code> - Integer that defines the x coordinate of the vertex.</dd>
|
|
<dd><code>y</code> - Integer that defines the y coordinate of the vertex.</dd>
|
|
<dd><code>width</code> - Integer that defines the width of the vertex.</dd>
|
|
<dd><code>height</code> - Integer that defines the height of the vertex.</dd>
|
|
<dd><code>style</code> - Optional string that defines the cell style.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new vertex that has been inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="insertVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertVertex</h4>
|
|
<pre>public java.lang.Object insertVertex​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style,
|
|
boolean relative)</pre>
|
|
<div class="block">Adds a new vertex into the given parent using value as the user object
|
|
and the given coordinates as the geometry of the new vertex. The id and
|
|
style are used for the respective properties of the new cell, which is
|
|
returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell that specifies the parent of the new vertex.</dd>
|
|
<dd><code>id</code> - Optional string that defines the Id of the new vertex.</dd>
|
|
<dd><code>value</code> - Object to be used as the user object.</dd>
|
|
<dd><code>x</code> - Integer that defines the x coordinate of the vertex.</dd>
|
|
<dd><code>y</code> - Integer that defines the y coordinate of the vertex.</dd>
|
|
<dd><code>width</code> - Integer that defines the width of the vertex.</dd>
|
|
<dd><code>height</code> - Integer that defines the height of the vertex.</dd>
|
|
<dd><code>style</code> - Optional string that defines the cell style.</dd>
|
|
<dd><code>relative</code> - Specifies if the geometry should be relative.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new vertex that has been inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createVertex</h4>
|
|
<pre>public java.lang.Object createVertex​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style)</pre>
|
|
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell that specifies the parent of the new vertex.</dd>
|
|
<dd><code>id</code> - Optional string that defines the Id of the new vertex.</dd>
|
|
<dd><code>value</code> - Object to be used as the user object.</dd>
|
|
<dd><code>x</code> - Integer that defines the x coordinate of the vertex.</dd>
|
|
<dd><code>y</code> - Integer that defines the y coordinate of the vertex.</dd>
|
|
<dd><code>width</code> - Integer that defines the width of the vertex.</dd>
|
|
<dd><code>height</code> - Integer that defines the height of the vertex.</dd>
|
|
<dd><code>style</code> - Optional string that defines the cell style.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new vertex to be inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createVertex-java.lang.Object-java.lang.String-java.lang.Object-double-double-double-double-java.lang.String-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createVertex</h4>
|
|
<pre>public java.lang.Object createVertex​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height,
|
|
java.lang.String style,
|
|
boolean relative)</pre>
|
|
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell that specifies the parent of the new vertex.</dd>
|
|
<dd><code>id</code> - Optional string that defines the Id of the new vertex.</dd>
|
|
<dd><code>value</code> - Object to be used as the user object.</dd>
|
|
<dd><code>x</code> - Integer that defines the x coordinate of the vertex.</dd>
|
|
<dd><code>y</code> - Integer that defines the y coordinate of the vertex.</dd>
|
|
<dd><code>width</code> - Integer that defines the width of the vertex.</dd>
|
|
<dd><code>height</code> - Integer that defines the height of the vertex.</dd>
|
|
<dd><code>style</code> - Optional string that defines the cell style.</dd>
|
|
<dd><code>relative</code> - Specifies if the geometry should be relative.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new vertex to be inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="insertEdge-java.lang.Object-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertEdge</h4>
|
|
<pre>public java.lang.Object insertEdge​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Creates and adds a new edge with an empty style.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="insertEdge-java.lang.Object-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertEdge</h4>
|
|
<pre>public java.lang.Object insertEdge​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
java.lang.String style)</pre>
|
|
<div class="block">Adds a new edge into the given parent using value as the user object and
|
|
the given source and target as the terminals of the new edge. The Id and
|
|
style are used for the respective properties of the new cell, which is
|
|
returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell that specifies the parent of the new edge.</dd>
|
|
<dd><code>id</code> - Optional string that defines the Id of the new edge.</dd>
|
|
<dd><code>value</code> - Object to be used as the user object.</dd>
|
|
<dd><code>source</code> - Cell that defines the source of the edge.</dd>
|
|
<dd><code>target</code> - Cell that defines the target of the edge.</dd>
|
|
<dd><code>style</code> - Optional string that defines the cell style.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new edge that has been inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createEdge-java.lang.Object-java.lang.String-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createEdge</h4>
|
|
<pre>public java.lang.Object createEdge​(java.lang.Object parent,
|
|
java.lang.String id,
|
|
java.lang.Object value,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
java.lang.String style)</pre>
|
|
<div class="block">Hook method that creates the new edge for insertEdge. This
|
|
implementation does not set the source and target of the edge, these
|
|
are set when the edge is added to the model.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell that specifies the parent of the new edge.</dd>
|
|
<dd><code>id</code> - Optional string that defines the Id of the new edge.</dd>
|
|
<dd><code>value</code> - Object to be used as the user object.</dd>
|
|
<dd><code>source</code> - Cell that defines the source of the edge.</dd>
|
|
<dd><code>target</code> - Cell that defines the target of the edge.</dd>
|
|
<dd><code>style</code> - Optional string that defines the cell style.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new edge to be inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addEdge-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.Object-java.lang.Integer-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addEdge</h4>
|
|
<pre>public java.lang.Object addEdge​(java.lang.Object edge,
|
|
java.lang.Object parent,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
java.lang.Integer index)</pre>
|
|
<div class="block">Adds the edge to the parent and connects it to the given source and
|
|
target terminals. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Edge to be inserted into the given parent.</dd>
|
|
<dd><code>parent</code> - Object that represents the new parent. If no parent is
|
|
given then the default parent is used.</dd>
|
|
<dd><code>source</code> - Optional cell that represents the source terminal.</dd>
|
|
<dd><code>target</code> - Optional cell that represents the target terminal.</dd>
|
|
<dd><code>index</code> - Optional index to insert the cells at. Default is to append.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the edge that was added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCell</h4>
|
|
<pre>public java.lang.Object addCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Adds the cell to the default parent. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell to be inserted.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cell that was added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCell-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCell</h4>
|
|
<pre>public java.lang.Object addCell​(java.lang.Object cell,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Adds the cell to the parent. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell tobe inserted.</dd>
|
|
<dd><code>parent</code> - Object that represents the new parent. If no parent is
|
|
given then the default parent is used.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cell that was added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCell-java.lang.Object-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCell</h4>
|
|
<pre>public java.lang.Object addCell​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Adds the cell to the parent and connects it to the given source and
|
|
target terminals. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell to be inserted into the given parent.</dd>
|
|
<dd><code>parent</code> - Object that represents the new parent. If no parent is
|
|
given then the default parent is used.</dd>
|
|
<dd><code>index</code> - Optional index to insert the cells at. Default is to append.</dd>
|
|
<dd><code>source</code> - Optional cell that represents the source terminal.</dd>
|
|
<dd><code>target</code> - Optional cell that represents the target terminal.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cell that was added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCells</h4>
|
|
<pre>public java.lang.Object[] addCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Adds the cells to the default parent. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be inserted.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that were added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCells-java.lang.Object:A-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCells</h4>
|
|
<pre>public java.lang.Object[] addCells​(java.lang.Object[] cells,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Adds the cells to the parent. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be inserted.</dd>
|
|
<dd><code>parent</code> - Optional cell that represents the new parent. If no parent
|
|
is specified then the default parent is used.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that were added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCells-java.lang.Object:A-java.lang.Object-java.lang.Integer-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCells</h4>
|
|
<pre>public java.lang.Object[] addCells​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index)</pre>
|
|
<div class="block">Adds the cells to the parent at the given index. This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be inserted.</dd>
|
|
<dd><code>parent</code> - Optional cell that represents the new parent. If no parent
|
|
is specified then the default parent is used.</dd>
|
|
<dd><code>index</code> - Optional index to insert the cells at. Default is to append.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that were added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCells-java.lang.Object:A-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCells</h4>
|
|
<pre>public java.lang.Object[] addCells​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Adds the cells to the parent at the given index, connecting each cell to
|
|
the optional source and target terminal. The change is carried out using
|
|
cellsAdded. This method fires mxEvent.ADD_CELLS while the transaction
|
|
is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be added.</dd>
|
|
<dd><code>parent</code> - Optional cell that represents the new parent. If no parent
|
|
is specified then the default parent is used.</dd>
|
|
<dd><code>index</code> - Optional index to insert the cells at. Default is to append.</dd>
|
|
<dd><code>source</code> - Optional source terminal for all inserted cells.</dd>
|
|
<dd><code>target</code> - Optional target terminal for all inserted cells.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that were added.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsAdded-java.lang.Object:A-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsAdded</h4>
|
|
<pre>public void cellsAdded​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
boolean absolute)</pre>
|
|
<div class="block">Adds the specified cells to the given parent. This method fires
|
|
mxEvent.CELLS_ADDED while the transaction is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsAdded-java.lang.Object:A-java.lang.Object-java.lang.Integer-java.lang.Object-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsAdded</h4>
|
|
<pre>public void cellsAdded​(java.lang.Object[] cells,
|
|
java.lang.Object parent,
|
|
java.lang.Integer index,
|
|
java.lang.Object source,
|
|
java.lang.Object target,
|
|
boolean absolute,
|
|
boolean constrain)</pre>
|
|
<div class="block">Adds the specified cells to the given parent. This method fires
|
|
mxEvent.CELLS_ADDED while the transaction is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCells--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCells</h4>
|
|
<pre>public java.lang.Object[] removeCells()</pre>
|
|
<div class="block">Removes the selection cells from the graph.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that have been removed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCells</h4>
|
|
<pre>public java.lang.Object[] removeCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Removes the given cells from the graph.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to remove.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that have been removed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCells-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCells</h4>
|
|
<pre>public java.lang.Object[] removeCells​(java.lang.Object[] cells,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Removes the given cells from the graph including all connected edges if
|
|
includeEdges is true. The change is carried out using cellsRemoved. This
|
|
method fires mxEvent.REMOVE_CELLS while the transaction is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to remove. If null is specified then the
|
|
selection cells which are deletable are used.</dd>
|
|
<dd><code>includeEdges</code> - Specifies if all connected edges should be removed as
|
|
well.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsRemoved-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsRemoved</h4>
|
|
<pre>public void cellsRemoved​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Removes the given cells from the model. This method fires
|
|
mxEvent.CELLS_REMOVED while the transaction is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to remove.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="splitEdge-java.lang.Object-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>splitEdge</h4>
|
|
<pre>public java.lang.Object splitEdge​(java.lang.Object edge,
|
|
java.lang.Object[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="splitEdge-java.lang.Object-java.lang.Object:A-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>splitEdge</h4>
|
|
<pre>public java.lang.Object splitEdge​(java.lang.Object edge,
|
|
java.lang.Object[] cells,
|
|
double dx,
|
|
double dy)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="splitEdge-java.lang.Object-java.lang.Object:A-java.lang.Object-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>splitEdge</h4>
|
|
<pre>public java.lang.Object splitEdge​(java.lang.Object edge,
|
|
java.lang.Object[] cells,
|
|
java.lang.Object newEdge,
|
|
double dx,
|
|
double dy)</pre>
|
|
<div class="block">Splits the given edge by adding a newEdge between the previous source
|
|
and the given cell and reconnecting the source of the given edge to the
|
|
given cell. Fires mxEvent.SPLIT_EDGE while the transaction is in
|
|
progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Object that represents the edge to be splitted.</dd>
|
|
<dd><code>cells</code> - Array that contains the cells to insert into the edge.</dd>
|
|
<dd><code>newEdge</code> - Object that represents the edge to be inserted.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the new edge that has been inserted.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCells-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCells</h4>
|
|
<pre>public java.lang.Object[] toggleCells​(boolean show)</pre>
|
|
<div class="block">Sets the visible state of the selection cells. This is a shortcut
|
|
method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>show</code> - Boolean that specifies the visible state to be assigned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells whose visible state was changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCells-boolean-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCells</h4>
|
|
<pre>public java.lang.Object[] toggleCells​(boolean show,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Sets the visible state of the specified cells. This is a shortcut
|
|
method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>show</code> - Boolean that specifies the visible state to be assigned.</dd>
|
|
<dd><code>cells</code> - Array of cells whose visible state should be changed.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells whose visible state was changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toggleCells-boolean-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toggleCells</h4>
|
|
<pre>public java.lang.Object[] toggleCells​(boolean show,
|
|
java.lang.Object[] cells,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Sets the visible state of the specified cells and all connected edges
|
|
if includeEdges is true. The change is carried out using cellsToggled.
|
|
This method fires mxEvent.TOGGLE_CELLS while the transaction is in
|
|
progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>show</code> - Boolean that specifies the visible state to be assigned.</dd>
|
|
<dd><code>cells</code> - Array of cells whose visible state should be changed. If
|
|
null is specified then the selection cells are used.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells whose visible state was changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsToggled-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsToggled</h4>
|
|
<pre>public void cellsToggled​(java.lang.Object[] cells,
|
|
boolean show)</pre>
|
|
<div class="block">Sets the visible state of the specified cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells whose visible state should be changed.</dd>
|
|
<dd><code>show</code> - Boolean that specifies the visible state to be assigned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="foldCells-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>foldCells</h4>
|
|
<pre>public java.lang.Object[] foldCells​(boolean collapse)</pre>
|
|
<div class="block">Sets the collapsed state of the selection cells without recursion.
|
|
This is a shortcut method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>collapse</code> - Boolean that specifies the collapsed state to be
|
|
assigned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells whose collapsed state was changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="foldCells-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>foldCells</h4>
|
|
<pre>public java.lang.Object[] foldCells​(boolean collapse,
|
|
boolean recurse)</pre>
|
|
<div class="block">Sets the collapsed state of the selection cells. This is a shortcut
|
|
method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>collapse</code> - Boolean that specifies the collapsed state to be
|
|
assigned.</dd>
|
|
<dd><code>recurse</code> - Boolean that specifies if the collapsed state should
|
|
be assigned to all descendants.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells whose collapsed state was changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="foldCells-boolean-boolean-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>foldCells</h4>
|
|
<pre>public java.lang.Object[] foldCells​(boolean collapse,
|
|
boolean recurse,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Invokes foldCells with checkFoldable set to false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="foldCells-boolean-boolean-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>foldCells</h4>
|
|
<pre>public java.lang.Object[] foldCells​(boolean collapse,
|
|
boolean recurse,
|
|
java.lang.Object[] cells,
|
|
boolean checkFoldable)</pre>
|
|
<div class="block">Sets the collapsed state of the specified cells and all descendants
|
|
if recurse is true. The change is carried out using cellsFolded.
|
|
This method fires mxEvent.FOLD_CELLS while the transaction is in
|
|
progress. Returns the cells whose collapsed state was changed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>collapse</code> - Boolean indicating the collapsed state to be assigned.</dd>
|
|
<dd><code>recurse</code> - Boolean indicating if the collapsed state of all
|
|
descendants should be set.</dd>
|
|
<dd><code>cells</code> - Array of cells whose collapsed state should be set. If
|
|
null is specified then the foldable selection cells are used.</dd>
|
|
<dd><code>checkFoldable</code> - Boolean indicating of isCellFoldable should be
|
|
checked. Default is false.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsFolded-java.lang.Object:A-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsFolded</h4>
|
|
<pre>public void cellsFolded​(java.lang.Object[] cells,
|
|
boolean collapse,
|
|
boolean recurse)</pre>
|
|
<div class="block">Invokes cellsFoldable with checkFoldable set to false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsFolded-java.lang.Object:A-boolean-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsFolded</h4>
|
|
<pre>public void cellsFolded​(java.lang.Object[] cells,
|
|
boolean collapse,
|
|
boolean recurse,
|
|
boolean checkFoldable)</pre>
|
|
<div class="block">Sets the collapsed state of the specified cells. This method fires
|
|
mxEvent.CELLS_FOLDED while the transaction is in progress. Returns the
|
|
cells whose collapsed state was changed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells whose collapsed state should be set.</dd>
|
|
<dd><code>collapse</code> - Boolean indicating the collapsed state to be assigned.</dd>
|
|
<dd><code>recurse</code> - Boolean indicating if the collapsed state of all
|
|
descendants should be set.</dd>
|
|
<dd><code>checkFoldable</code> - Boolean indicating of isCellFoldable should be
|
|
checked. Default is false.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="swapBounds-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>swapBounds</h4>
|
|
<pre>public void swapBounds​(java.lang.Object cell,
|
|
boolean willCollapse)</pre>
|
|
<div class="block">Swaps the alternate and the actual bounds in the geometry of the given
|
|
cell invoking updateAlternateBounds before carrying out the swap.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell for which the bounds should be swapped.</dd>
|
|
<dd><code>willCollapse</code> - Boolean indicating if the cell is going to be collapsed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateAlternateBounds-java.lang.Object-com.mxgraph.model.mxGeometry-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateAlternateBounds</h4>
|
|
<pre>public void updateAlternateBounds​(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> geo,
|
|
boolean willCollapse)</pre>
|
|
<div class="block">Updates or sets the alternate bounds in the given geometry for the given
|
|
cell depending on whether the cell is going to be collapsed. If no
|
|
alternate bounds are defined in the geometry and
|
|
collapseToPreferredSize is true, then the preferred size is used for
|
|
the alternate bounds. The top, left corner is always kept at the same
|
|
location.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell for which the geometry is being udpated.</dd>
|
|
<dd><code>geo</code> - Geometry for which the alternate bounds should be updated.</dd>
|
|
<dd><code>willCollapse</code> - Boolean indicating if the cell is going to be collapsed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addAllEdges-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addAllEdges</h4>
|
|
<pre>public java.lang.Object[] addAllEdges​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns an array with the given cells and all edges that are connected
|
|
to a cell or one of its descendants.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getAllEdges-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAllEdges</h4>
|
|
<pre>public java.lang.Object[] getAllEdges​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns all edges connected to the given cells or their descendants.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateCellSize-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateCellSize</h4>
|
|
<pre>public java.lang.Object updateCellSize​(java.lang.Object cell)</pre>
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size. This function
|
|
fires beforeUpdateSize and afterUpdateSize events.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> for which the size should be changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateCellSize-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateCellSize</h4>
|
|
<pre>public java.lang.Object updateCellSize​(java.lang.Object cell,
|
|
boolean ignoreChildren)</pre>
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size. This function
|
|
fires mxEvent.UPDATE_CELL_SIZE.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell for which the size should be changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellSizeUpdated-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellSizeUpdated</h4>
|
|
<pre>public void cellSizeUpdated​(java.lang.Object cell,
|
|
boolean ignoreChildren)</pre>
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell for which the size should be changed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPreferredSizeForCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPreferredSizeForCell</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getPreferredSizeForCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the preferred width and height of the given <mxCell> as an
|
|
<mxRectangle>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> for which the preferred size should be returned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="resizeCell-java.lang.Object-com.mxgraph.util.mxRectangle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resizeCell</h4>
|
|
<pre>public java.lang.Object resizeCell​(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> bounds)</pre>
|
|
<div class="block">Sets the bounds of the given cell using resizeCells. Returns the
|
|
cell which was passed to the function.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose bounds should be changed.</dd>
|
|
<dd><code>bounds</code> - <mxRectangle> that represents the new bounds.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="resizeCells-java.lang.Object:A-com.mxgraph.util.mxRectangle:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resizeCells</h4>
|
|
<pre>public java.lang.Object[] resizeCells​(java.lang.Object[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] bounds)</pre>
|
|
<div class="block">Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS
|
|
event. while the transaction is in progress. Returns the cells which
|
|
have been passed to the function.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells whose bounds should be changed.</dd>
|
|
<dd><code>bounds</code> - Array of rectangles that represents the new bounds.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsResized-java.lang.Object:A-com.mxgraph.util.mxRectangle:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsResized</h4>
|
|
<pre>public void cellsResized​(java.lang.Object[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] bounds)</pre>
|
|
<div class="block">Sets the bounds of the given cells and fires a <mxEvent.CELLS_RESIZED>
|
|
event. If extendParents is true, then the parent is extended if a child
|
|
size is changed so that it overlaps with the parent.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of <mxCells> whose bounds should be changed.</dd>
|
|
<dd><code>bounds</code> - Array of <mxRectangles> that represents the new bounds.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="extendParent-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>extendParent</h4>
|
|
<pre>public void extendParent​(java.lang.Object cell)</pre>
|
|
<div class="block">Resizes the parents recursively so that they contain the complete area
|
|
of the resized child cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> that has been resized.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="moveCells-java.lang.Object:A-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveCells</h4>
|
|
<pre>public java.lang.Object[] moveCells​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy)</pre>
|
|
<div class="block">Moves the cells by the given amount. This is a shortcut method.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="moveCells-java.lang.Object:A-double-double-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveCells</h4>
|
|
<pre>public java.lang.Object[] moveCells​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean clone)</pre>
|
|
<div class="block">Moves or clones the cells and moves the cells or clones by the given
|
|
amount. This is a shortcut method.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="moveCells-java.lang.Object:A-double-double-boolean-java.lang.Object-java.awt.Point-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveCells</h4>
|
|
<pre>public java.lang.Object[] moveCells​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean clone,
|
|
java.lang.Object target,
|
|
java.awt.Point location)</pre>
|
|
<div class="block">Moves or clones the specified cells and moves the cells or clones by the
|
|
given amount, adding them to the optional target cell. The location is
|
|
the position of the mouse pointer as the mouse was released. The change
|
|
is carried out using cellsMoved. This method fires mxEvent.MOVE_CELLS
|
|
while the transaction is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of cells to be moved, cloned or added to the target.</dd>
|
|
<dd><code>dx</code> - Integer that specifies the x-coordinate of the vector.</dd>
|
|
<dd><code>dy</code> - Integer that specifies the y-coordinate of the vector.</dd>
|
|
<dd><code>clone</code> - Boolean indicating if the cells should be cloned.</dd>
|
|
<dd><code>target</code> - Cell that represents the new parent of the cells.</dd>
|
|
<dd><code>location</code> - Location where the mouse was released.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells that were moved.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsMoved-java.lang.Object:A-double-double-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsMoved</h4>
|
|
<pre>public void cellsMoved​(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean disconnect,
|
|
boolean constrain)</pre>
|
|
<div class="block">Moves the specified cells by the given vector, disconnecting the cells
|
|
using disconnectGraph if disconnect is true. This method fires
|
|
mxEvent.CELLS_MOVED while the transaction is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="translateCell-java.lang.Object-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>translateCell</h4>
|
|
<pre>public void translateCell​(java.lang.Object cell,
|
|
double dx,
|
|
double dy)</pre>
|
|
<div class="block">Translates the geometry of the given cell and stores the new,
|
|
translated geometry in the model as an atomic change.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellContainmentArea-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellContainmentArea</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellContainmentArea​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the mxRectangle inside which a cell is to be kept.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaximumGraphBounds--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaximumGraphBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getMaximumGraphBounds()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the maximumGraphBounds</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMaximumGraphBounds-com.mxgraph.util.mxRectangle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMaximumGraphBounds</h4>
|
|
<pre>public void setMaximumGraphBounds​(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the maximumGraphBounds to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="constrainChild-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>constrainChild</h4>
|
|
<pre>public void constrainChild​(java.lang.Object cell)</pre>
|
|
<div class="block">Keeps the given cell inside the bounds returned by
|
|
getCellContainmentArea for its parent, according to the rules defined by
|
|
getOverlap and isConstrainChild. This modifies the cell's geometry
|
|
in-place and does not clone it.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell which should be constrained.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdges-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdges</h4>
|
|
<pre>public void resetEdges​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Resets the control points of the edges that are connected to the given
|
|
cells if not both ends of the edge are in the given cells array.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of mxCells for which the connected edges should be
|
|
reset.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdge-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdge</h4>
|
|
<pre>public java.lang.Object resetEdge​(java.lang.Object edge)</pre>
|
|
<div class="block">Resets the control points of the given edge.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getAllConnectionConstraints-com.mxgraph.view.mxCellState-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAllConnectionConstraints</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>[] getAllConnectionConstraints​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Returns an array of all constraints for the given terminal.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>terminal</code> - Cell state that represents the terminal.</dd>
|
|
<dd><code>source</code> - Specifies if the terminal is the source or target.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getConnectionConstraint-com.mxgraph.view.mxCellState-com.mxgraph.view.mxCellState-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getConnectionConstraint</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> getConnectionConstraint​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> edge,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Returns an connection constraint that describes the given connection
|
|
point. This result can then be passed to getConnectionPoint.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell state that represents the edge.</dd>
|
|
<dd><code>terminal</code> - Cell state that represents the terminal.</dd>
|
|
<dd><code>source</code> - Boolean indicating if the terminal is the source or target.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setConnectionConstraint-java.lang.Object-java.lang.Object-boolean-com.mxgraph.view.mxConnectionConstraint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setConnectionConstraint</h4>
|
|
<pre>public void setConnectionConstraint​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Sets the connection constraint that describes the given connection point.
|
|
If no constraint is given then nothing is changed. To remove an existing
|
|
constraint from the given edge, use an empty constraint instead.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell that represents the edge.</dd>
|
|
<dd><code>terminal</code> - Cell that represents the terminal.</dd>
|
|
<dd><code>source</code> - Boolean indicating if the terminal is the source or target.</dd>
|
|
<dd><code>constraint</code> - Optional connection constraint to be used for this connection.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getConnectionPoint-com.mxgraph.view.mxCellState-com.mxgraph.view.mxConnectionConstraint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getConnectionPoint</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getConnectionPoint​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> vertex,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Sets the connection constraint that describes the given connection point.
|
|
If no constraint is given then nothing is changed. To remove an existing
|
|
constraint from the given edge, use an empty constraint instead.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>vertex</code> - Cell state that represents the vertex.</dd>
|
|
<dd><code>constraint</code> - Connection constraint that represents the connection point
|
|
constraint as returned by getConnectionConstraint.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="connectCell-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>connectCell</h4>
|
|
<pre>public java.lang.Object connectCell​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="connectCell-java.lang.Object-java.lang.Object-boolean-com.mxgraph.view.mxConnectionConstraint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>connectCell</h4>
|
|
<pre>public java.lang.Object connectCell​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Edge whose terminal should be updated.</dd>
|
|
<dd><code>terminal</code> - New terminal to be used.</dd>
|
|
<dd><code>source</code> - Specifies if the new terminal is the source or target.</dd>
|
|
<dd><code>constraint</code> - Optional constraint to be used for this connection.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the update edge.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellConnected-java.lang.Object-java.lang.Object-boolean-com.mxgraph.view.mxConnectionConstraint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellConnected</h4>
|
|
<pre>public void cellConnected​(java.lang.Object edge,
|
|
java.lang.Object terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Sets the new terminal for the given edge and resets the edge points if
|
|
isResetEdgesOnConnect returns true. This method fires
|
|
<mxEvent.CELL_CONNECTED> while the transaction is in progress.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Edge whose terminal should be updated.</dd>
|
|
<dd><code>terminal</code> - New terminal to be used.</dd>
|
|
<dd><code>source</code> - Specifies if the new terminal is the source or target.</dd>
|
|
<dd><code>constraint</code> - Constraint to be used for this connection.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="disconnectGraph-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>disconnectGraph</h4>
|
|
<pre>public void disconnectGraph​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Disconnects the given edges from the terminals which are not in the
|
|
given array.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - Array of <mxCells> to be disconnected.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCurrentRoot--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCurrentRoot</h4>
|
|
<pre>public java.lang.Object getCurrentRoot()</pre>
|
|
<div class="block">Returns the current root of the displayed cell hierarchy. This is a
|
|
shortcut to <mxGraphView.currentRoot> in <view>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the current root in the view.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTranslateForRoot-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTranslateForRoot</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getTranslateForRoot​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the translation to be used if the given cell is the root cell as
|
|
an <mxPoint>. This implementation returns null.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that represents the root of the view.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the translation of the graph for the given root cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isPort-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPort</h4>
|
|
<pre>public boolean isPort​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is a "port", that is, when connecting to
|
|
it, the cell returned by getTerminalForPort should be used as the
|
|
terminal and the port should be referenced by the ID in either the
|
|
mxConstants.STYLE_SOURCE_PORT or the or the
|
|
mxConstants.STYLE_TARGET_PORT. Note that a port should not be movable.
|
|
This implementation always returns false.
|
|
|
|
A typical implementation of this method looks as follows:
|
|
|
|
<code>
|
|
public boolean isPort(Object cell)
|
|
{
|
|
mxGeometry geo = getCellGeometry(cell);
|
|
|
|
return (geo != null) ? geo.isRelative() : false;
|
|
}
|
|
</code></div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that represents the port.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is a port.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTerminalForPort-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTerminalForPort</h4>
|
|
<pre>public java.lang.Object getTerminalForPort​(java.lang.Object cell,
|
|
boolean source)</pre>
|
|
<div class="block">Returns the terminal to be used for a given port. This implementation
|
|
always returns the parent cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that represents the port.</dd>
|
|
<dd><code>source</code> - If the cell is the source or target port.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the terminal to be used for the given port.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getChildOffsetForCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChildOffsetForCell</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getChildOffsetForCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the offset to be used for the cells inside the given cell. The
|
|
root and layer cells may be identified using mxGraphModel.isRoot and
|
|
mxGraphModel.isLayer. This implementation returns null.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose offset should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the child offset for the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="enterGroup--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enterGroup</h4>
|
|
<pre>public void enterGroup()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="enterGroup-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enterGroup</h4>
|
|
<pre>public void enterGroup​(java.lang.Object cell)</pre>
|
|
<div class="block">Uses the given cell as the root of the displayed cell hierarchy. If no
|
|
cell is specified then the selection cell is used. The cell is only used
|
|
if <isValidRoot> returns true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="exitGroup--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>exitGroup</h4>
|
|
<pre>public void exitGroup()</pre>
|
|
<div class="block">Changes the current root to the next valid root in the displayed cell
|
|
hierarchy.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="home--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>home</h4>
|
|
<pre>public void home()</pre>
|
|
<div class="block">Uses the root of the model as the root of the displayed cell hierarchy
|
|
and selects the previous root.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidRoot-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidRoot</h4>
|
|
<pre>public boolean isValidRoot​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is a valid root for the cell display
|
|
hierarchy. This implementation returns true for all non-null values.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> which should be checked as a possible root.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is a valid root.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphBounds--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getGraphBounds()</pre>
|
|
<div class="block">Returns the bounds of the visible graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the bounds of the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds​(java.lang.Object cell,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds​(java.lang.Object cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants)</pre>
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBoxFromGeometry-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBoxFromGeometry</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBoxFromGeometry​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns the bounding box for the geometries of the vertices in the
|
|
given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBox-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBox</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the bounds of the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBox-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBox</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox​(java.lang.Object cell,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBox-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBox</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox​(java.lang.Object cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants)</pre>
|
|
<div class="block">Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPaintBounds-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPaintBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getPaintBounds​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns the bounding box of the given cells and their descendants.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundsForCells-java.lang.Object:A-boolean-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundsForCells</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundsForCells​(java.lang.Object[] cells,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean boundingBox)</pre>
|
|
<div class="block">Returns the bounds for the given cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds-java.lang.Object-boolean-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds​(java.lang.Object cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean boundingBox)</pre>
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="refresh--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>refresh</h4>
|
|
<pre>public void refresh()</pre>
|
|
<div class="block">Clears all cell states or the states for the hierarchy starting at the
|
|
given cell and validates the graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="repaint--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaint</h4>
|
|
<pre>public void repaint()</pre>
|
|
<div class="block">Fires a repaint event.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="repaint-com.mxgraph.util.mxRectangle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaint</h4>
|
|
<pre>public void repaint​(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> region)</pre>
|
|
<div class="block">Fires a repaint event. The optional region is the rectangle that needs
|
|
to be repainted.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="snap-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>snap</h4>
|
|
<pre>public double snap​(double value)</pre>
|
|
<div class="block">Snaps the given numeric value to the grid if <gridEnabled> is true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Numeric value to be snapped to the grid.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the value aligned to the grid.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellGeometry-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellGeometry</h4>
|
|
<pre>public <a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> getCellGeometry​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the geometry for the given cell.</div>
|
|
<dl>
|
|
<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 cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellVisible-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellVisible</h4>
|
|
<pre>public boolean isCellVisible​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is visible in this graph. This
|
|
implementation uses <mxGraphModel.isVisible>. Subclassers can override
|
|
this to implement specific visibility for cells in only one graph, that
|
|
is, without affecting the visible state of the cell.
|
|
|
|
When using dynamic filter expressions for cell visibility, then the
|
|
graph should be revalidated after the filter expression has changed.</div>
|
|
<dl>
|
|
<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 cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellCollapsed-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellCollapsed</h4>
|
|
<pre>public boolean isCellCollapsed​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is collapsed in this graph. This
|
|
implementation uses <mxGraphModel.isCollapsed>. Subclassers can override
|
|
this to implement specific collapsed states for cells in only one graph,
|
|
that is, without affecting the collapsed state of the cell.
|
|
|
|
When using dynamic filter expressions for the collapsed state, then the
|
|
graph should be revalidated after the filter expression has changed.</div>
|
|
<dl>
|
|
<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 cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellConnectable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellConnectable</h4>
|
|
<pre>public boolean isCellConnectable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is connectable in this graph. This
|
|
implementation uses <mxGraphModel.isConnectable>. Subclassers can override
|
|
this to implement specific connectable states for cells in only one graph,
|
|
that is, without affecting the connectable state of the cell in the model.</div>
|
|
<dl>
|
|
<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 cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isOrthogonal-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isOrthogonal</h4>
|
|
<pre>public boolean isOrthogonal​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> edge)</pre>
|
|
<div class="block">Returns true if perimeter points should be computed such that the
|
|
resulting edge has only horizontal or vertical segments.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell state that represents the edge.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLoop-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLoop</h4>
|
|
<pre>public boolean isLoop​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Returns true if the given cell state is a loop.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>state</code> - <mxCellState> that represents a potential loop.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is a loop.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMultiplicities-com.mxgraph.view.mxMultiplicity:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMultiplicities</h4>
|
|
<pre>public void setMultiplicities​(<a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getMultiplicities--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMultiplicities</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] getMultiplicities()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isEdgeValid-java.lang.Object-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEdgeValid</h4>
|
|
<pre>public boolean isEdgeValid​(java.lang.Object edge,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Checks if the return value of getEdgeValidationError for the given
|
|
arguments is null.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell that represents the edge to validate.</dd>
|
|
<dd><code>source</code> - Cell that represents the source terminal.</dd>
|
|
<dd><code>target</code> - Cell that represents the target terminal.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdgeValidationError-java.lang.Object-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdgeValidationError</h4>
|
|
<pre>public java.lang.String getEdgeValidationError​(java.lang.Object edge,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Returns the validation error message to be displayed when inserting or
|
|
changing an edges' connectivity. A return value of null means the edge
|
|
is valid, a return value of '' means it's not valid, but do not display
|
|
an error message. Any other (non-empty) string returned from this method
|
|
is displayed as an error message when trying to connect an edge to a
|
|
source and target. This implementation uses the multiplicities, as
|
|
well as multigraph and allowDanglingEdges to generate validation
|
|
errors.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell that represents the edge to validate.</dd>
|
|
<dd><code>source</code> - Cell that represents the source terminal.</dd>
|
|
<dd><code>target</code> - Cell that represents the target terminal.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="validateEdge-java.lang.Object-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>validateEdge</h4>
|
|
<pre>public java.lang.String validateEdge​(java.lang.Object edge,
|
|
java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
edge and terminals. This implementation returns null.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edge</code> - Cell that represents the edge to validate.</dd>
|
|
<dd><code>source</code> - Cell that represents the source terminal.</dd>
|
|
<dd><code>target</code> - Cell that represents the target terminal.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellValidationError-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellValidationError</h4>
|
|
<pre>public java.lang.String getCellValidationError​(java.lang.Object cell)</pre>
|
|
<div class="block">Checks all multiplicities that cannot be enforced while the graph is
|
|
being modified, namely, all multiplicities that require a minimum of
|
|
1 edge.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell for which the multiplicities should be checked.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="validateCell-java.lang.Object-java.util.Hashtable-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>validateCell</h4>
|
|
<pre>public java.lang.String validateCell​(java.lang.Object cell,
|
|
java.util.Hashtable<java.lang.Object,java.lang.Object> context)</pre>
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
cell and validation context. This implementation returns null.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that represents the cell to validate.</dd>
|
|
<dd><code>context</code> - Hashtable that represents the global validation state.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLabelsVisible--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLabelsVisible</h4>
|
|
<pre>public boolean isLabelsVisible()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the labelsVisible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setLabelsVisible-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLabelsVisible</h4>
|
|
<pre>public void setLabelsVisible​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the labelsVisible to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setHtmlLabels-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setHtmlLabels</h4>
|
|
<pre>public void setHtmlLabels​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the htmlLabels to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isHtmlLabels--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isHtmlLabels</h4>
|
|
<pre>public boolean isHtmlLabels()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="convertValueToString-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>convertValueToString</h4>
|
|
<pre>public java.lang.String convertValueToString​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the textual representation for the given cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell to be converted to a string.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the textual representation of the cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLabel-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLabel</h4>
|
|
<pre>public java.lang.String getLabel​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns a string or DOM node that represents the label for the given
|
|
cell. This implementation uses <convertValueToString> if <labelsVisible>
|
|
is true. Otherwise it returns an empty string.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose label should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the label for the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellLabelChanged-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellLabelChanged</h4>
|
|
<pre>public void cellLabelChanged​(java.lang.Object cell,
|
|
java.lang.Object value,
|
|
boolean autoSize)</pre>
|
|
<div class="block">Sets the new label for a cell. If autoSize is true then
|
|
<cellSizeUpdated> will be called.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose label should be changed.</dd>
|
|
<dd><code>value</code> - New label to be assigned.</dd>
|
|
<dd><code>autoSize</code> - Specifies if cellSizeUpdated should be called.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isHtmlLabel-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isHtmlLabel</h4>
|
|
<pre>public boolean isHtmlLabel​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the label must be rendered as HTML markup. The default
|
|
implementation returns <htmlLabels>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose label should be displayed as HTML markup.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell label is HTML markup.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getToolTipForCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getToolTipForCell</h4>
|
|
<pre>public java.lang.String getToolTipForCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the tooltip to be used for the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getStartSize-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStartSize</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getStartSize​(java.lang.Object swimlane)</pre>
|
|
<div class="block">Returns the start size of the given swimlane, that is, the width or
|
|
height of the part that contains the title, depending on the
|
|
horizontal style. The return value is an <mxRectangle> with either
|
|
width or height set as appropriate.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>swimlane</code> - <mxCell> whose start size should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the startsize for the given swimlane.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getImage-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImage</h4>
|
|
<pre>public java.lang.String getImage​(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Returns the image URL for the given cell state. This implementation
|
|
returns the value stored under <mxConstants.STYLE_IMAGE> in the cell
|
|
style.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>state</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the image associated with the given cell state.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBorder--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBorder</h4>
|
|
<pre>public int getBorder()</pre>
|
|
<div class="block">Returns the value of <border>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the border.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setBorder-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBorder</h4>
|
|
<pre>public void setBorder​(int value)</pre>
|
|
<div class="block">Sets the value of <border>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Positive integer that represents the border to be used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDefaultLoopStyle--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDefaultLoopStyle</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> getDefaultLoopStyle()</pre>
|
|
<div class="block">Returns the default edge style used for loops.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the default loop style.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDefaultLoopStyle-com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDefaultLoopStyle</h4>
|
|
<pre>public void setDefaultLoopStyle​(<a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> value)</pre>
|
|
<div class="block">Sets the default style used for loops.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Default style to be used for loops.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isSwimlane-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSwimlane</h4>
|
|
<pre>public boolean isSwimlane​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is a swimlane. This implementation always
|
|
returns false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that should be checked.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is a swimlane.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellLocked-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellLocked</h4>
|
|
<pre>public boolean isCellLocked​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell may not be moved, sized, bended,
|
|
disconnected, edited or selected. This implementation returns true for
|
|
all vertices with a relative geometry if cellsLocked is false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose locked state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is locked.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsLocked--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsLocked</h4>
|
|
<pre>public boolean isCellsLocked()</pre>
|
|
<div class="block">Returns cellsLocked, the default return value for isCellLocked.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsLocked-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsLocked</h4>
|
|
<pre>public void setCellsLocked​(boolean value)</pre>
|
|
<div class="block">Sets cellsLocked, the default return value for isCellLocked and fires a
|
|
property change event for cellsLocked.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellEditable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellEditable</h4>
|
|
<pre>public boolean isCellEditable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is movable. This implementation returns editable.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose editable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is editable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsEditable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsEditable</h4>
|
|
<pre>public boolean isCellsEditable()</pre>
|
|
<div class="block">Returns true if editing is allowed in this graph.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the graph is editable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsEditable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsEditable</h4>
|
|
<pre>public void setCellsEditable​(boolean value)</pre>
|
|
<div class="block">Sets if the graph is editable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellResizable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellResizable</h4>
|
|
<pre>public boolean isCellResizable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is resizable. This implementation returns
|
|
cellsSizable for all cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose resizable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is sizable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsResizable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsResizable</h4>
|
|
<pre>public boolean isCellsResizable()</pre>
|
|
<div class="block">Returns true if the given cell is resizable. This implementation return sizable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsResizable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsResizable</h4>
|
|
<pre>public void setCellsResizable​(boolean value)</pre>
|
|
<div class="block">Sets if the graph is resizable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMovableCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMovableCells</h4>
|
|
<pre>public java.lang.Object[] getMovableCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellMovable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellMovable</h4>
|
|
<pre>public boolean isCellMovable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is movable. This implementation
|
|
returns movable.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose movable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is movable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsMovable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsMovable</h4>
|
|
<pre>public boolean isCellsMovable()</pre>
|
|
<div class="block">Returns cellsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsMovable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsMovable</h4>
|
|
<pre>public void setCellsMovable​(boolean value)</pre>
|
|
<div class="block">Sets cellsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isTerminalPointMovable-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isTerminalPointMovable</h4>
|
|
<pre>public boolean isTerminalPointMovable​(java.lang.Object cell,
|
|
boolean source)</pre>
|
|
<div class="block">Function: isTerminalPointMovable
|
|
|
|
Returns true if the given terminal point is movable. This is independent
|
|
from isCellConnectable and isCellDisconnectable and controls if terminal
|
|
points can be moved in the graph if the edge is not connected. Note that
|
|
it is required for this to return true to connect unconnected edges.
|
|
This implementation returns true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose terminal point should be moved.</dd>
|
|
<dd><code>source</code> - Boolean indicating if the source or target terminal should be moved.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellBendable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellBendable</h4>
|
|
<pre>public boolean isCellBendable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is bendable. This implementation returns
|
|
bendable. This is used in mxElbowEdgeHandler to determine if the middle
|
|
handle should be shown.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose bendable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is bendable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsBendable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsBendable</h4>
|
|
<pre>public boolean isCellsBendable()</pre>
|
|
<div class="block">Returns cellsBendable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsBendable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsBendable</h4>
|
|
<pre>public void setCellsBendable​(boolean value)</pre>
|
|
<div class="block">Sets cellsBendable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellSelectable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellSelectable</h4>
|
|
<pre>public boolean isCellSelectable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is selectable. This implementation returns
|
|
<selectable>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose selectable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is selectable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsSelectable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsSelectable</h4>
|
|
<pre>public boolean isCellsSelectable()</pre>
|
|
<div class="block">Returns cellsSelectable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsSelectable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsSelectable</h4>
|
|
<pre>public void setCellsSelectable​(boolean value)</pre>
|
|
<div class="block">Sets cellsSelectable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDeletableCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDeletableCells</h4>
|
|
<pre>public java.lang.Object[] getDeletableCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellDeletable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellDeletable</h4>
|
|
<pre>public boolean isCellDeletable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is movable. This implementation always
|
|
returns true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose movable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is movable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsDeletable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsDeletable</h4>
|
|
<pre>public boolean isCellsDeletable()</pre>
|
|
<div class="block">Returns cellsDeletable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsDeletable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsDeletable</h4>
|
|
<pre>public void setCellsDeletable​(boolean value)</pre>
|
|
<div class="block">Sets cellsDeletable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCloneableCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCloneableCells</h4>
|
|
<pre>public java.lang.Object[] getCloneableCells​(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellCloneable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellCloneable</h4>
|
|
<pre>public boolean isCellCloneable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the constant true. This does not use the cloneable field to
|
|
return a value for a given cell, it is simply a hook for subclassers
|
|
to disallow cloning of individual cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsCloneable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsCloneable</h4>
|
|
<pre>public boolean isCellsCloneable()</pre>
|
|
<div class="block">Returns cellsCloneable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsCloneable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsCloneable</h4>
|
|
<pre>public void setCellsCloneable​(boolean value)</pre>
|
|
<div class="block">Specifies if the graph should allow cloning of cells by holding down the
|
|
control key while cells are being moved. This implementation updates
|
|
cellsCloneable.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Boolean indicating if the graph should be cloneable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellDisconnectable-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellDisconnectable</h4>
|
|
<pre>public boolean isCellDisconnectable​(java.lang.Object cell,
|
|
java.lang.Object terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Returns true if the given cell is disconnectable from the source or
|
|
target terminal. This returns <disconnectable> for all given cells if
|
|
<isLocked> does not return true for the given cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose disconnectable state should be returned.</dd>
|
|
<dd><code>terminal</code> - <mxCell> that represents the source or target terminal.</dd>
|
|
<dd><code>source</code> - Boolean indicating if the source or target terminal is to be
|
|
disconnected.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given edge can be disconnected from the given
|
|
terminal.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsDisconnectable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsDisconnectable</h4>
|
|
<pre>public boolean isCellsDisconnectable()</pre>
|
|
<div class="block">Returns cellsDisconnectable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsDisconnectable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsDisconnectable</h4>
|
|
<pre>public void setCellsDisconnectable​(boolean value)</pre>
|
|
<div class="block">Sets cellsDisconnectable.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Boolean indicating if the graph should allow disconnecting of
|
|
edges.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLabelClipped-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLabelClipped</h4>
|
|
<pre>public boolean isLabelClipped​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the overflow portion of labels should be hidden. If this
|
|
returns true then vertex labels will be clipped to the size of the vertices.
|
|
This implementation returns true if <mxConstants.STYLE_OVERFLOW> in the
|
|
style of the given cell is "hidden".</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose label should be clipped.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell label should be clipped.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isLabelsClipped--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLabelsClipped</h4>
|
|
<pre>public boolean isLabelsClipped()</pre>
|
|
<div class="block">Returns labelsClipped.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setLabelsClipped-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLabelsClipped</h4>
|
|
<pre>public void setLabelsClipped​(boolean value)</pre>
|
|
<div class="block">Sets labelsClipped.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isLabelMovable-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLabelMovable</h4>
|
|
<pre>public boolean isLabelMovable​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given edges's label is moveable. This returns
|
|
<movable> for all given cells if <isLocked> does not return true
|
|
for the given cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose label should be moved.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the label of the given cell is movable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isVertexLabelsMovable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isVertexLabelsMovable</h4>
|
|
<pre>public boolean isVertexLabelsMovable()</pre>
|
|
<div class="block">Returns vertexLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setVertexLabelsMovable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVertexLabelsMovable</h4>
|
|
<pre>public void setVertexLabelsMovable​(boolean value)</pre>
|
|
<div class="block">Sets vertexLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isEdgeLabelsMovable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEdgeLabelsMovable</h4>
|
|
<pre>public boolean isEdgeLabelsMovable()</pre>
|
|
<div class="block">Returns edgeLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setEdgeLabelsMovable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEdgeLabelsMovable</h4>
|
|
<pre>public void setEdgeLabelsMovable​(boolean value)</pre>
|
|
<div class="block">Returns edgeLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEnabled</h4>
|
|
<pre>public boolean isEnabled()</pre>
|
|
<div class="block">Returns true if the graph is <enabled>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the graph is enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEnabled</h4>
|
|
<pre>public void setEnabled​(boolean value)</pre>
|
|
<div class="block">Specifies if the graph should allow any interactions. This
|
|
implementation updates <enabled>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Boolean indicating if the graph should be enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isDropEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isDropEnabled</h4>
|
|
<pre>public boolean isDropEnabled()</pre>
|
|
<div class="block">Returns true if the graph allows drop into other cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setDropEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDropEnabled</h4>
|
|
<pre>public void setDropEnabled​(boolean value)</pre>
|
|
<div class="block">Sets dropEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSplitEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSplitEnabled</h4>
|
|
<pre>public boolean isSplitEnabled()</pre>
|
|
<div class="block">Affects the return values of isValidDropTarget to allow for edges as
|
|
drop targets. The splitEdge method is called in mxGraphHandler if
|
|
mxGraphComponent.isSplitEvent returns true for a given configuration.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setSplitEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSplitEnabled</h4>
|
|
<pre>public void setSplitEnabled​(boolean value)</pre>
|
|
<div class="block">Sets splitEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isMultigraph--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMultigraph</h4>
|
|
<pre>public boolean isMultigraph()</pre>
|
|
<div class="block">Returns multigraph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setMultigraph-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMultigraph</h4>
|
|
<pre>public void setMultigraph​(boolean value)</pre>
|
|
<div class="block">Sets multigraph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSwimlaneNesting--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSwimlaneNesting</h4>
|
|
<pre>public boolean isSwimlaneNesting()</pre>
|
|
<div class="block">Returns swimlaneNesting.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setSwimlaneNesting-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSwimlaneNesting</h4>
|
|
<pre>public void setSwimlaneNesting​(boolean value)</pre>
|
|
<div class="block">Sets swimlaneNesting.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowDanglingEdges--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowDanglingEdges</h4>
|
|
<pre>public boolean isAllowDanglingEdges()</pre>
|
|
<div class="block">Returns allowDanglingEdges</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAllowDanglingEdges-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAllowDanglingEdges</h4>
|
|
<pre>public void setAllowDanglingEdges​(boolean value)</pre>
|
|
<div class="block">Sets allowDanglingEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCloneInvalidEdges--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCloneInvalidEdges</h4>
|
|
<pre>public boolean isCloneInvalidEdges()</pre>
|
|
<div class="block">Returns cloneInvalidEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCloneInvalidEdges-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCloneInvalidEdges</h4>
|
|
<pre>public void setCloneInvalidEdges​(boolean value)</pre>
|
|
<div class="block">Sets cloneInvalidEdge.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isDisconnectOnMove--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isDisconnectOnMove</h4>
|
|
<pre>public boolean isDisconnectOnMove()</pre>
|
|
<div class="block">Returns disconnectOnMove</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setDisconnectOnMove-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDisconnectOnMove</h4>
|
|
<pre>public void setDisconnectOnMove​(boolean value)</pre>
|
|
<div class="block">Sets disconnectOnMove.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowLoops--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowLoops</h4>
|
|
<pre>public boolean isAllowLoops()</pre>
|
|
<div class="block">Returns allowLoops.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAllowLoops-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAllowLoops</h4>
|
|
<pre>public void setAllowLoops​(boolean value)</pre>
|
|
<div class="block">Sets allowLoops.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isConnectableEdges--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConnectableEdges</h4>
|
|
<pre>public boolean isConnectableEdges()</pre>
|
|
<div class="block">Returns connectableEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setConnectableEdges-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setConnectableEdges</h4>
|
|
<pre>public void setConnectableEdges​(boolean value)</pre>
|
|
<div class="block">Sets connetableEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetEdgesOnMove--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetEdgesOnMove</h4>
|
|
<pre>public boolean isResetEdgesOnMove()</pre>
|
|
<div class="block">Returns resetEdgesOnMove.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetEdgesOnMove-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetEdgesOnMove</h4>
|
|
<pre>public void setResetEdgesOnMove​(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnMove.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetViewOnRootChange--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetViewOnRootChange</h4>
|
|
<pre>public boolean isResetViewOnRootChange()</pre>
|
|
<div class="block">Returns resetViewOnRootChange.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetViewOnRootChange-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetViewOnRootChange</h4>
|
|
<pre>public void setResetViewOnRootChange​(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnResize.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetEdgesOnResize--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetEdgesOnResize</h4>
|
|
<pre>public boolean isResetEdgesOnResize()</pre>
|
|
<div class="block">Returns resetEdgesOnResize.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetEdgesOnResize-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetEdgesOnResize</h4>
|
|
<pre>public void setResetEdgesOnResize​(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnResize.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetEdgesOnConnect--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetEdgesOnConnect</h4>
|
|
<pre>public boolean isResetEdgesOnConnect()</pre>
|
|
<div class="block">Returns resetEdgesOnConnect.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetEdgesOnConnect-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetEdgesOnConnect</h4>
|
|
<pre>public void setResetEdgesOnConnect​(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnConnect.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoSizeCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoSizeCell</h4>
|
|
<pre>public boolean isAutoSizeCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label. This implementation returns
|
|
autoSize for all given cells or checks if the cell style does specify
|
|
mxConstants.STYLE_AUTOSIZE to be 1.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that should be resized.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the size of the given cell should be updated.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoSizeCells--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoSizeCells</h4>
|
|
<pre>public boolean isAutoSizeCells()</pre>
|
|
<div class="block">Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label. This implementation returns
|
|
autoSize for all given cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoSizeCells-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoSizeCells</h4>
|
|
<pre>public void setAutoSizeCells​(boolean value)</pre>
|
|
<div class="block">Specifies if cell sizes should be automatically updated after a label
|
|
change. This implementation sets autoSize to the given parameter.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Boolean indicating if cells should be resized
|
|
automatically.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isExtendParent-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isExtendParent</h4>
|
|
<pre>public boolean isExtendParent​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the parent of the given cell should be extended if the
|
|
child has been resized so that it overlaps the parent. This
|
|
implementation returns ExtendParents if cell is not an edge.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell that has been resized.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isExtendParents--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isExtendParents</h4>
|
|
<pre>public boolean isExtendParents()</pre>
|
|
<div class="block">Returns extendParents.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setExtendParents-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setExtendParents</h4>
|
|
<pre>public void setExtendParents​(boolean value)</pre>
|
|
<div class="block">Sets extendParents.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isExtendParentsOnAdd--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isExtendParentsOnAdd</h4>
|
|
<pre>public boolean isExtendParentsOnAdd()</pre>
|
|
<div class="block">Returns extendParentsOnAdd.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setExtendParentsOnAdd-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setExtendParentsOnAdd</h4>
|
|
<pre>public void setExtendParentsOnAdd​(boolean value)</pre>
|
|
<div class="block">Sets extendParentsOnAdd.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isConstrainChild-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConstrainChild</h4>
|
|
<pre>public boolean isConstrainChild​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell should be kept inside the bounds of its
|
|
parent according to the rules defined by getOverlap and
|
|
isAllowOverlapParent. This implementation returns false for all children
|
|
of edges and isConstrainChildren() otherwise.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isConstrainChildren--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConstrainChildren</h4>
|
|
<pre>public boolean isConstrainChildren()</pre>
|
|
<div class="block">Returns constrainChildren.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the keepInsideParentOnMove</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setConstrainChildren-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setConstrainChildren</h4>
|
|
<pre>public void setConstrainChildren​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the constrainChildren to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoOrigin--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoOrigin</h4>
|
|
<pre>public boolean isAutoOrigin()</pre>
|
|
<div class="block">Returns autoOrigin.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoOrigin-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoOrigin</h4>
|
|
<pre>public void setAutoOrigin​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the autoOrigin to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOrigin--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOrigin</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getOrigin()</pre>
|
|
<div class="block">Returns origin.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setOrigin-com.mxgraph.util.mxPoint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setOrigin</h4>
|
|
<pre>public void setOrigin​(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the origin to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getChangesRepaintThreshold--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChangesRepaintThreshold</h4>
|
|
<pre>public int getChangesRepaintThreshold()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns changesRepaintThreshold.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setChangesRepaintThreshold-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setChangesRepaintThreshold</h4>
|
|
<pre>public void setChangesRepaintThreshold​(int value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the changesRepaintThreshold to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowNegativeCoordinates--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowNegativeCoordinates</h4>
|
|
<pre>public boolean isAllowNegativeCoordinates()</pre>
|
|
<div class="block">Returns isAllowNegativeCoordinates.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the allowNegativeCoordinates</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAllowNegativeCoordinates-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAllowNegativeCoordinates</h4>
|
|
<pre>public void setAllowNegativeCoordinates​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the allowNegativeCoordinates to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCollapseToPreferredSize--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCollapseToPreferredSize</h4>
|
|
<pre>public boolean isCollapseToPreferredSize()</pre>
|
|
<div class="block">Returns collapseToPreferredSize.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the collapseToPreferredSize</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCollapseToPreferredSize-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCollapseToPreferredSize</h4>
|
|
<pre>public void setCollapseToPreferredSize​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the collapseToPreferredSize to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isKeepEdgesInForeground--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isKeepEdgesInForeground</h4>
|
|
<pre>public boolean isKeepEdgesInForeground()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if edges are rendered in the foreground.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setKeepEdgesInForeground-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setKeepEdgesInForeground</h4>
|
|
<pre>public void setKeepEdgesInForeground​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the keepEdgesInForeground to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isKeepEdgesInBackground--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isKeepEdgesInBackground</h4>
|
|
<pre>public boolean isKeepEdgesInBackground()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if edges are rendered in the background.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setKeepEdgesInBackground-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setKeepEdgesInBackground</h4>
|
|
<pre>public void setKeepEdgesInBackground​(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the keepEdgesInBackground to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidSource-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidSource</h4>
|
|
<pre>public boolean isValidSource​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is a valid source for new connections.
|
|
This implementation returns true for all non-null values and is
|
|
called by is called by <isValidConnection>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Object that represents a possible source or null.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is a valid source terminal.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidTarget-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidTarget</h4>
|
|
<pre>public boolean isValidTarget​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns isValidSource for the given cell. This is called by
|
|
isValidConnection.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Object that represents a possible target or null.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is a valid target.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidConnection-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidConnection</h4>
|
|
<pre>public boolean isValidConnection​(java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Returns true if the given target cell is a valid target for source.
|
|
This is a boolean implementation for not allowing connections between
|
|
certain pairs of vertices and is called by <getEdgeValidationError>.
|
|
This implementation returns true if <isValidSource> returns true for
|
|
the source and <isValidTarget> returns true for the target.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>source</code> - Object that represents the source cell.</dd>
|
|
<dd><code>target</code> - Object that represents the target cell.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the the connection between the given terminals
|
|
is valid.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMinimumGraphSize--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMinimumGraphSize</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getMinimumGraphSize()</pre>
|
|
<div class="block">Returns the minimum size of the diagram.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the minimum container size.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setMinimumGraphSize-com.mxgraph.util.mxRectangle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMinimumGraphSize</h4>
|
|
<pre>public void setMinimumGraphSize​(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the minimumGraphSize to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOverlap-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOverlap</h4>
|
|
<pre>public double getOverlap​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns a decimal number representing the amount of the width and height
|
|
of the given cell that is allowed to overlap its parent. A value of 0
|
|
means all children must stay inside the parent, 1 means the child is
|
|
allowed to be placed outside of the parent such that it touches one of
|
|
the parents sides. If <isAllowOverlapParent> returns false for the given
|
|
cell, then this method returns 0.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the overlapping value for the given cell inside its
|
|
parent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDefaultOverlap--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDefaultOverlap</h4>
|
|
<pre>public double getDefaultOverlap()</pre>
|
|
<div class="block">Gets defaultOverlap.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setDefaultOverlap-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDefaultOverlap</h4>
|
|
<pre>public void setDefaultOverlap​(double value)</pre>
|
|
<div class="block">Sets defaultOverlap.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowOverlapParent-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowOverlapParent</h4>
|
|
<pre>public boolean isAllowOverlapParent​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell is allowed to be placed outside of the
|
|
parents area.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell may overlap its parent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getFoldableCells-java.lang.Object:A-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFoldableCells</h4>
|
|
<pre>public java.lang.Object[] getFoldableCells​(java.lang.Object[] cells,
|
|
boolean collapse)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellFoldable-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellFoldable</h4>
|
|
<pre>public boolean isCellFoldable​(java.lang.Object cell,
|
|
boolean collapse)</pre>
|
|
<div class="block">Returns true if the given cell is expandable. This implementation
|
|
returns true if the cell has at least one child and its style
|
|
does not specify mxConstants.STYLE_FOLDABLE to be 0.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - <mxCell> whose expandable state should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is expandable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isGridEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isGridEnabled</h4>
|
|
<pre>public boolean isGridEnabled()</pre>
|
|
<div class="block">Returns true if the grid is enabled.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the enabled state of the grid.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGridEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGridEnabled</h4>
|
|
<pre>public void setGridEnabled​(boolean value)</pre>
|
|
<div class="block">Sets if the grid is enabled.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Specifies if the grid should be enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isPortsEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPortsEnabled</h4>
|
|
<pre>public boolean isPortsEnabled()</pre>
|
|
<div class="block">Returns true if ports are enabled.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the enabled state of the ports.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPortsEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPortsEnabled</h4>
|
|
<pre>public void setPortsEnabled​(boolean value)</pre>
|
|
<div class="block">Sets if ports are enabled.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - Specifies if the ports should be enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGridSize--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGridSize</h4>
|
|
<pre>public int getGridSize()</pre>
|
|
<div class="block">Returns the grid size.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the grid size</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGridSize-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGridSize</h4>
|
|
<pre>public void setGridSize​(int value)</pre>
|
|
<div class="block">Sets the grid size and fires a property change event for gridSize.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - New grid size to be used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAlternateEdgeStyle--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAlternateEdgeStyle</h4>
|
|
<pre>public java.lang.String getAlternateEdgeStyle()</pre>
|
|
<div class="block">Returns alternateEdgeStyle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAlternateEdgeStyle-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAlternateEdgeStyle</h4>
|
|
<pre>public void setAlternateEdgeStyle​(java.lang.String value)</pre>
|
|
<div class="block">Sets alternateEdgeStyle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidDropTarget-java.lang.Object-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidDropTarget</h4>
|
|
<pre>public boolean isValidDropTarget​(java.lang.Object cell,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns true if the given cell is a valid drop target for the specified
|
|
cells. This returns true if the cell is a swimlane, has children and is
|
|
not collapsed, or if splitEnabled is true and isSplitTarget returns
|
|
true for the given arguments</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Object that represents the possible drop target.</dd>
|
|
<dd><code>cells</code> - Objects that are going to be dropped.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the cell is a valid drop target for the given
|
|
cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isSplitTarget-java.lang.Object-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSplitTarget</h4>
|
|
<pre>public boolean isSplitTarget​(java.lang.Object target,
|
|
java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns true if split is enabled and the given edge may be splitted into
|
|
two edges with the given cell as a new terminal between the two.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>target</code> - Object that represents the edge to be splitted.</dd>
|
|
<dd><code>cells</code> - Array of cells to add into the given edge.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given edge may be splitted by the given
|
|
cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDropTarget-java.lang.Object:A-java.awt.Point-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDropTarget</h4>
|
|
<pre>public java.lang.Object getDropTarget​(java.lang.Object[] cells,
|
|
java.awt.Point pt,
|
|
java.lang.Object cell)</pre>
|
|
<div class="block">Returns the given cell if it is a drop target for the given cells or the
|
|
nearest ancestor that may be used as a drop target for the given cells.
|
|
If the given array contains a swimlane and swimlaneNesting is false
|
|
then this always returns null. If no cell is given, then the bottommost
|
|
swimlane at the location of the given event is returned.
|
|
|
|
This function should only be used if isDropEnabled returns true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDefaultParent--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDefaultParent</h4>
|
|
<pre>public java.lang.Object getDefaultParent()</pre>
|
|
<div class="block">Returns the first child of the root in the model, that is, the first or
|
|
default layer of the diagram.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the default parent for new cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDefaultParent-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDefaultParent</h4>
|
|
<pre>public void setDefaultParent​(java.lang.Object value)</pre>
|
|
<div class="block">Sets the default parent to be returned by getDefaultParent.
|
|
Set this to null to return the first child of the root in
|
|
getDefaultParent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getChildVertices-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChildVertices</h4>
|
|
<pre>public java.lang.Object[] getChildVertices​(java.lang.Object parent)</pre>
|
|
<div class="block">Returns the visible child vertices of the given parent.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be returned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getChildEdges-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChildEdges</h4>
|
|
<pre>public java.lang.Object[] getChildEdges​(java.lang.Object parent)</pre>
|
|
<div class="block">Returns the visible child edges of the given parent.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be returned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getChildCells-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChildCells</h4>
|
|
<pre>public java.lang.Object[] getChildCells​(java.lang.Object parent)</pre>
|
|
<div class="block">Returns the visible children of the given parent.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be returned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getChildCells-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChildCells</h4>
|
|
<pre>public java.lang.Object[] getChildCells​(java.lang.Object parent,
|
|
boolean vertices,
|
|
boolean edges)</pre>
|
|
<div class="block">Returns the visible child vertices or edges in the given parent. If
|
|
vertices and edges is false, then all children are returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be returned.</dd>
|
|
<dd><code>vertices</code> - Specifies if child vertices should be returned.</dd>
|
|
<dd><code>edges</code> - Specifies if child edges should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the child vertices and edges.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getConnections-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getConnections</h4>
|
|
<pre>public java.lang.Object[] getConnections​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<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>
|
|
</li>
|
|
</ul>
|
|
<a name="getConnections-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getConnections</h4>
|
|
<pre>public java.lang.Object[] getConnections​(java.lang.Object cell,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.
|
|
If the optional parent argument is specified, then only child
|
|
edges of the given parent are returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose connections should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent of the opposite end for a connection
|
|
to be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the connected edges for the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getConnections-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getConnections</h4>
|
|
<pre>public java.lang.Object[] getConnections​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean recurse)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.
|
|
If the optional parent argument is specified, then only child
|
|
edges of the given parent are returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose connections should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent of the opposite end for a connection
|
|
to be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the connected edges for the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getIncomingEdges-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getIncomingEdges</h4>
|
|
<pre>public java.lang.Object[] getIncomingEdges​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns all incoming visible edges connected to the given cell without
|
|
loops.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose incoming edges should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the incoming edges of the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getIncomingEdges-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getIncomingEdges</h4>
|
|
<pre>public java.lang.Object[] getIncomingEdges​(java.lang.Object cell,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Returns the visible incoming edges for the given cell. If the optional
|
|
parent argument is specified, then only child edges of the given parent
|
|
are returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose incoming edges should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent of the opposite end for an edge
|
|
to be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the incoming edges of the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOutgoingEdges-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOutgoingEdges</h4>
|
|
<pre>public java.lang.Object[] getOutgoingEdges​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns all outgoing visible edges connected to the given cell without
|
|
loops.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose outgoing edges should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the outgoing edges of the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOutgoingEdges-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOutgoingEdges</h4>
|
|
<pre>public java.lang.Object[] getOutgoingEdges​(java.lang.Object cell,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Returns the visible outgoing edges for the given cell. If the optional
|
|
parent argument is specified, then only child edges of the given parent
|
|
are returned.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose outgoing edges should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent of the opposite end for an edge
|
|
to be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the outgoing edges of the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdges-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdges</h4>
|
|
<pre>public java.lang.Object[] getEdges​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose edges should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the edges of the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdges-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdges</h4>
|
|
<pre>public java.lang.Object[] getEdges​(java.lang.Object cell,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose edges should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent of the opposite end for an edge
|
|
to be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the edges of the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdges-java.lang.Object-java.lang.Object-boolean-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdges</h4>
|
|
<pre>public java.lang.Object[] getEdges​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops)</pre>
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.
|
|
If the optional parent argument is specified, then only edges are returned
|
|
where the opposite is in the given parent cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose edges should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent. If specified the opposite end of any edge
|
|
must be a direct child of that parent in order for the edge to be returned.</dd>
|
|
<dd><code>incoming</code> - Specifies if incoming edges should be included in the
|
|
result.</dd>
|
|
<dd><code>outgoing</code> - Specifies if outgoing edges should be included in the
|
|
result.</dd>
|
|
<dd><code>includeLoops</code> - Specifies if loops should be included in the result.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the edges connected to the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdges-java.lang.Object-java.lang.Object-boolean-boolean-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdges</h4>
|
|
<pre>public java.lang.Object[] getEdges​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops,
|
|
boolean recurse)</pre>
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.
|
|
If the optional parent argument is specified, then only edges are returned
|
|
where the opposite is in the given parent cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose edges should be returned.</dd>
|
|
<dd><code>parent</code> - Optional parent. If specified the opposite end of any edge
|
|
must be a child of that parent in order for the edge to be returned. The
|
|
recurse parameter specifies whether or not it must be the direct child
|
|
or the parent just be an ancestral parent.</dd>
|
|
<dd><code>incoming</code> - Specifies if incoming edges should be included in the
|
|
result.</dd>
|
|
<dd><code>outgoing</code> - Specifies if outgoing edges should be included in the
|
|
result.</dd>
|
|
<dd><code>includeLoops</code> - Specifies if loops should be included in the result.</dd>
|
|
<dd><code>recurse</code> - Specifies if the parent specified only need be an ancestral
|
|
parent, <code>true</code>, or the direct parent, <code>false</code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the edges connected to the given cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidAncestor-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidAncestor</h4>
|
|
<pre>public boolean isValidAncestor​(java.lang.Object cell,
|
|
java.lang.Object parent,
|
|
boolean recurse)</pre>
|
|
<div class="block">Returns whether or not the specified parent is a valid
|
|
ancestor of the specified cell, either direct or indirectly
|
|
based on whether ancestor recursion is enabled.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - the possible child cell</dd>
|
|
<dd><code>parent</code> - the possible parent cell</dd>
|
|
<dd><code>recurse</code> - whether or not to recurse the child ancestors</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>whether or not the specified parent is a valid
|
|
ancestor of the specified cell, either direct or indirectly
|
|
based on whether ancestor recursion is enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOpposites-java.lang.Object:A-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOpposites</h4>
|
|
<pre>public java.lang.Object[] getOpposites​(java.lang.Object[] edges,
|
|
java.lang.Object terminal)</pre>
|
|
<div class="block">Returns all distinct visible opposite cells of the terminal on the given
|
|
edges.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edges</code> - </dd>
|
|
<dd><code>terminal</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the terminals at the opposite ends of the given edges.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOpposites-java.lang.Object:A-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOpposites</h4>
|
|
<pre>public java.lang.Object[] getOpposites​(java.lang.Object[] edges,
|
|
java.lang.Object terminal,
|
|
boolean sources,
|
|
boolean targets)</pre>
|
|
<div class="block">Returns all distincts visible opposite cells for the specified terminal
|
|
on the given edges.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>edges</code> - Edges whose opposite terminals should be returned.</dd>
|
|
<dd><code>terminal</code> - Terminal that specifies the end whose opposite should be
|
|
returned.</dd>
|
|
<dd><code>sources</code> - Specifies if source terminals should be included in the
|
|
result.</dd>
|
|
<dd><code>targets</code> - Specifies if target terminals should be included in the
|
|
result.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells at the opposite ends of the given edges.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdgesBetween-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdgesBetween</h4>
|
|
<pre>public java.lang.Object[] getEdgesBetween​(java.lang.Object source,
|
|
java.lang.Object target)</pre>
|
|
<div class="block">Returns the edges between the given source and target. This takes into
|
|
account collapsed and invisible cells and returns the connected edges
|
|
as displayed on the screen.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>source</code> - </dd>
|
|
<dd><code>target</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns all edges between the given terminals.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEdgesBetween-java.lang.Object-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEdgesBetween</h4>
|
|
<pre>public java.lang.Object[] getEdgesBetween​(java.lang.Object source,
|
|
java.lang.Object target,
|
|
boolean directed)</pre>
|
|
<div class="block">Returns the edges between the given source and target. This takes into
|
|
account collapsed and invisible cells and returns the connected edges
|
|
as displayed on the screen.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>source</code> - </dd>
|
|
<dd><code>target</code> - </dd>
|
|
<dd><code>directed</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns all edges between the given terminals.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellsBeyond-double-double-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellsBeyond</h4>
|
|
<pre>public java.lang.Object[] getCellsBeyond​(double x0,
|
|
double y0,
|
|
java.lang.Object parent,
|
|
boolean rightHalfpane,
|
|
boolean bottomHalfpane)</pre>
|
|
<div class="block">Returns the children of the given parent that are contained in the
|
|
halfpane from the given point (x0, y0) rightwards and downwards
|
|
depending on rightHalfpane and bottomHalfpane.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x0</code> - X-coordinate of the origin.</dd>
|
|
<dd><code>y0</code> - Y-coordinate of the origin.</dd>
|
|
<dd><code>parent</code> - <mxCell> whose children should be checked.</dd>
|
|
<dd><code>rightHalfpane</code> - Boolean indicating if the cells in the right halfpane
|
|
from the origin should be returned.</dd>
|
|
<dd><code>bottomHalfpane</code> - Boolean indicating if the cells in the bottom halfpane
|
|
from the origin should be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells beyond the given halfpane.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="findTreeRoots-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>findTreeRoots</h4>
|
|
<pre>public java.util.List<java.lang.Object> findTreeRoots​(java.lang.Object parent)</pre>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges. If the result is empty then the with the greatest
|
|
difference between incoming and outgoing edges is returned. This
|
|
takes into account edges that are being promoted to the given
|
|
root due to invisible children or collapsed cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be checked.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>List of tree roots in parent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="findTreeRoots-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>findTreeRoots</h4>
|
|
<pre>public java.util.List<java.lang.Object> findTreeRoots​(java.lang.Object parent,
|
|
boolean isolate)</pre>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges. If the result is empty then the children with the
|
|
maximum difference between incoming and outgoing edges are returned.
|
|
This takes into account edges that are being promoted to the given
|
|
root due to invisible children or collapsed cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be checked.</dd>
|
|
<dd><code>isolate</code> - Specifies if edges should be ignored if the opposite
|
|
end is not a child of the given parent cell.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>List of tree roots in parent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="findTreeRoots-java.lang.Object-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>findTreeRoots</h4>
|
|
<pre>public java.util.List<java.lang.Object> findTreeRoots​(java.lang.Object parent,
|
|
boolean isolate,
|
|
boolean invert)</pre>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges. If the result is empty then the children with the
|
|
maximum difference between incoming and outgoing edges are returned.
|
|
This takes into account edges that are being promoted to the given
|
|
root due to invisible children or collapsed cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Cell whose children should be checked.</dd>
|
|
<dd><code>isolate</code> - Specifies if edges should be ignored if the opposite
|
|
end is not a child of the given parent cell.</dd>
|
|
<dd><code>invert</code> - Specifies if outgoing or incoming edges should be counted
|
|
for a tree root. If false then outgoing edges will be counted.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>List of tree roots in parent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="traverse-java.lang.Object-boolean-com.mxgraph.view.mxGraph.mxICellVisitor-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>traverse</h4>
|
|
<pre>public void traverse​(java.lang.Object vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor)</pre>
|
|
<div class="block">Traverses the tree starting at the given vertex. Here is how to use this
|
|
method for a given vertex (root) which is typically the root of a tree:
|
|
<code>
|
|
graph.traverse(root, true, new mxICellVisitor()
|
|
{
|
|
public boolean visit(Object vertex, Object edge)
|
|
{
|
|
System.out.println("edge="+graph.convertValueToString(edge)+
|
|
" vertex="+graph.convertValueToString(vertex));
|
|
|
|
return true;
|
|
}
|
|
});
|
|
</code></div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>vertex</code> - </dd>
|
|
<dd><code>directed</code> - </dd>
|
|
<dd><code>visitor</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="traverse-java.lang.Object-boolean-com.mxgraph.view.mxGraph.mxICellVisitor-java.lang.Object-java.util.Set-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>traverse</h4>
|
|
<pre>public void traverse​(java.lang.Object vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor,
|
|
java.lang.Object edge,
|
|
java.util.Set<java.lang.Object> visited)</pre>
|
|
<div class="block">Traverses the (directed) graph invoking the given function for each
|
|
visited vertex and edge. The function is invoked with the current vertex
|
|
and the incoming edge as a parameter. This implementation makes sure
|
|
each vertex is only visited once. The function may return false if the
|
|
traversal should stop at the given vertex.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>vertex</code> - <mxCell> that represents the vertex where the traversal starts.</dd>
|
|
<dd><code>directed</code> - Optional boolean indicating if edges should only be traversed
|
|
from source to target. Default is true.</dd>
|
|
<dd><code>visitor</code> - Visitor that takes the current vertex and the incoming edge.
|
|
The traversal stops if the function returns false.</dd>
|
|
<dd><code>edge</code> - Optional <mxCell> that represents the incoming edge. This is
|
|
null for the first step of the traversal.</dd>
|
|
<dd><code>visited</code> - Optional array of cell paths for the visited cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionModel--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionModel</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a> getSelectionModel()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCount--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCount</h4>
|
|
<pre>public int getSelectionCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellSelected-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellSelected</h4>
|
|
<pre>public boolean isCellSelected​(java.lang.Object cell)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given cell is selected.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isSelectionEmpty--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSelectionEmpty</h4>
|
|
<pre>public boolean isSelectionEmpty()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the selection is empty.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="clearSelection--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearSelection</h4>
|
|
<pre>public void clearSelection()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCell--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCell</h4>
|
|
<pre>public java.lang.Object getSelectionCell()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the selection cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSelectionCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSelectionCell</h4>
|
|
<pre>public void setSelectionCell​(java.lang.Object cell)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCells--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCells</h4>
|
|
<pre>public java.lang.Object[] getSelectionCells()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the selection cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSelectionCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSelectionCells</h4>
|
|
<pre>public void setSelectionCells​(java.lang.Object[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setSelectionCells-java.util.Collection-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSelectionCells</h4>
|
|
<pre>public void setSelectionCells​(java.util.Collection<java.lang.Object> cells)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cells</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addSelectionCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addSelectionCell</h4>
|
|
<pre>public void addSelectionCell​(java.lang.Object cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="addSelectionCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addSelectionCells</h4>
|
|
<pre>public void addSelectionCells​(java.lang.Object[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeSelectionCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeSelectionCell</h4>
|
|
<pre>public void removeSelectionCell​(java.lang.Object cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeSelectionCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeSelectionCells</h4>
|
|
<pre>public void removeSelectionCells​(java.lang.Object[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="selectNextCell--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectNextCell</h4>
|
|
<pre>public void selectNextCell()</pre>
|
|
<div class="block">Selects the next cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectPreviousCell--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectPreviousCell</h4>
|
|
<pre>public void selectPreviousCell()</pre>
|
|
<div class="block">Selects the previous cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectParentCell--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectParentCell</h4>
|
|
<pre>public void selectParentCell()</pre>
|
|
<div class="block">Selects the parent cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectChildCell--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectChildCell</h4>
|
|
<pre>public void selectChildCell()</pre>
|
|
<div class="block">Selects the first child cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCell-boolean-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCell</h4>
|
|
<pre>public void selectCell​(boolean isNext,
|
|
boolean isParent,
|
|
boolean isChild)</pre>
|
|
<div class="block">Selects the next, parent, first child or previous cell, if all arguments
|
|
are false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>isNext</code> - </dd>
|
|
<dd><code>isParent</code> - </dd>
|
|
<dd><code>isChild</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="selectVertices--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectVertices</h4>
|
|
<pre>public void selectVertices()</pre>
|
|
<div class="block">Selects all vertices inside the default parent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectVertices-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectVertices</h4>
|
|
<pre>public void selectVertices​(java.lang.Object parent)</pre>
|
|
<div class="block">Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectEdges--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectEdges</h4>
|
|
<pre>public void selectEdges()</pre>
|
|
<div class="block">Selects all vertices inside the default parent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectEdges-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectEdges</h4>
|
|
<pre>public void selectEdges​(java.lang.Object parent)</pre>
|
|
<div class="block">Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCells-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCells</h4>
|
|
<pre>public void selectCells​(boolean vertices,
|
|
boolean edges)</pre>
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the default parent. Use
|
|
<code>selectAll</code> to select all cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>vertices</code> - Boolean indicating if vertices should be selected.</dd>
|
|
<dd><code>edges</code> - Boolean indicating if edges should be selected.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCells-boolean-boolean-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCells</h4>
|
|
<pre>public void selectCells​(boolean vertices,
|
|
boolean edges,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the given parent or the default
|
|
parent if no parent is specified. Use <code>selectAll</code> to select
|
|
all cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>vertices</code> - Boolean indicating if vertices should be selected.</dd>
|
|
<dd><code>edges</code> - Boolean indicating if edges should be selected.</dd>
|
|
<dd><code>parent</code> - Optional cell that acts as the root of the recursion.
|
|
Default is <code>defaultParent</code>.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="selectAll--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectAll</h4>
|
|
<pre>public void selectAll()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="selectAll-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectAll</h4>
|
|
<pre>public void selectAll​(java.lang.Object parent)</pre>
|
|
<div class="block">Selects all children of the given parent cell or the children of the
|
|
default parent if no parent is specified. To select leaf vertices and/or
|
|
edges use <selectCells>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>parent</code> - Optional <mxCell> whose children should be selected.
|
|
Default is <defaultParent>.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="drawGraph-com.mxgraph.canvas.mxICanvas-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drawGraph</h4>
|
|
<pre>public void drawGraph​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas)</pre>
|
|
<div class="block">Draws the graph onto the given canvas.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>canvas</code> - Canvas onto which the graph should be drawn.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="drawCell-com.mxgraph.canvas.mxICanvas-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drawCell</h4>
|
|
<pre>public void drawCell​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
java.lang.Object cell)</pre>
|
|
<div class="block">Draws the given cell and its descendants onto the specified canvas.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>canvas</code> - Canvas onto which the cell should be drawn.</dd>
|
|
<dd><code>cell</code> - Cell that should be drawn onto the canvas.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="drawState-com.mxgraph.canvas.mxICanvas-com.mxgraph.view.mxCellState-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drawState</h4>
|
|
<pre>public void drawState​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
boolean drawLabel)</pre>
|
|
<div class="block">Draws the cell state with the given label onto the canvas. No
|
|
children or descendants are painted here. This method invokes
|
|
cellDrawn after the cell, but not its descendants have been
|
|
painted.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>canvas</code> - Canvas onto which the cell should be drawn.</dd>
|
|
<dd><code>state</code> - State of the cell to be drawn.</dd>
|
|
<dd><code>drawLabel</code> - Indicates if the label should be drawn.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="cellDrawn-com.mxgraph.canvas.mxICanvas-com.mxgraph.view.mxCellState-java.lang.Object-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellDrawn</h4>
|
|
<pre>protected void cellDrawn​(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
java.lang.Object element,
|
|
java.lang.Object labelElement)</pre>
|
|
<div class="block">Called when a cell has been painted as the specified object, typically a
|
|
DOM node that represents the given cell graphically in a document.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getLinkForCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLinkForCell</h4>
|
|
<pre>protected java.lang.String getLinkForCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the hyperlink to be used for the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getTargetForCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTargetForCell</h4>
|
|
<pre>protected java.lang.String getTargetForCell​(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the hyperlink to be used for the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addPropertyChangeListener-java.beans.PropertyChangeListener-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addPropertyChangeListener</h4>
|
|
<pre>public void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>listener</code> - </dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><code>PropertyChangeSupport.addPropertyChangeListener(java.beans.PropertyChangeListener)</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addPropertyChangeListener-java.lang.String-java.beans.PropertyChangeListener-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addPropertyChangeListener</h4>
|
|
<pre>public void addPropertyChangeListener​(java.lang.String propertyName,
|
|
java.beans.PropertyChangeListener listener)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>propertyName</code> - </dd>
|
|
<dd><code>listener</code> - </dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><code>PropertyChangeSupport.addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removePropertyChangeListener-java.beans.PropertyChangeListener-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removePropertyChangeListener</h4>
|
|
<pre>public void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>listener</code> - </dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><code>PropertyChangeSupport.removePropertyChangeListener(java.beans.PropertyChangeListener)</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removePropertyChangeListener-java.lang.String-java.beans.PropertyChangeListener-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removePropertyChangeListener</h4>
|
|
<pre>public void removePropertyChangeListener​(java.lang.String propertyName,
|
|
java.beans.PropertyChangeListener listener)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>propertyName</code> - </dd>
|
|
<dd><code>listener</code> - </dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><code>PropertyChangeSupport.removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre>public java.lang.String toString()</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="main-java.lang.String:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>main</h4>
|
|
<pre>public static void main​(java.lang.String[] args)</pre>
|
|
<div class="block">Logs the version number on the console.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/mxGraph.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><p><b>mxGraph 3.9.12</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li><a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?com/mxgraph/view/mxGraph.html" target="_top">Frames</a></li>
|
|
<li><a href="mxGraph.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
|
|
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
|
|
</body>
|
|
</html>
|