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

8492 lines
508 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2015-06-23 07:48:06 +00:00
<!-- Generated by javadoc (version 1.7.0_51) on Tue Jun 23 09:45:42 CEST 2015 -->
<title>mxGraph (mxGraph 3.3.1.1 API Specification)</title>
<meta name="date" content="2015-06-23">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
2012-05-21 20:32:26 +00:00
if (location.href.indexOf('is-external=true') == -1) {
2015-06-23 07:48:06 +00:00
parent.document.title="mxGraph (mxGraph 3.3.1.1 API Specification)";
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/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>
2015-06-23 07:48:06 +00:00
<div class="aboutLanguage"><em><p><b>mxGraph 3.3.1.1</b></p></em></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view"><span class="strong">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>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
<div class="header">
<div class="subTitle">com.mxgraph.view</div>
<h2 title="Class mxGraph" class="title">Class mxGraph</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
2014-11-28 08:55:09 +00:00
<li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
<li><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>
<br>
<pre>public class <span class="strong">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
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
passed to repaint to define the dirty region.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a></strong></code>&nbsp;</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&nbsp;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>
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#allowDanglingEdges">allowDanglingEdges</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#allowLoops">allowLoops</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#allowNegativeCoordinates">allowNegativeCoordinates</a></strong></code>
<div class="block">Specifies if negative coordinates for vertices are allowed.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#alternateEdgeStyle">alternateEdgeStyle</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#autoOrigin">autoOrigin</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#autoSizeCells">autoSizeCells</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#border">border</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsBendable">cellsBendable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsCloneable">cellsCloneable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsDeletable">cellsDeletable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsDisconnectable">cellsDisconnectable</a></strong></code>
<div class="block">Specifies the return value for isCellDisconntableFromTerminal.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsEditable">cellsEditable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsLocked">cellsLocked</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsMovable">cellsMovable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsResizable">cellsResizable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsSelectable">cellsSelectable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#changesRepaintThreshold">changesRepaintThreshold</a></strong></code>
<div class="block">Specifies the maximum number of changes that should be processed to find
the dirty region.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeSupport.html?is-external=true" title="class or interface in java.beans">PropertyChangeSupport</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#changeSupport">changeSupport</a></strong></code>
<div class="block">Property change event handling.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cloneInvalidEdges">cloneInvalidEdges</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#collapseToPreferredSize">collapseToPreferredSize</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#connectableEdges">connectableEdges</a></strong></code>
<div class="block">Specifies if edges are connectable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#constrainChildren">constrainChildren</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#defaultLoopStyle">defaultLoopStyle</a></strong></code>
<div class="block">Specifies the default style for loops.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#defaultOverlap">defaultOverlap</a></strong></code>
<div class="block">Value returned by getOverlap if isAllowOverlapParent returns
true for the given cell.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#defaultParent">defaultParent</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#disconnectOnMove">disconnectOnMove</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#dropEnabled">dropEnabled</a></strong></code>
<div class="block">Specifies the return value for isDropEnabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#edgeLabelsMovable">edgeLabelsMovable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#enabled">enabled</a></strong></code>
<div class="block">Specifies the return value for isEnabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#extendParents">extendParents</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#extendParentsOnAdd">extendParentsOnAdd</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#fullRepaintHandler">fullRepaintHandler</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#graphModelChangeHandler">graphModelChangeHandler</a></strong></code>
<div class="block">Fires repaint events for model changes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#gridEnabled">gridEnabled</a></strong></code>
<div class="block">Specifies if the grid is enabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#gridSize">gridSize</a></strong></code>
<div class="block">Specifies the grid size.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#htmlLabels">htmlLabels</a></strong></code>
<div class="block">Specifies the return value for isHtmlLabel.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected static <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&gt;</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#imageBundles">imageBundles</a></strong></code>
<div class="block">Holds the list of bundles.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#keepEdgesInBackground">keepEdgesInBackground</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#keepEdgesInForeground">keepEdgesInForeground</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#labelsClipped">labelsClipped</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#labelsVisible">labelsVisible</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#maximumGraphBounds">maximumGraphBounds</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#minimumGraphSize">minimumGraphSize</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#model">model</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#multigraph">multigraph</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#multiplicities">multiplicities</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#origin">origin</a></strong></code>
<div class="block">Holds the current automatic origin.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#portsEnabled">portsEnabled</a></strong></code>
<div class="block">Specifies if ports are enabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnConnect">resetEdgesOnConnect</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnMove">resetEdgesOnMove</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnResize">resetEdgesOnResize</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resetViewOnRootChange">resetViewOnRootChange</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectionModel">selectionModel</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#splitEnabled">splitEnabled</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#stylesheet">stylesheet</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#swimlaneNesting">swimlaneNesting</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateOriginHandler">updateOriginHandler</a></strong></code>
<div class="block">Fires repaint events for full repaints.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#VERSION">VERSION</a></strong></code>
<div class="block">Holds the version number of this release.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#vertexLabelsMovable">vertexLabelsMovable</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#view">view</a></strong></code>
<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&nbsp;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>
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph()">mxGraph</a></strong>()</code>
<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">
<td class="colOne"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph(com.mxgraph.model.mxIGraphModel)">mxGraph</a></strong>(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model)</code>
<div class="block">Constructs a new graph for the specified model.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph(com.mxgraph.model.mxIGraphModel, com.mxgraph.view.mxStylesheet)">mxGraph</a></strong>(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;stylesheet)</code>
<div class="block">Constructs a new graph for the specified model.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#mxGraph(com.mxgraph.view.mxStylesheet)">mxGraph</a></strong>(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;stylesheet)</code>
<div class="block">Constructs a new graph for the specified model.</div>
</td>
</tr>
</table>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addAllEdges(java.lang.Object[])">addAllEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addCell(java.lang.Object)">addCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cell to the default parent.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addCell(java.lang.Object, java.lang.Object)">addCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cell to the parent.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cell to the parent and connects it to the given source and
target terminals.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[])">addCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the default parent.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[], java.lang.Object)">addCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the parent.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[], java.lang.Object, java.lang.Integer)">addCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the parent at the given index.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object)">addCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the edge to the parent and connects it to the given source and
target terminals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addImageBundle(com.mxgraph.util.mxImageBundle)">addImageBundle</a></strong>(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&nbsp;bundle)</code>
<div class="block">Adds the specified bundle.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">addPropertyChangeListener</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addSelectionCell(java.lang.Object)">addSelectionCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#addSelectionCells(java.lang.Object[])">addSelectionCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#alignCells(java.lang.String)">alignCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;align)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Aligns the selection cells vertically or horizontally according to the
given alignment.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#alignCells(java.lang.String, java.lang.Object[])">alignCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;align,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Aligns the given cells vertically or horizontally according to the given
alignment.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#alignCells(java.lang.String, java.lang.Object[], java.lang.Object)">alignCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;align,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;param)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellConnected(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">cellConnected</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</code>
<div class="block">Sets the new terminal for the given edge and resets the edge points if
isResetEdgesOnConnect returns true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellDrawn(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, java.lang.Object, java.lang.Object)">cellDrawn</a></strong>(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas,
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;element,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;labelElement)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellLabelChanged(java.lang.Object, java.lang.Object, boolean)">cellLabelChanged</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
boolean&nbsp;autoSize)</code>
<div class="block">Sets the new label for a cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsAdded(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean)">cellsAdded</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
2014-04-01 11:30:48 +00:00
boolean&nbsp;absolute)</code>
<div class="block">Adds the specified cells to the given parent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsAdded(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean, boolean)">cellsAdded</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
2014-04-01 11:30:48 +00:00
boolean&nbsp;absolute,
boolean&nbsp;constrain)</code>
<div class="block">Adds the specified cells to the given parent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsFolded(java.lang.Object[], boolean, boolean)">cellsFolded</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse,
boolean&nbsp;recurse)</code>
<div class="block">Invokes cellsFoldable with checkFoldable set to false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsFolded(java.lang.Object[], boolean, boolean, boolean)">cellsFolded</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse,
boolean&nbsp;recurse,
boolean&nbsp;checkFoldable)</code>
<div class="block">Sets the collapsed state of the specified cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellSizeUpdated(java.lang.Object, boolean)">cellSizeUpdated</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;ignoreChildren)</code>
<div class="block">Updates the size of the given cell in the model using
getPreferredSizeForCell to get the new size.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsMoved(java.lang.Object[], double, double, boolean, boolean)">cellsMoved</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy,
boolean&nbsp;disconnect,
boolean&nbsp;constrain)</code>
<div class="block">Moves the specified cells by the given vector, disconnecting the cells
using disconnectGraph if disconnect is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsOrdered(java.lang.Object[], boolean)">cellsOrdered</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;back)</code>
<div class="block">Moves the given cells to the front or back.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsRemoved(java.lang.Object[])">cellsRemoved</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the given cells from the model.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsResized(java.lang.Object[], com.mxgraph.util.mxRectangle[])">cellsResized</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[]&nbsp;bounds)</code>
<div class="block">Sets the bounds of the given cells and fires a <mxEvent.CELLS_RESIZED>
event.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cellsToggled(java.lang.Object[], boolean)">cellsToggled</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;show)</code>
<div class="block">Sets the visible state of the specified cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#clearSelection()">clearSelection</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cloneCells(java.lang.Object[])">cloneCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Clones all cells in the given array.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#cloneCells(java.lang.Object[], boolean)">cloneCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;allowInvalidEdges)</code>
<div class="block">Returns the clones for the given cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#connectCell(java.lang.Object, java.lang.Object, boolean)">connectCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source)</code>
<div class="block">Connects the specified end of the given edge to the given terminal
2012-05-21 20:32:26 +00:00
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
2014-04-01 11:30:48 +00:00
is in progress.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#connectCell(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">connectCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</code>
<div class="block">Connects the specified end of the given edge to the given terminal
2012-05-21 20:32:26 +00:00
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
2014-04-01 11:30:48 +00:00
is in progress.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#constrainChild(java.lang.Object)">constrainChild</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Keeps the given cell inside the bounds returned by
2012-05-21 20:32:26 +00:00
getCellContainmentArea for its parent, according to the rules defined by
2014-04-01 11:30:48 +00:00
getOverlap and isConstrainChild.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#convertValueToString(java.lang.Object)">convertValueToString</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the textual representation for the given cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Hook method that creates the new edge for insertEdge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#createGraphView()">createGraphView</a></strong>()</code>
<div class="block">Constructs a new view to be used in this graph.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#createGroupCell(java.lang.Object[])">createGroupCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#createSelectionModel()">createSelectionModel</a></strong>()</code>
<div class="block">Constructs a new selection model to be used in this graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#createStylesheet()">createStylesheet</a></strong>()</code>
<div class="block">Constructs a new stylesheet to be used in this graph.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style,
2014-04-01 11:30:48 +00:00
boolean&nbsp;relative)</code>
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#disconnectGraph(java.lang.Object[])">disconnectGraph</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Disconnects the given edges from the terminals which are not in the
given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#drawCell(com.mxgraph.canvas.mxICanvas, java.lang.Object)">drawCell</a></strong>(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Draws the given cell and its descendants onto the specified canvas.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#drawGraph(com.mxgraph.canvas.mxICanvas)">drawGraph</a></strong>(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas)</code>
<div class="block">Draws the graph onto the given canvas.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#drawState(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, boolean)">drawState</a></strong>(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas,
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state,
boolean&nbsp;drawLabel)</code>
<div class="block">Draws the cell state with the given label onto the canvas.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#enterGroup()">enterGroup</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#enterGroup(java.lang.Object)">enterGroup</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Uses the given cell as the root of the displayed cell hierarchy.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#exitGroup()">exitGroup</a></strong>()</code>
<div class="block">Changes the current root to the next valid root in the displayed cell
hierarchy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#extendParent(java.lang.Object)">extendParent</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Resizes the parents recursively so that they contain the complete area
of the resized child cell.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#findTreeRoots(java.lang.Object)">findTreeRoots</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible children in the given parent which do not have
incoming edges.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#findTreeRoots(java.lang.Object, boolean)">findTreeRoots</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;isolate)</code>
<div class="block">Returns all visible children in the given parent which do not have
incoming edges.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#findTreeRoots(java.lang.Object, boolean, boolean)">findTreeRoots</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;isolate,
boolean&nbsp;invert)</code>
<div class="block">Returns all visible children in the given parent which do not have
incoming edges.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#flipEdge(java.lang.Object)">flipEdge</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Called when the main control point of the edge is double-clicked.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean)">foldCells</a></strong>(boolean&nbsp;collapse)</code>
<div class="block">Sets the collapsed state of the selection cells without recursion.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean)">foldCells</a></strong>(boolean&nbsp;collapse,
boolean&nbsp;recurse)</code>
<div class="block">Sets the collapsed state of the selection cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean, java.lang.Object[])">foldCells</a></strong>(boolean&nbsp;collapse,
boolean&nbsp;recurse,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Invokes foldCells with checkFoldable set to false.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean, java.lang.Object[], boolean)">foldCells</a></strong>(boolean&nbsp;collapse,
boolean&nbsp;recurse,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;checkFoldable)</code>
<div class="block">Sets the collapsed state of the specified cells and all descendants
if recurse is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getAllConnectionConstraints(com.mxgraph.view.mxCellState, boolean)">getAllConnectionConstraints</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;terminal,
boolean&nbsp;source)</code>
<div class="block">Returns an array of all constraints for the given terminal.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getAllEdges(java.lang.Object[])">getAllEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all edges connected to the given cells or their descendants.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getAlternateEdgeStyle()">getAlternateEdgeStyle</a></strong>()</code>
<div class="block">Returns alternateEdgeStyle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBorder()">getBorder</a></strong>()</code>
<div class="block">Returns the value of <border>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBox(java.lang.Object)">getBoundingBox</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the bounds of the given cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBox(java.lang.Object, boolean)">getBoundingBox</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges)</code>
<div class="block">Returns the bounding box of the given cell including all connected edges
if includeEdge is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBox(java.lang.Object, boolean, boolean)">getBoundingBox</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2012-05-21 20:32:26 +00:00
boolean&nbsp;includeEdges,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeDescendants)</code>
<div class="block">Returns the bounding box of the given cell including all connected edges
if includeEdge is true.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBoundingBoxFromGeometry(java.lang.Object[])">getBoundingBoxFromGeometry</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the bounding box for the geometries of the vertices in the
given array of cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBoundsForCells(java.lang.Object[], boolean, boolean, boolean)">getBoundsForCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;includeDescendants,
boolean&nbsp;boundingBox)</code>
<div class="block">Returns the bounds for the given cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getBoundsForGroup(java.lang.Object, java.lang.Object[], double)">getBoundsForGroup</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;children,
2014-04-01 11:30:48 +00:00
double&nbsp;border)</code>
<div class="block">Returns the bounds to be used for the given group and children.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object)">getCellBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the bounds of the given cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object, boolean)">getCellBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges)</code>
<div class="block">Returns the bounds of the given cell including all connected edges
if includeEdge is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object, boolean, boolean)">getCellBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;includeDescendants)</code>
<div class="block">Returns the bounds of the given cell including all connected edges
if includeEdge is true.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object, boolean, boolean, boolean)">getCellBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;includeDescendants,
boolean&nbsp;boundingBox)</code>
<div class="block">Returns the bounds of the given cell including all connected edges
if includeEdge is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellContainmentArea(java.lang.Object)">getCellContainmentArea</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the mxRectangle inside which a cell is to be kept.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellGeometry(java.lang.Object)">getCellGeometry</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the geometry for the given cell.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellsBeyond(double, double, java.lang.Object, boolean, boolean)">getCellsBeyond</a></strong>(double&nbsp;x0,
double&nbsp;y0,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;rightHalfpane,
boolean&nbsp;bottomHalfpane)</code>
<div class="block">Returns the children of the given parent that are contained in the
2012-05-21 20:32:26 +00:00
halfpane from the given point (x0, y0) rightwards and downwards
2014-04-01 11:30:48 +00:00
depending on rightHalfpane and bottomHalfpane.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellsForGroup(java.lang.Object[])">getCellsForGroup</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cells with the same parent as the first cell
in the given array.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellStyle(java.lang.Object)">getCellStyle</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns an array of key, value pairs representing the cell style for the
given cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellValidationError(java.lang.Object)">getCellValidationError</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Checks all multiplicities that cannot be enforced while the graph is
2012-05-21 20:32:26 +00:00
being modified, namely, all multiplicities that require a minimum of
2014-04-01 11:30:48 +00:00
1 edge.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getChangesRepaintThreshold()">getChangesRepaintThreshold</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getChildCells(java.lang.Object)">getChildCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible children of the given parent.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getChildCells(java.lang.Object, boolean, boolean)">getChildCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;vertices,
boolean&nbsp;edges)</code>
<div class="block">Returns the visible child vertices or edges in the given parent.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getChildEdges(java.lang.Object)">getChildEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible child edges of the given parent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getChildOffsetForCell(java.lang.Object)">getChildOffsetForCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the offset to be used for the cells inside the given cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getChildVertices(java.lang.Object)">getChildVertices</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible child vertices of the given parent.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCloneableCells(java.lang.Object[])">getCloneableCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cells which are movable in the given array of cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getConnectionConstraint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">getConnectionConstraint</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;edge,
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;terminal,
boolean&nbsp;source)</code>
<div class="block">Returns an connection constraint that describes the given connection
point.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getConnectionPoint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxConnectionConstraint)">getConnectionPoint</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;vertex,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</code>
<div class="block">Sets the connection constraint that describes the given connection point.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getConnections(java.lang.Object)">getConnections</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getConnections(java.lang.Object, java.lang.Object)">getConnections</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getConnections(java.lang.Object, java.lang.Object, boolean)">getConnections</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;recurse)</code>
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCurrentRoot()">getCurrentRoot</a></strong>()</code>
<div class="block">Returns the current root of the displayed cell hierarchy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getDefaultLoopStyle()">getDefaultLoopStyle</a></strong>()</code>
<div class="block">Returns the default edge style used for loops.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getDefaultOverlap()">getDefaultOverlap</a></strong>()</code>
<div class="block">Gets defaultOverlap.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getDefaultParent()">getDefaultParent</a></strong>()</code>
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getDeletableCells(java.lang.Object[])">getDeletableCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cells which are movable in the given array of cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getDropTarget(java.lang.Object[], java.awt.Point, java.lang.Object)">getDropTarget</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</a>&nbsp;pt,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object)">getEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object, java.lang.Object)">getEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object, java.lang.Object, boolean, boolean, boolean)">getEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;incoming,
boolean&nbsp;outgoing,
boolean&nbsp;includeLoops)</code>
<div class="block">Returns the incoming and/or outgoing edges for the given cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object, java.lang.Object, boolean, boolean, boolean, boolean)">getEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;incoming,
boolean&nbsp;outgoing,
boolean&nbsp;includeLoops,
boolean&nbsp;recurse)</code>
<div class="block">Returns the incoming and/or outgoing edges for the given cell.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdgesBetween(java.lang.Object, java.lang.Object)">getEdgesBetween</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the edges between the given source and target.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdgesBetween(java.lang.Object, java.lang.Object, boolean)">getEdgesBetween</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
2014-04-01 11:30:48 +00:00
boolean&nbsp;directed)</code>
<div class="block">Returns the edges between the given source and target.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getEdgeValidationError(java.lang.Object, java.lang.Object, java.lang.Object)">getEdgeValidationError</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the validation error message to be displayed when inserting or
changing an edges' connectivity.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getFoldableCells(java.lang.Object[], boolean)">getFoldableCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse)</code>
<div class="block">Returns the cells which are movable in the given array of cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getGraphBounds()">getGraphBounds</a></strong>()</code>
<div class="block">Returns the bounds of the visible graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getGridSize()">getGridSize</a></strong>()</code>
<div class="block">Returns the grid size.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getImage(com.mxgraph.view.mxCellState)">getImage</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state)</code>
<div class="block">Returns the image URL for the given cell state.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&gt;</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getImageBundles()">getImageBundles</a></strong>()</code>
<div class="block">Returns the image bundles</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getImageBundles(java.util.List)">getImageBundles</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&gt;&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the image bundles</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getImageFromBundles(java.lang.String)">getImageFromBundles</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getIncomingEdges(java.lang.Object)">getIncomingEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all incoming visible edges connected to the given cell without
loops.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getIncomingEdges(java.lang.Object, java.lang.Object)">getIncomingEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible incoming edges for the given cell.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getLabel(java.lang.Object)">getLabel</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a string or DOM node that represents the label for the given
cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getLinkForCell(java.lang.Object)">getLinkForCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the hyperlink to be used for the given cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getMaximumGraphBounds()">getMaximumGraphBounds</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getMinimumGraphSize()">getMinimumGraphSize</a></strong>()</code>
<div class="block">Returns the minimum size of the diagram.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getModel()">getModel</a></strong>()</code>
<div class="block">Returns the graph model that contains the graph data.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getMovableCells(java.lang.Object[])">getMovableCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cells which are movable in the given array of cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getMultiplicities()">getMultiplicities</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getOpposites(java.lang.Object[], java.lang.Object)">getOpposites</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;edges,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all distinct visible opposite cells of the terminal on the given
edges.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getOpposites(java.lang.Object[], java.lang.Object, boolean, boolean)">getOpposites</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;edges,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;sources,
boolean&nbsp;targets)</code>
<div class="block">Returns all distincts visible opposite cells for the specified terminal
on the given edges.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getOrigin()">getOrigin</a></strong>()</code>
<div class="block">Returns origin.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getOutgoingEdges(java.lang.Object)">getOutgoingEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all outgoing visible edges connected to the given cell without
loops.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getOutgoingEdges(java.lang.Object, java.lang.Object)">getOutgoingEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible outgoing edges for the given cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getOverlap(java.lang.Object)">getOverlap</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getPaintBounds(java.lang.Object[])">getPaintBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the bounding box of the given cells and their descendants.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getPreferredSizeForCell(java.lang.Object)">getPreferredSizeForCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the preferred width and height of the given <mxCell> as an
<mxRectangle>.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getRemovedCellsForChanges(java.util.List)">getRemovedCellsForChanges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cells that have been removed from the model.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCell()">getSelectionCell</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCells()">getSelectionCells</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCellsForChanges(java.util.List)">getSelectionCellsForChanges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the cells to be selected for the given list of changes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCount()">getSelectionCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionModel()">getSelectionModel</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getStartSize(java.lang.Object)">getStartSize</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;swimlane)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the start size of the given swimlane, that is, the width or
2012-05-21 20:32:26 +00:00
height of the part that contains the title, depending on the
2014-04-01 11:30:48 +00:00
horizontal style.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getStylesheet()">getStylesheet</a></strong>()</code>
<div class="block">Returns the stylesheet that provides the style.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getTargetForCell(java.lang.Object)">getTargetForCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the hyperlink to be used for the given cell.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getTerminalForPort(java.lang.Object, boolean)">getTerminalForPort</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source)</code>
<div class="block">Returns the terminal to be used for a given port.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getToolTipForCell(java.lang.Object)">getToolTipForCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the tooltip to be used for the given cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getTranslateForRoot(java.lang.Object)">getTranslateForRoot</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the translation to be used if the given cell is the root cell as
an <mxPoint>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getView()">getView</a></strong>()</code>
<div class="block">Returns the view that contains the cell states.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#graphModelChanged(com.mxgraph.model.mxIGraphModel, java.util.List)">graphModelChanged</a></strong>(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;sender,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Called when the graph model changes.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#groupCells()">groupCells</a></strong>()</code>
<div class="block">Groups the selection cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#groupCells(java.lang.Object)">groupCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Groups the selection cells and adds them to the given group.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#groupCells(java.lang.Object, double)">groupCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group,
2014-04-01 11:30:48 +00:00
double&nbsp;border)</code>
<div class="block">Groups the selection cells and adds them to the given group.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#groupCells(java.lang.Object, double, java.lang.Object[])">groupCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group,
2014-04-01 11:30:48 +00:00
double&nbsp;border,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells into the given group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#home()">home</a></strong>()</code>
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Creates and adds a new edge with an empty style.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#insertVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double)">insertVertex</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height)</code>
<div class="block">Creates and adds a new vertex with an empty style.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><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></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style,
2014-04-01 11:30:48 +00:00
boolean&nbsp;relative)</code>
<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 class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAllowDanglingEdges()">isAllowDanglingEdges</a></strong>()</code>
<div class="block">Returns allowDanglingEdges</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAllowLoops()">isAllowLoops</a></strong>()</code>
<div class="block">Returns allowLoops.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAllowNegativeCoordinates()">isAllowNegativeCoordinates</a></strong>()</code>
<div class="block">Returns isAllowNegativeCoordinates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAllowOverlapParent(java.lang.Object)">isAllowOverlapParent</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is allowed to be placed outside of the
parents area.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAutoOrigin()">isAutoOrigin</a></strong>()</code>
<div class="block">Returns autoOrigin.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAutoSizeCell(java.lang.Object)">isAutoSizeCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isAutoSizeCells()">isAutoSizeCells</a></strong>()</code>
<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 class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellBendable(java.lang.Object)">isCellBendable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is bendable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellCloneable(java.lang.Object)">isCellCloneable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the constant true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellCollapsed(java.lang.Object)">isCellCollapsed</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is collapsed in this graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellConnectable(java.lang.Object)">isCellConnectable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is connectable in this graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellDeletable(java.lang.Object)">isCellDeletable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is movable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellDisconnectable(java.lang.Object, java.lang.Object, boolean)">isCellDisconnectable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source)</code>
<div class="block">Returns true if the given cell is disconnectable from the source or
target terminal.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellEditable(java.lang.Object)">isCellEditable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is movable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellFoldable(java.lang.Object, boolean)">isCellFoldable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse)</code>
<div class="block">Returns true if the given cell is expandable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellLocked(java.lang.Object)">isCellLocked</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell may not be moved, sized, bended,
disconnected, edited or selected.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellMovable(java.lang.Object)">isCellMovable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is movable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellResizable(java.lang.Object)">isCellResizable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is resizable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsBendable()">isCellsBendable</a></strong>()</code>
<div class="block">Returns cellsBendable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsCloneable()">isCellsCloneable</a></strong>()</code>
<div class="block">Returns cellsCloneable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsDeletable()">isCellsDeletable</a></strong>()</code>
<div class="block">Returns cellsDeletable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsDisconnectable()">isCellsDisconnectable</a></strong>()</code>
<div class="block">Returns cellsDisconnectable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsEditable()">isCellsEditable</a></strong>()</code>
<div class="block">Returns true if editing is allowed in this graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellSelectable(java.lang.Object)">isCellSelectable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is selectable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellSelected(java.lang.Object)">isCellSelected</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsLocked()">isCellsLocked</a></strong>()</code>
<div class="block">Returns cellsLocked, the default return value for isCellLocked.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsMovable()">isCellsMovable</a></strong>()</code>
<div class="block">Returns cellsMovable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsResizable()">isCellsResizable</a></strong>()</code>
<div class="block">Returns true if the given cell is resizable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellsSelectable()">isCellsSelectable</a></strong>()</code>
<div class="block">Returns cellsSelectable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCellVisible(java.lang.Object)">isCellVisible</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is visible in this graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCloneInvalidEdges()">isCloneInvalidEdges</a></strong>()</code>
<div class="block">Returns cloneInvalidEdges.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isCollapseToPreferredSize()">isCollapseToPreferredSize</a></strong>()</code>
<div class="block">Returns collapseToPreferredSize.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isConnectableEdges()">isConnectableEdges</a></strong>()</code>
<div class="block">Returns connectableEdges.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isConstrainChild(java.lang.Object)">isConstrainChild</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell should be kept inside the bounds of its
2012-05-21 20:32:26 +00:00
parent according to the rules defined by getOverlap and
2014-04-01 11:30:48 +00:00
isAllowOverlapParent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isConstrainChildren()">isConstrainChildren</a></strong>()</code>
<div class="block">Returns constrainChildren.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isDisconnectOnMove()">isDisconnectOnMove</a></strong>()</code>
<div class="block">Returns disconnectOnMove</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isDropEnabled()">isDropEnabled</a></strong>()</code>
<div class="block">Returns true if the graph allows drop into other cells.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isEdgeLabelsMovable()">isEdgeLabelsMovable</a></strong>()</code>
<div class="block">Returns edgeLabelsMovable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isEdgeValid(java.lang.Object, java.lang.Object, java.lang.Object)">isEdgeValid</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Checks if the return value of getEdgeValidationError for the given
arguments is null.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isEnabled()">isEnabled</a></strong>()</code>
<div class="block">Returns true if the graph is <enabled>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isExtendParent(java.lang.Object)">isExtendParent</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isExtendParents()">isExtendParents</a></strong>()</code>
<div class="block">Returns extendParents.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isExtendParentsOnAdd()">isExtendParentsOnAdd</a></strong>()</code>
<div class="block">Returns extendParentsOnAdd.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isGridEnabled()">isGridEnabled</a></strong>()</code>
<div class="block">Returns true if the grid is enabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isHtmlLabel(java.lang.Object)">isHtmlLabel</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the label must be rendered as HTML markup.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isHtmlLabels()">isHtmlLabels</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isKeepEdgesInBackground()">isKeepEdgesInBackground</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isKeepEdgesInForeground()">isKeepEdgesInForeground</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isLabelClipped(java.lang.Object)">isLabelClipped</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the overflow portion of labels should be hidden.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isLabelMovable(java.lang.Object)">isLabelMovable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given edges's label is moveable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isLabelsClipped()">isLabelsClipped</a></strong>()</code>
<div class="block">Returns labelsClipped.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isLabelsVisible()">isLabelsVisible</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isLoop(com.mxgraph.view.mxCellState)">isLoop</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state)</code>
<div class="block">Returns true if the given cell state is a loop.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isMultigraph()">isMultigraph</a></strong>()</code>
<div class="block">Returns multigraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isOrthogonal(com.mxgraph.view.mxCellState)">isOrthogonal</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;edge)</code>
<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 class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isPort(java.lang.Object)">isPort</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a "port", that is, when connecting to
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
mxConstants.STYLE_TARGET_PORT.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isPortsEnabled()">isPortsEnabled</a></strong>()</code>
<div class="block">Returns true if ports are enabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnConnect()">isResetEdgesOnConnect</a></strong>()</code>
<div class="block">Returns resetEdgesOnConnect.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnMove()">isResetEdgesOnMove</a></strong>()</code>
<div class="block">Returns resetEdgesOnMove.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnResize()">isResetEdgesOnResize</a></strong>()</code>
<div class="block">Returns resetEdgesOnResize.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isResetViewOnRootChange()">isResetViewOnRootChange</a></strong>()</code>
<div class="block">Returns resetViewOnRootChange.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isSelectionEmpty()">isSelectionEmpty</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isSplitEnabled()">isSplitEnabled</a></strong>()</code>
<div class="block">Affects the return values of isValidDropTarget to allow for edges as
drop targets.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isSplitTarget(java.lang.Object, java.lang.Object[])">isSplitTarget</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isSwimlane(java.lang.Object)">isSwimlane</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a swimlane.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isSwimlaneNesting()">isSwimlaneNesting</a></strong>()</code>
<div class="block">Returns swimlaneNesting.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isTerminalPointMovable(java.lang.Object, boolean)">isTerminalPointMovable</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source)</code>
<div class="block">Function: isTerminalPointMovable
Returns true if the given terminal point is movable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isValidAncestor(java.lang.Object, java.lang.Object, boolean)">isValidAncestor</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;recurse)</code>
<div class="block">Returns whether or not the specified parent is a valid
2012-05-21 20:32:26 +00:00
ancestor of the specified cell, either direct or indirectly
2014-04-01 11:30:48 +00:00
based on whether ancestor recursion is enabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isValidConnection(java.lang.Object, java.lang.Object)">isValidConnection</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given target cell is a valid target for source.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isValidDropTarget(java.lang.Object, java.lang.Object[])">isValidDropTarget</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a valid drop target for the specified
cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isValidRoot(java.lang.Object)">isValidRoot</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a valid root for the cell display
hierarchy.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isValidSource(java.lang.Object)">isValidSource</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a valid source for new connections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isValidTarget(java.lang.Object)">isValidTarget</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns isValidSource for the given cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#isVertexLabelsMovable()">isVertexLabelsMovable</a></strong>()</code>
<div class="block">Returns vertexLabelsMovable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#main(java.lang.String[])">main</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Prints the version number on the console.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#moveCells(java.lang.Object[], double, double)">moveCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy)</code>
<div class="block">Moves the cells by the given amount.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#moveCells(java.lang.Object[], double, double, boolean)">moveCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy,
boolean&nbsp;clone)</code>
<div class="block">Moves or clones the cells and moves the cells or clones by the given
amount.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#moveCells(java.lang.Object[], double, double, boolean, java.lang.Object, java.awt.Point)">moveCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy,
boolean&nbsp;clone,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</a>&nbsp;location)</code>
2014-04-01 11:30:48 +00:00
<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 class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#orderCells(boolean)">orderCells</a></strong>(boolean&nbsp;back)</code>
<div class="block">Moves the selection cells to the front or back.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#orderCells(boolean, java.lang.Object[])">orderCells</a></strong>(boolean&nbsp;back,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Moves the given cells to the front or back.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#postProcessCellStyle(java.util.Map)">postProcessCellStyle</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Tries to resolve the value for the image style in the image bundles and
2012-05-21 20:32:26 +00:00
turns short data URIs as defined in mxImageBundle to data URIs as
2014-04-01 11:30:48 +00:00
defined in RFC 2397 of the IETF.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#processChange(com.mxgraph.util.mxUndoableEdit.mxUndoableChange, boolean, boolean)">processChange</a></strong>(<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&nbsp;change,
boolean&nbsp;invalidate,
boolean&nbsp;ignoreDirty)</code>
<div class="block">Processes the given change and invalidates the respective cached data
in <view>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#processChanges(java.util.List, boolean, boolean)">processChanges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes,
2012-05-21 20:32:26 +00:00
boolean&nbsp;invalidate,
2014-04-01 11:30:48 +00:00
boolean&nbsp;ignoreDirty)</code>
<div class="block">Processes the changes and returns the minimal rectangle to be
repainted in the buffer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#refresh()">refresh</a></strong>()</code>
<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 class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeCells()">removeCells</a></strong>()</code>
<div class="block">Removes the selection cells from the graph.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeCells(java.lang.Object[])">removeCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the given cells from the graph.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeCells(java.lang.Object[], boolean)">removeCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges)</code>
<div class="block">Removes the given cells from the graph including all connected edges if
includeEdges is true.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeCellsFromParent()">removeCellsFromParent</a></strong>()</code>
<div class="block">Removes the selection cells from their parents and adds them to the
default parent returned by getDefaultParent.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeCellsFromParent(java.lang.Object[])">removeCellsFromParent</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the specified cells from their parents and adds them to the
default parent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeImageBundle(com.mxgraph.util.mxImageBundle)">removeImageBundle</a></strong>(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&nbsp;bundle)</code>
<div class="block">Removes the specified bundle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">removePropertyChangeListener</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeSelectionCell(java.lang.Object)">removeSelectionCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeSelectionCells(java.lang.Object[])">removeSelectionCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#removeStateForCell(java.lang.Object)">removeStateForCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Removes all cached information for the given cell and its descendants.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#repaint()">repaint</a></strong>()</code>
<div class="block">Fires a repaint event.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#repaint(com.mxgraph.util.mxRectangle)">repaint</a></strong>(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;region)</code>
<div class="block">Fires a repaint event.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resetEdge(java.lang.Object)">resetEdge</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Resets the control points of the given edge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resetEdges(java.lang.Object[])">resetEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resizeCell(java.lang.Object, com.mxgraph.util.mxRectangle)">resizeCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</code>
<div class="block">Sets the bounds of the given cell using resizeCells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#resizeCells(java.lang.Object[], com.mxgraph.util.mxRectangle[])">resizeCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[]&nbsp;bounds)</code>
<div class="block">Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS
event.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectAll()">selectAll</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectAll(java.lang.Object)">selectAll</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectCell(boolean, boolean, boolean)">selectCell</a></strong>(boolean&nbsp;isNext,
boolean&nbsp;isParent,
boolean&nbsp;isChild)</code>
<div class="block">Selects the next, parent, first child or previous cell, if all arguments
are false.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectCells(boolean, boolean)">selectCells</a></strong>(boolean&nbsp;vertices,
boolean&nbsp;edges)</code>
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectCells(boolean, boolean, java.lang.Object)">selectCells</a></strong>(boolean&nbsp;vertices,
boolean&nbsp;edges,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Selects all vertices and/or edges depending on the given boolean
2012-05-21 20:32:26 +00:00
arguments recursively, starting at the given parent or the default
2014-04-01 11:30:48 +00:00
parent if no parent is specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectChildCell()">selectChildCell</a></strong>()</code>
<div class="block">Selects the first child cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectEdges()">selectEdges</a></strong>()</code>
<div class="block">Selects all vertices inside the default parent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectEdges(java.lang.Object)">selectEdges</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Selects all vertices inside the given parent or the default parent
if no parent is given.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectNextCell()">selectNextCell</a></strong>()</code>
<div class="block">Selects the next cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectParentCell()">selectParentCell</a></strong>()</code>
<div class="block">Selects the parent cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectPreviousCell()">selectPreviousCell</a></strong>()</code>
<div class="block">Selects the previous cell.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectVertices()">selectVertices</a></strong>()</code>
<div class="block">Selects all vertices inside the default parent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#selectVertices(java.lang.Object)">selectVertices</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Selects all vertices inside the given parent or the default parent
if no parent is given.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setAllowDanglingEdges(boolean)">setAllowDanglingEdges</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets allowDanglingEdges.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setAllowLoops(boolean)">setAllowLoops</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets allowLoops.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setAllowNegativeCoordinates(boolean)">setAllowNegativeCoordinates</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setAlternateEdgeStyle(java.lang.String)">setAlternateEdgeStyle</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets alternateEdgeStyle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setAutoOrigin(boolean)">setAutoOrigin</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setAutoSizeCells(boolean)">setAutoSizeCells</a></strong>(boolean&nbsp;value)</code>
<div class="block">Specifies if cell sizes should be automatically updated after a label
change.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setBorder(int)">setBorder</a></strong>(int&nbsp;value)</code>
<div class="block">Sets the value of <border>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsBendable(boolean)">setCellsBendable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cellsBendable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsCloneable(boolean)">setCellsCloneable</a></strong>(boolean&nbsp;value)</code>
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsDeletable(boolean)">setCellsDeletable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cellsDeletable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsDisconnectable(boolean)">setCellsDisconnectable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cellsDisconnectable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsEditable(boolean)">setCellsEditable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets if the graph is editable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsLocked(boolean)">setCellsLocked</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cellsLocked, the default return value for isCellLocked and fires a
property change event for cellsLocked.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsMovable(boolean)">setCellsMovable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cellsMovable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsResizable(boolean)">setCellsResizable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets if the graph is resizable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellsSelectable(boolean)">setCellsSelectable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cellsSelectable.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyle(java.lang.String)">setCellStyle</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the style of the selection cells to the given value.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyle(java.lang.String, java.lang.Object[])">setCellStyle</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the style of the specified cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyleFlags(java.lang.String, int, boolean)">setCellStyleFlags</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2014-04-01 11:30:48 +00:00
int&nbsp;flag,
boolean&nbsp;value)</code>
<div class="block">Sets or toggles the given bit for the given key in the styles of the
selection cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyleFlags(java.lang.String, int, java.lang.Boolean, java.lang.Object[])">setCellStyleFlags</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2014-04-01 11:30:48 +00:00
int&nbsp;flag,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets or toggles the given bit for the given key in the styles of the
specified cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyles(java.lang.String, java.lang.String)">setCellStyles</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the key to value in the styles of the selection cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCellStyles(java.lang.String, java.lang.String, java.lang.Object[])">setCellStyles</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the key to value in the styles of the given cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setChangesRepaintThreshold(int)">setChangesRepaintThreshold</a></strong>(int&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCloneInvalidEdges(boolean)">setCloneInvalidEdges</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets cloneInvalidEdge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setCollapseToPreferredSize(boolean)">setCollapseToPreferredSize</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setConnectableEdges(boolean)">setConnectableEdges</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets connetableEdges.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setConnectionConstraint(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">setConnectionConstraint</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</code>
<div class="block">Sets the connection constraint that describes the given connection point.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setConstrainChildren(boolean)">setConstrainChildren</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setDefaultLoopStyle(com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction)">setDefaultLoopStyle</a></strong>(<a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a>&nbsp;value)</code>
<div class="block">Sets the default style used for loops.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setDefaultOverlap(double)">setDefaultOverlap</a></strong>(double&nbsp;value)</code>
<div class="block">Sets defaultOverlap.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setDefaultParent(java.lang.Object)">setDefaultParent</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the default parent to be returned by getDefaultParent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setDisconnectOnMove(boolean)">setDisconnectOnMove</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets disconnectOnMove.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setDropEnabled(boolean)">setDropEnabled</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets dropEnabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setEdgeLabelsMovable(boolean)">setEdgeLabelsMovable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Returns edgeLabelsMovable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setEnabled(boolean)">setEnabled</a></strong>(boolean&nbsp;value)</code>
<div class="block">Specifies if the graph should allow any interactions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setExtendParents(boolean)">setExtendParents</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets extendParents.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setExtendParentsOnAdd(boolean)">setExtendParentsOnAdd</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets extendParentsOnAdd.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setGridEnabled(boolean)">setGridEnabled</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets if the grid is enabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setGridSize(int)">setGridSize</a></strong>(int&nbsp;value)</code>
<div class="block">Sets the grid size and fires a property change event for gridSize.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setHtmlLabels(boolean)">setHtmlLabels</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setKeepEdgesInBackground(boolean)">setKeepEdgesInBackground</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setKeepEdgesInForeground(boolean)">setKeepEdgesInForeground</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setLabelsClipped(boolean)">setLabelsClipped</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets labelsClipped.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setLabelsVisible(boolean)">setLabelsVisible</a></strong>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setMaximumGraphBounds(com.mxgraph.util.mxRectangle)">setMaximumGraphBounds</a></strong>(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setMinimumGraphSize(com.mxgraph.util.mxRectangle)">setMinimumGraphSize</a></strong>(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setModel(com.mxgraph.model.mxIGraphModel)">setModel</a></strong>(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;value)</code>
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setMultigraph(boolean)">setMultigraph</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets multigraph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setMultiplicities(com.mxgraph.view.mxMultiplicity[])">setMultiplicities</a></strong>(<a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[]&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setOrigin(com.mxgraph.util.mxPoint)">setOrigin</a></strong>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setPortsEnabled(boolean)">setPortsEnabled</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets if ports are enabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnConnect(boolean)">setResetEdgesOnConnect</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets resetEdgesOnConnect.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnMove(boolean)">setResetEdgesOnMove</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets resetEdgesOnMove.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnResize(boolean)">setResetEdgesOnResize</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets resetEdgesOnResize.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setResetViewOnRootChange(boolean)">setResetViewOnRootChange</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets resetEdgesOnResize.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setSelectionCell(java.lang.Object)">setSelectionCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setSelectionCells(java.util.Collection)">setSelectionCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;cells)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setSelectionCells(java.lang.Object[])">setSelectionCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setSplitEnabled(boolean)">setSplitEnabled</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets splitEnabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setStylesheet(com.mxgraph.view.mxStylesheet)">setStylesheet</a></strong>(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;value)</code>
<div class="block">Sets the stylesheet that provides the style.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setSwimlaneNesting(boolean)">setSwimlaneNesting</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets swimlaneNesting.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setVertexLabelsMovable(boolean)">setVertexLabelsMovable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets vertexLabelsMovable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#setView(com.mxgraph.view.mxGraphView)">setView</a></strong>(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;value)</code>
<div class="block">Sets the view that contains the cell states.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#snap(double)">snap</a></strong>(double&nbsp;value)</code>
<div class="block">Snaps the given numeric value to the grid if <gridEnabled> is true.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#splitEdge(java.lang.Object, java.lang.Object[])">splitEdge</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#splitEdge(java.lang.Object, java.lang.Object[], double, double)">splitEdge</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#splitEdge(java.lang.Object, java.lang.Object[], java.lang.Object, double, double)">splitEdge</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;newEdge,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy)</code>
<div class="block">Splits the given edge by adding a newEdge between the previous source
2012-05-21 20:32:26 +00:00
and the given cell and reconnecting the source of the given edge to the
2014-04-01 11:30:48 +00:00
given cell.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#swapBounds(java.lang.Object, boolean)">swapBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;willCollapse)</code>
<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 class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean)">toggleCells</a></strong>(boolean&nbsp;show)</code>
<div class="block">Sets the visible state of the selection cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean, java.lang.Object[])">toggleCells</a></strong>(boolean&nbsp;show,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the specified cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean, java.lang.Object[], boolean)">toggleCells</a></strong>(boolean&nbsp;show,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges)</code>
<div class="block">Sets the visible state of the specified cells and all connected edges
if includeEdges is true.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyle(java.lang.String, boolean, java.lang.Object)">toggleCellStyle</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2014-04-01 11:30:48 +00:00
boolean&nbsp;defaultValue,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the boolean value for the given key in the style of the
given cell.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyleFlags(java.lang.String, int)">toggleCellStyleFlags</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2014-04-01 11:30:48 +00:00
int&nbsp;flag)</code>
<div class="block">Toggles the given bit for the given key in the styles of the selection
cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyleFlags(java.lang.String, int, java.lang.Object[])">toggleCellStyleFlags</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2014-04-01 11:30:48 +00:00
int&nbsp;flag,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the given bit for the given key in the styles of the specified
cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyles(java.lang.String, boolean)">toggleCellStyles</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2014-04-01 11:30:48 +00:00
boolean&nbsp;defaultValue)</code>
<div class="block">Toggles the boolean value for the given key in the style of the
selection cells.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCellStyles(java.lang.String, boolean, java.lang.Object[])">toggleCellStyles</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
2012-05-21 20:32:26 +00:00
boolean&nbsp;defaultValue,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the boolean value for the given key in the style of the given
cells.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#translateCell(java.lang.Object, double, double)">translateCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy)</code>
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#traverse(java.lang.Object, boolean, com.mxgraph.view.mxGraph.mxICellVisitor)">traverse</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;vertex,
2014-04-01 11:30:48 +00:00
boolean&nbsp;directed,
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a>&nbsp;visitor)</code>
<div class="block">Traverses the tree starting at the given vertex.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#traverse(java.lang.Object, boolean, com.mxgraph.view.mxGraph.mxICellVisitor, java.lang.Object, java.util.Set)">traverse</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;vertex,
2014-04-01 11:30:48 +00:00
boolean&nbsp;directed,
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a>&nbsp;visitor,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;visited)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Traverses the (directed) graph invoking the given function for each
visited vertex and edge.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#ungroupCells()">ungroupCells</a></strong>()</code>
<div class="block">Ungroups the selection cells.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#ungroupCells(java.lang.Object[])">ungroupCells</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
2014-11-28 08:55:09 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateAlternateBounds(java.lang.Object, com.mxgraph.model.mxGeometry, boolean)">updateAlternateBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geo,
boolean&nbsp;willCollapse)</code>
<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 class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateCellSize(java.lang.Object)">updateCellSize</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the size of the given cell in the model using
getPreferredSizeForCell to get the new size.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateCellSize(java.lang.Object, boolean)">updateCellSize</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;ignoreChildren)</code>
<div class="block">Updates the size of the given cell in the model using
getPreferredSizeForCell to get the new size.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
2014-04-01 11:30:48 +00:00
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds()">updateGroupBounds</a></strong>()</code>
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds(java.lang.Object[])">updateGroupBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds(java.lang.Object[], int)">updateGroupBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
int&nbsp;border)</code>
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
</td>
</tr>
<tr class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds(java.lang.Object[], int, boolean)">updateGroupBounds</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
int&nbsp;border,
boolean&nbsp;moveParent)</code>
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#updateOrigin()">updateOrigin</a></strong>()</code>
<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 class="altColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#validateCell(java.lang.Object, java.util.Hashtable)">validateCell</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;context)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Hook method for subclassers to return an error message for the given
cell and validation context.</div>
</td>
</tr>
<tr class="rowColor">
2014-11-28 08:55:09 +00:00
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#validateEdge(java.lang.Object, java.lang.Object, java.lang.Object)">validateEdge</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</code>
2014-04-01 11:30:48 +00:00
<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&nbsp;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>
2014-11-28 08:55:09 +00:00
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VERSION</h4>
2014-11-28 08:55:09 +00:00
<pre>public static final&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> VERSION</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the version number of this release. Current version
2015-06-23 07:48:06 +00:00
is 3.3.1.1.</div>
2014-04-01 11:30:48 +00:00
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeSupport.html?is-external=true" title="class or interface in java.beans">PropertyChangeSupport</a> changeSupport</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;<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&nbsp;<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&nbsp;<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&nbsp;<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&nbsp;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&nbsp;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&nbsp;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&nbsp;double defaultOverlap</pre>
<div class="block">Value returned by getOverlap if isAllowOverlapParent returns
2012-05-21 20:32:26 +00:00
true for the given cell. getOverlap is used in keepInside if
isKeepInsideParentOnMove returns true. The value specifies the
2014-04-01 11:30:48 +00:00
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>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultParent</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> alternateEdgeStyle</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;<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
2012-05-21 20:32:26 +00:00
diagram should be placed. Uses in getMaximumGraphBounds. Use a width
2014-04-01 11:30:48 +00:00
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&nbsp;<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&nbsp;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&nbsp;boolean keepEdgesInForeground</pre>
<div class="block">Specifies if edges should appear in the foreground regardless of their
2012-05-21 20:32:26 +00:00
order in the model. This has precendence over keepEdgeInBackground
2014-04-01 11:30:48 +00:00
Default is false.</div>
</li>
</ul>
<a name="keepEdgesInBackground">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keepEdgesInBackground</h4>
<pre>protected&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;<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&nbsp;<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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;int changesRepaintThreshold</pre>
<div class="block">Specifies the maximum number of changes that should be processed to find
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
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&nbsp;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&nbsp;<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>
2014-11-28 08:55:09 +00:00
<pre>protected static&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&gt; imageBundles</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;<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&nbsp;<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&nbsp;<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>
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="mxGraph()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxGraph</h4>
<pre>public&nbsp;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&nbsp;mxGraph(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;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="strong">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&nbsp;mxGraph(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;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="strong">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&nbsp;mxGraph(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;model,
<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;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="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the graph data</dd></dl>
</li>
</ul>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createSelectionModel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSelectionModel</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a>&nbsp;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&nbsp;<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;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&nbsp;<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;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&nbsp;<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;getModel()</pre>
<div class="block">Returns the graph model that contains the graph data.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setModel(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;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="strong">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&nbsp;<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;getView()</pre>
<div class="block">Returns the view that contains the cell states.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setView(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;value)</pre>
<div class="block">Sets the view that contains the cell states.</div>
<dl><dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;getStylesheet()</pre>
<div class="block">Returns the stylesheet that provides the style.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setStylesheet(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a>&nbsp;value)</pre>
<div class="block">Sets the stylesheet that provides the style.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Stylesheet that provides the style.</dd></dl>
</li>
</ul>
<a name="getSelectionCellsForChanges(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelectionCellsForChanges</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getSelectionCellsForChanges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes)</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;graphModelChanged(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a>&nbsp;sender,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes)</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;void&nbsp;updateOrigin()</pre>
<div class="block">Extends the canvas by doing another validation with a shifted
2012-05-21 20:32:26 +00:00
global translation if the bounds of the graph are below (0,0).
The first validation is required to compute the bounds of the graph
2014-04-01 11:30:48 +00:00
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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getRemovedCellsForChanges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;processChanges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&gt;&nbsp;changes,
2014-04-01 11:30:48 +00:00
boolean&nbsp;invalidate,
boolean&nbsp;ignoreDirty)</pre>
<div class="block">Processes the changes and returns the minimal rectangle to be
2012-05-21 20:32:26 +00:00
repainted in the buffer. A return value of null means no repaint
2014-04-01 11:30:48 +00:00
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&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;processChange(<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>&nbsp;change,
boolean&nbsp;invalidate,
boolean&nbsp;ignoreDirty)</pre>
<div class="block">Processes the given change and invalidates the respective cached data
2012-05-21 20:32:26 +00:00
in <view>. This fires a <root> event if the root has changed in the
2014-04-01 11:30:48 +00:00
model.</div>
</li>
</ul>
<a name="removeStateForCell(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStateForCell</h4>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;void&nbsp;removeStateForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;getCellStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns an array of key, value pairs representing the cell style for the
2012-05-21 20:32:26 +00:00
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>,
2014-04-01 11:30:48 +00:00
if not style can be found.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose style should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;postProcessCellStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Tries to resolve the value for the image style in the image bundles and
2012-05-21 20:32:26 +00:00
turns short data URIs as defined in mxImageBundle to data URIs as
2014-04-01 11:30:48 +00:00
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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;setCellStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the style of the selection cells to the given value.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>setCellStyle</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;setCellStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;toggleCellStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
boolean&nbsp;defaultValue,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the boolean value for the given key in the style of the
2012-05-21 20:32:26 +00:00
given cell. If no cell is specified then the selection cell is
2014-04-01 11:30:48 +00:00
used.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCellStyles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
boolean&nbsp;defaultValue)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the boolean value for the given key in the style of the
selection cells.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>toggleCellStyles</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCellStyles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
boolean&nbsp;defaultValue,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the boolean value for the given key in the style of the given
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
other style with a boolean value.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;setCellStyles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the key to value in the styles of the selection cells.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>setCellStyles</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;setCellStyles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the key to value in the styles of the given cells. This will modify
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
removed from the styles.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCellStyleFlags(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
int&nbsp;flag)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the given bit for the given key in the styles of the selection
cells.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>toggleCellStyleFlags</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCellStyleFlags(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
int&nbsp;flag,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Toggles the given bit for the given key in the styles of the specified
cells.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;setCellStyleFlags(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
int&nbsp;flag,
boolean&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>setCellStyleFlags</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;setCellStyleFlags(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
int&nbsp;flag,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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&nbsp;void&nbsp;addImageBundle(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&nbsp;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&nbsp;void&nbsp;removeImageBundle(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getImageFromBundles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&gt;&nbsp;getImageBundles()</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;getImageBundles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>&gt;&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;alignCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;align)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Aligns the selection cells vertically or horizontally according to the
given alignment.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>alignCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;alignCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;align,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Aligns the given cells vertically or horizontally according to the given
alignment.</div>
<dl><dt><span class="strong">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[], java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>alignCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;alignCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;align,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;param)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;flipEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Called when the main control point of the edge is double-clicked. This
2012-05-21 20:32:26 +00:00
implementation switches between null (default) and alternateEdgeStyle
and resets the edges control points. Finally, a flip event is fired
2014-04-01 11:30:48 +00:00
before endUpdate is called on the model.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that represents the edge to be flipped.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;orderCells(boolean&nbsp;back)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Moves the selection cells to the front or back. This is a shortcut method.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>orderCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;orderCells(boolean&nbsp;back,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Moves the given cells to the front or back. The change is carried out
2012-05-21 20:32:26 +00:00
using cellsOrdered. This method fires mxEvent.ORDER_CELLS while the
2014-04-01 11:30:48 +00:00
transaction is in progress.</div>
<dl><dt><span class="strong">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[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsOrdered</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsOrdered(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;groupCells()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Groups the selection cells. This is a shortcut method.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;groupCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Groups the selection cells and adds them to the given group. This is a
shortcut method.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;groupCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group,
double&nbsp;border)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Groups the selection cells and adds them to the given group. This is a
shortcut method.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the new group.</dd></dl>
</li>
</ul>
<a name="groupCells(java.lang.Object, double, java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;groupCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group,
double&nbsp;border,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells into the given group. The change is carried out using
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
given array of cells.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>getCellsForGroup</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getCellsForGroup(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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[], double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoundsForGroup</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundsForGroup(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;group,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;children,
2014-04-01 11:30:48 +00:00
double&nbsp;border)</pre>
<div class="block">Returns the bounds to be used for the given group and children. This
2012-05-21 20:32:26 +00:00
implementation computes the bounding box of the geometries of all
vertices in the given children array. Edges are ignored. If the group
2014-04-01 11:30:48 +00:00
cell is a swimlane the title region is added to the bounds.</div>
</li>
</ul>
<a name="createGroupCell(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createGroupCell</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;createGroupCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Hook for creating the group cell to hold the given array of <mxCells> if
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
coordinates of which are later overridden.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - </dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;ungroupCells()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Ungroups the selection cells. This is a shortcut method.</div>
</li>
</ul>
<a name="ungroupCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ungroupCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;ungroupCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;removeCellsFromParent()</pre>
2014-04-01 11:30:48 +00:00
<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>
<ul class="blockList">
<li class="blockList">
<h4>removeCellsFromParent</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;removeCellsFromParent(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the specified cells from their parents and adds them to the
default parent.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - Array of cells to be removed from their parents.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;updateGroupBounds()</pre>
2014-04-01 11:30:48 +00:00
<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>
<ul class="blockList">
<li class="blockList">
<h4>updateGroupBounds</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;updateGroupBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - The groups whose bounds should be updated.</dd></dl>
</li>
</ul>
<a name="updateGroupBounds(java.lang.Object[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateGroupBounds</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;updateGroupBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
int&nbsp;border)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
<dl><dt><span class="strong">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[], int, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateGroupBounds</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;updateGroupBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
int&nbsp;border,
boolean&nbsp;moveParent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the bounds of the given array of groups so that it includes
all child vertices.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>cloneCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cloneCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Clones all cells in the given array. To clone all children in a cell and
2012-05-21 20:32:26 +00:00
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()));
2014-04-01 11:30:48 +00:00
</code></div>
</li>
</ul>
<a name="cloneCells(java.lang.Object[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cloneCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cloneCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
boolean&nbsp;allowInvalidEdges)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the clones for the given cells. If the terminal of an edge is
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
clone the cells where isCellCloneable returns true.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - Array of mxCells to be cloned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;insertVertex(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;insertVertex(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds a new vertex into the given parent using value as the user object
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;insertVertex(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style,
boolean&nbsp;relative)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds a new vertex into the given parent using value as the user object
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;createVertex(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;createVertex(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
double&nbsp;x,
double&nbsp;y,
double&nbsp;width,
double&nbsp;height,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style,
boolean&nbsp;relative)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;insertEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;insertEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds a new edge into the given parent using value as the user object and
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;createEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;style)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Hook method that creates the new edge for insertEdge. This
2012-05-21 20:32:26 +00:00
implementation does not set the source and target of the edge, these
2014-04-01 11:30:48 +00:00
are set when the edge is added to the model.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;addEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;addCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cell to the default parent. This is a shortcut method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell to be inserted.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;addCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cell to the parent. This is a shortcut method.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;addCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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="strong">Returns:</span></dt><dd>Returns the cell that was added.</dd></dl>
</li>
</ul>
<a name="addCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;addCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the default parent. This is a shortcut method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - Array of cells to be inserted.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the cells that were added.</dd></dl>
</li>
</ul>
<a name="addCells(java.lang.Object[], java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;addCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the parent. This is a shortcut method.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>Returns the cells that were added.</dd></dl>
</li>
</ul>
<a name="addCells(java.lang.Object[], java.lang.Object, java.lang.Integer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;addCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the parent at the given index. This is a shortcut method.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>Returns the cells that were added.</dd></dl>
</li>
</ul>
<a name="addCells(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;addCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Adds the cells to the parent at the given index, connecting each cell to
2012-05-21 20:32:26 +00:00
the optional source and target terminal. The change is carried out using
cellsAdded. This method fires mxEvent.ADD_CELLS while the transaction
2014-04-01 11:30:48 +00:00
is in progress.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>Returns the cells that were added.</dd></dl>
</li>
</ul>
<a name="cellsAdded(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsAdded</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsAdded(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsAdded</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsAdded(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;index,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
2014-04-01 11:30:48 +00:00
boolean&nbsp;absolute,
boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;removeCells()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the selection cells from the graph.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the cells that have been removed.</dd></dl>
</li>
</ul>
<a name="removeCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;removeCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the given cells from the graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - Array of cells to remove.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the cells that have been removed.</dd></dl>
</li>
</ul>
<a name="removeCells(java.lang.Object[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;removeCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
boolean&nbsp;includeEdges)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Removes the given cells from the graph including all connected edges if
2012-05-21 20:32:26 +00:00
includeEdges is true. The change is carried out using cellsRemoved. This
2014-04-01 11:30:48 +00:00
method fires mxEvent.REMOVE_CELLS while the transaction is in progress.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>cellsRemoved</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsRemoved(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>splitEdge</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;splitEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="splitEdge(java.lang.Object, java.lang.Object[], double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitEdge</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;splitEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
double&nbsp;dx,
double&nbsp;dy)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="splitEdge(java.lang.Object, java.lang.Object[], java.lang.Object, double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>splitEdge</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;splitEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;newEdge,
double&nbsp;dx,
double&nbsp;dy)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Splits the given edge by adding a newEdge between the previous source
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
progress.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCells(boolean&nbsp;show)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the selection cells. This is a shortcut
method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>show</code> - Boolean that specifies the visible state to be assigned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the cells whose visible state was changed.</dd></dl>
</li>
</ul>
<a name="toggleCells(boolean, java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toggleCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCells(boolean&nbsp;show,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the specified cells. This is a shortcut
method.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>Returns the cells whose visible state was changed.</dd></dl>
</li>
</ul>
<a name="toggleCells(boolean, java.lang.Object[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toggleCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;toggleCells(boolean&nbsp;show,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
boolean&nbsp;includeEdges)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the visible state of the specified cells and all connected edges
2012-05-21 20:32:26 +00:00
if includeEdges is true. The change is carried out using cellsToggled.
This method fires mxEvent.TOGGLE_CELLS while the transaction is in
2014-04-01 11:30:48 +00:00
progress.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>Returns the cells whose visible state was changed.</dd></dl>
</li>
</ul>
<a name="cellsToggled(java.lang.Object[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsToggled</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsToggled(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;show)</pre>
<div class="block">Sets the visible state of the specified cells.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;foldCells(boolean&nbsp;collapse)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the collapsed state of the selection cells without recursion.
This is a shortcut method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>collapse</code> - Boolean that specifies the collapsed state to be
assigned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;foldCells(boolean&nbsp;collapse,
boolean&nbsp;recurse)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the collapsed state of the selection cells. This is a shortcut
method.</div>
<dl><dt><span class="strong">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="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>foldCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;foldCells(boolean&nbsp;collapse,
boolean&nbsp;recurse,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Invokes foldCells with checkFoldable set to false.</div>
</li>
</ul>
<a name="foldCells(boolean, boolean, java.lang.Object[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>foldCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;foldCells(boolean&nbsp;collapse,
boolean&nbsp;recurse,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
boolean&nbsp;checkFoldable)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the collapsed state of the specified cells and all descendants
2012-05-21 20:32:26 +00:00
if recurse is true. The change is carried out using cellsFolded.
This method fires mxEvent.FOLD_CELLS while the transaction is in
2014-04-01 11:30:48 +00:00
progress. Returns the cells whose collapsed state was changed.</div>
<dl><dt><span class="strong">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[], boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsFolded</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsFolded(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse,
boolean&nbsp;recurse)</pre>
<div class="block">Invokes cellsFoldable with checkFoldable set to false.</div>
</li>
</ul>
<a name="cellsFolded(java.lang.Object[], boolean, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsFolded</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsFolded(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse,
boolean&nbsp;recurse,
boolean&nbsp;checkFoldable)</pre>
<div class="block">Sets the collapsed state of the specified cells. This method fires
2012-05-21 20:32:26 +00:00
mxEvent.CELLS_FOLDED while the transaction is in progress. Returns the
2014-04-01 11:30:48 +00:00
cells whose collapsed state was changed.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;swapBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;updateAlternateBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;geo,
boolean&nbsp;willCollapse)</pre>
<div class="block">Updates or sets the alternate bounds in the given geometry for the given
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
location.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>addAllEdges</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;addAllEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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>
<ul class="blockList">
<li class="blockList">
<h4>getAllEdges</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getAllEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;updateCellSize(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the size of the given cell in the model using
2012-05-21 20:32:26 +00:00
getPreferredSizeForCell to get the new size. This function
2014-04-01 11:30:48 +00:00
fires beforeUpdateSize and afterUpdateSize events.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;updateCellSize(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
boolean&nbsp;ignoreChildren)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Updates the size of the given cell in the model using
2012-05-21 20:32:26 +00:00
getPreferredSizeForCell to get the new size. This function
2014-04-01 11:30:48 +00:00
fires mxEvent.UPDATE_CELL_SIZE.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellSizeUpdated(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getPreferredSizeForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the preferred width and height of the given <mxCell> as an
<mxRectangle>.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;resizeCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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[], com.mxgraph.util.mxRectangle[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resizeCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;resizeCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[]&nbsp;bounds)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS
2012-05-21 20:32:26 +00:00
event. while the transaction is in progress. Returns the cells which
2014-04-01 11:30:48 +00:00
have been passed to the function.</div>
<dl><dt><span class="strong">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[], com.mxgraph.util.mxRectangle[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsResized</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsResized(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[]&nbsp;bounds)</pre>
<div class="block">Sets the bounds of the given cells and fires a <mxEvent.CELLS_RESIZED>
2012-05-21 20:32:26 +00:00
event. If extendParents is true, then the parent is extended if a child
2014-04-01 11:30:48 +00:00
size is changed so that it overlaps with the parent.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;extendParent(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Resizes the parents recursively so that they contain the complete area
of the resized child cell.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> that has been resized.</dd></dl>
</li>
</ul>
<a name="moveCells(java.lang.Object[], double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;moveCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
double&nbsp;dx,
double&nbsp;dy)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Moves the cells by the given amount. This is a shortcut method.</div>
</li>
</ul>
<a name="moveCells(java.lang.Object[], double, double, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;moveCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
double&nbsp;dx,
double&nbsp;dy,
boolean&nbsp;clone)</pre>
2014-04-01 11:30:48 +00:00
<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[], double, double, boolean, java.lang.Object, java.awt.Point)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;moveCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
double&nbsp;dx,
double&nbsp;dy,
boolean&nbsp;clone,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</a>&nbsp;location)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Moves or clones the specified cells and moves the cells or clones by the
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
while the transaction is in progress.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>Returns the cells that were moved.</dd></dl>
</li>
</ul>
<a name="cellsMoved(java.lang.Object[], double, double, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cellsMoved</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellsMoved(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy,
boolean&nbsp;disconnect,
boolean&nbsp;constrain)</pre>
<div class="block">Moves the specified cells by the given vector, disconnecting the cells
2012-05-21 20:32:26 +00:00
using disconnectGraph if disconnect is true. This method fires
2014-04-01 11:30:48 +00:00
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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;translateCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getCellContainmentArea(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getMaximumGraphBounds()</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setMaximumGraphBounds(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;value)</pre>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;constrainChild(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Keeps the given cell inside the bounds returned by
2012-05-21 20:32:26 +00:00
getCellContainmentArea for its parent, according to the rules defined by
getOverlap and isConstrainChild. This modifies the cell's geometry
2014-04-01 11:30:48 +00:00
in-place and does not clone it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell which should be constrained.</dd></dl>
</li>
</ul>
<a name="resetEdges(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetEdges</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;resetEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;resetEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge)</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>[]&nbsp;getAllConnectionConstraints(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;terminal,
boolean&nbsp;source)</pre>
<div class="block">Returns an array of all constraints for the given terminal.</div>
<dl><dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;getConnectionConstraint(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;edge,
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;terminal,
boolean&nbsp;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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setConnectionConstraint(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</pre>
<div class="block">Sets the connection constraint that describes the given connection point.
2012-05-21 20:32:26 +00:00
If no constraint is given then nothing is changed. To remove an existing
2014-04-01 11:30:48 +00:00
constraint from the given edge, use an empty constraint instead.</div>
<dl><dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getConnectionPoint(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;vertex,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</pre>
<div class="block">Sets the connection constraint that describes the given connection point.
2012-05-21 20:32:26 +00:00
If no constraint is given then nothing is changed. To remove an existing
2014-04-01 11:30:48 +00:00
constraint from the given edge, use an empty constraint instead.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;connectCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
boolean&nbsp;source)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Connects the specified end of the given edge to the given terminal
2012-05-21 20:32:26 +00:00
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
2014-04-01 11:30:48 +00:00
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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;connectCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
boolean&nbsp;source,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Connects the specified end of the given edge to the given terminal
2012-05-21 20:32:26 +00:00
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
2014-04-01 11:30:48 +00:00
is in progress.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellConnected(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source,
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>&nbsp;constraint)</pre>
<div class="block">Sets the new terminal for the given edge and resets the edge points if
2012-05-21 20:32:26 +00:00
isResetEdgesOnConnect returns true. This method fires
2014-04-01 11:30:48 +00:00
<mxEvent.CELL_CONNECTED> while the transaction is in progress.</div>
<dl><dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>disconnectGraph</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;disconnectGraph(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Disconnects the given edges from the terminals which are not in the
given array.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getCurrentRoot()</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getTranslateForRoot(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the root of the view.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isPort(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a "port", that is, when connecting to
2012-05-21 20:32:26 +00:00
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;
}
2014-04-01 11:30:48 +00:00
</code></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the port.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getTerminalForPort(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
boolean&nbsp;source)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;getChildOffsetForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the offset to be used for the cells inside the given cell. The
2012-05-21 20:32:26 +00:00
root and layer cells may be identified using mxGraphModel.isRoot and
2014-04-01 11:30:48 +00:00
mxGraphModel.isLayer. This implementation returns null.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose offset should be returned.</dd>
<dt><span class="strong">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&nbsp;void&nbsp;enterGroup()</pre>
</li>
</ul>
<a name="enterGroup(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enterGroup</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;enterGroup(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Uses the given cell as the root of the displayed cell hierarchy. If no
2012-05-21 20:32:26 +00:00
cell is specified then the selection cell is used. The cell is only used
2014-04-01 11:30:48 +00:00
if <isValidRoot> returns true.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;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&nbsp;void&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isValidRoot(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> which should be checked as a possible root.</dd>
<dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;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>
<ul class="blockList">
<li class="blockList">
<h4>getBoundingBoxFromGeometry</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundingBoxFromGeometry(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundingBox(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundingBox(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundingBox(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;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>
<ul class="blockList">
<li class="blockList">
<h4>getPaintBounds</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getPaintBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the bounding box of the given cells and their descendants.</div>
</li>
</ul>
<a name="getBoundsForCells(java.lang.Object[], boolean, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoundsForCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getBoundsForCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;includeDescendants,
boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;includeEdges,
boolean&nbsp;includeDescendants,
boolean&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;repaint(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;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&nbsp;double&nbsp;snap(double&nbsp;value)</pre>
<div class="block">Snaps the given numeric value to the grid if <gridEnabled> is true.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Numeric value to be snapped to the grid.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a>&nbsp;getCellGeometry(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the geometry for the given cell.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose geometry should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellVisible(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is visible in this graph. This
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
graph should be revalidated after the filter expression has changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose visible state should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellCollapsed(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is collapsed in this graph. This
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
graph should be revalidated after the filter expression has changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose collapsed state should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellConnectable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is connectable in this graph. This
2012-05-21 20:32:26 +00:00
implementation uses <mxGraphModel.isConnectable>. Subclassers can override
this to implement specific connectable states for cells in only one graph,
2014-04-01 11:30:48 +00:00
that is, without affecting the connectable state of the cell in the model.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose connectable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;isOrthogonal(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;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="strong">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&nbsp;boolean&nbsp;isLoop(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state)</pre>
<div class="block">Returns true if the given cell state is a loop.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>state</code> - <mxCellState> that represents a potential loop.</dd>
<dt><span class="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>setMultiplicities</h4>
<pre>public&nbsp;void&nbsp;setMultiplicities(<a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[]&nbsp;value)</pre>
</li>
</ul>
<a name="getMultiplicities()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMultiplicities</h4>
<pre>public&nbsp;<a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[]&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isEdgeValid(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Checks if the return value of getEdgeValidationError for the given
arguments is null.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getEdgeValidationError(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the validation error message to be displayed when inserting or
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
errors.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;validateEdge(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getCellValidationError(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Checks all multiplicities that cannot be enforced while the graph is
2012-05-21 20:32:26 +00:00
being modified, namely, all multiplicities that require a minimum of
2014-04-01 11:30:48 +00:00
1 edge.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;validateCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;context)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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&nbsp;boolean&nbsp;isLabelsVisible()</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setLabelsVisible(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setHtmlLabels(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;isHtmlLabels()</pre>
</li>
</ul>
<a name="convertValueToString(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertValueToString</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;convertValueToString(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the textual representation for the given cell.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell to be converted to a string.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLabel(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a string or DOM node that represents the label for the given
2012-05-21 20:32:26 +00:00
cell. This implementation uses <convertValueToString> if <labelsVisible>
2014-04-01 11:30:48 +00:00
is true. Otherwise it returns an empty string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> whose label should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;cellLabelChanged(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
2014-04-01 11:30:48 +00:00
boolean&nbsp;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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isHtmlLabel(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the label must be rendered as HTML markup. The default
implementation returns <htmlLabels>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> whose label should be displayed as HTML markup.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getToolTipForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getStartSize(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;swimlane)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the start size of the given swimlane, that is, the width or
2012-05-21 20:32:26 +00:00
height of the part that contains the title, depending on the
horizontal style. The return value is an <mxRectangle> with either
2014-04-01 11:30:48 +00:00
width or height set as appropriate.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>swimlane</code> - <mxCell> whose start size should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getImage(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the image URL for the given cell state. This implementation
2012-05-21 20:32:26 +00:00
returns the value stored under <mxConstants.STYLE_IMAGE> in the cell
2014-04-01 11:30:48 +00:00
style.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>state</code> - </dd>
<dt><span class="strong">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&nbsp;int&nbsp;getBorder()</pre>
<div class="block">Returns the value of <border>.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setBorder(int&nbsp;value)</pre>
<div class="block">Sets the value of <border>.</div>
<dl><dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a>&nbsp;getDefaultLoopStyle()</pre>
<div class="block">Returns the default edge style used for loops.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setDefaultLoopStyle(<a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a>&nbsp;value)</pre>
<div class="block">Sets the default style used for loops.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isSwimlane(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a swimlane. This implementation always
returns false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that should be checked.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellLocked(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell may not be moved, sized, bended,
2012-05-21 20:32:26 +00:00
disconnected, edited or selected. This implementation returns true for
2014-04-01 11:30:48 +00:00
all vertices with a relative geometry if cellsLocked is false.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose locked state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsLocked(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellEditable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is movable. This implementation returns editable.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose editable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;isCellsEditable()</pre>
<div class="block">Returns true if editing is allowed in this graph.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setCellsEditable(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellResizable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is resizable. This implementation returns
cellsSizable for all cells.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose resizable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsResizable(boolean&nbsp;value)</pre>
<div class="block">Sets if the graph is resizable.</div>
</li>
</ul>
<a name="getMovableCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMovableCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getMovableCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellMovable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is movable. This implementation
returns movable.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose movable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsMovable(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isTerminalPointMovable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source)</pre>
<div class="block">Function: isTerminalPointMovable
2012-05-21 20:32:26 +00:00
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.
2014-04-01 11:30:48 +00:00
This implementation returns true.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellBendable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is bendable. This implementation returns
2012-05-21 20:32:26 +00:00
bendable. This is used in mxElbowEdgeHandler to determine if the middle
2014-04-01 11:30:48 +00:00
handle should be shown.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose bendable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsBendable(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellSelectable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is selectable. This implementation returns
<selectable>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> whose selectable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsSelectable(boolean&nbsp;value)</pre>
<div class="block">Sets cellsSelectable.</div>
</li>
</ul>
<a name="getDeletableCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeletableCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getDeletableCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellDeletable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is movable. This implementation always
returns true.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose movable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsDeletable(boolean&nbsp;value)</pre>
<div class="block">Sets cellsDeletable.</div>
</li>
</ul>
<a name="getCloneableCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCloneableCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getCloneableCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellCloneable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the constant true. This does not use the cloneable field to
2012-05-21 20:32:26 +00:00
return a value for a given cell, it is simply a hook for subclassers
2014-04-01 11:30:48 +00:00
to disallow cloning of individual cells.</div>
</li>
</ul>
<a name="isCellsCloneable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCellsCloneable</h4>
<pre>public&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsCloneable(boolean&nbsp;value)</pre>
<div class="block">Specifies if the graph should allow cloning of cells by holding down the
2012-05-21 20:32:26 +00:00
control key while cells are being moved. This implementation updates
2014-04-01 11:30:48 +00:00
cellsCloneable.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellDisconnectable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
2014-04-01 11:30:48 +00:00
boolean&nbsp;source)</pre>
<div class="block">Returns true if the given cell is disconnectable from the source or
2012-05-21 20:32:26 +00:00
target terminal. This returns <disconnectable> for all given cells if
2014-04-01 11:30:48 +00:00
<isLocked> does not return true for the given cell.</div>
<dl><dt><span class="strong">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="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCellsDisconnectable(boolean&nbsp;value)</pre>
<div class="block">Sets cellsDisconnectable.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isLabelClipped(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the overflow portion of labels should be hidden. If this
2012-05-21 20:32:26 +00:00
returns true then vertex labels will be clipped to the size of the vertices.
This implementation returns true if <mxConstants.STYLE_OVERFLOW> in the
2014-04-01 11:30:48 +00:00
style of the given cell is "hidden".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose label should be clipped.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setLabelsClipped(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isLabelMovable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given edges's label is moveable. This returns
2012-05-21 20:32:26 +00:00
<movable> for all given cells if <isLocked> does not return true
2014-04-01 11:30:48 +00:00
for the given cell.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> whose label should be moved.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setVertexLabelsMovable(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setEdgeLabelsMovable(boolean&nbsp;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&nbsp;boolean&nbsp;isEnabled()</pre>
<div class="block">Returns true if the graph is <enabled>.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setEnabled(boolean&nbsp;value)</pre>
<div class="block">Specifies if the graph should allow any interactions. This
implementation updates <enabled>.</div>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setDropEnabled(boolean&nbsp;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&nbsp;boolean&nbsp;isSplitEnabled()</pre>
<div class="block">Affects the return values of isValidDropTarget to allow for edges as
2012-05-21 20:32:26 +00:00
drop targets. The splitEdge method is called in mxGraphHandler if
2014-04-01 11:30:48 +00:00
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&nbsp;void&nbsp;setSplitEnabled(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setMultigraph(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setSwimlaneNesting(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setAllowDanglingEdges(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setCloneInvalidEdges(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setDisconnectOnMove(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setAllowLoops(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setConnectableEdges(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setResetEdgesOnMove(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setResetViewOnRootChange(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setResetEdgesOnResize(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setResetEdgesOnConnect(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isAutoSizeCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the size of the given cell should automatically be
2012-05-21 20:32:26 +00:00
updated after a change of the label. This implementation returns
autoSize for all given cells or checks if the cell style does specify
2014-04-01 11:30:48 +00:00
mxConstants.STYLE_AUTOSIZE to be 1.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that should be resized.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;isAutoSizeCells()</pre>
<div class="block">Returns true if the size of the given cell should automatically be
2012-05-21 20:32:26 +00:00
updated after a change of the label. This implementation returns
2014-04-01 11:30:48 +00:00
autoSize for all given cells.</div>
</li>
</ul>
<a name="setAutoSizeCells(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoSizeCells</h4>
<pre>public&nbsp;void&nbsp;setAutoSizeCells(boolean&nbsp;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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isExtendParent(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the parent of the given cell should be extended if the
2012-05-21 20:32:26 +00:00
child has been resized so that it overlaps the parent. This
2014-04-01 11:30:48 +00:00
implementation returns ExtendParents if cell is not an edge.</div>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setExtendParents(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setExtendParentsOnAdd(boolean&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isConstrainChild(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell should be kept inside the bounds of its
2012-05-21 20:32:26 +00:00
parent according to the rules defined by getOverlap and
isAllowOverlapParent. This implementation returns false for all children
2014-04-01 11:30:48 +00:00
of edges and isConstrainChildren() otherwise.</div>
</li>
</ul>
<a name="isConstrainChildren()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConstrainChildren</h4>
<pre>public&nbsp;boolean&nbsp;isConstrainChildren()</pre>
<div class="block">Returns constrainChildren.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setConstrainChildren(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setAutoOrigin(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;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&nbsp;void&nbsp;setOrigin(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a>&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;int&nbsp;getChangesRepaintThreshold()</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setChangesRepaintThreshold(int&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;isAllowNegativeCoordinates()</pre>
<div class="block">Returns isAllowNegativeCoordinates.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setAllowNegativeCoordinates(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;isCollapseToPreferredSize()</pre>
<div class="block">Returns collapseToPreferredSize.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setCollapseToPreferredSize(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;isKeepEdgesInForeground()</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setKeepEdgesInForeground(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;isKeepEdgesInBackground()</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setKeepEdgesInBackground(boolean&nbsp;value)</pre>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isValidSource(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a valid source for new connections.
2012-05-21 20:32:26 +00:00
This implementation returns true for all non-null values and is
2014-04-01 11:30:48 +00:00
called by is called by <isValidConnection>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Object that represents a possible source or null.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isValidTarget(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns isValidSource for the given cell. This is called by
isValidConnection.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Object that represents a possible target or null.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isValidConnection(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given target cell is a valid target for source.
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
the source and <isValidTarget> returns true for the target.</div>
<dl><dt><span class="strong">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="strong">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&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;getMinimumGraphSize()</pre>
<div class="block">Returns the minimum size of the diagram.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setMinimumGraphSize(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;value)</pre>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;double&nbsp;getOverlap(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a decimal number representing the amount of the width and height
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
cell, then this method returns 0.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd>
<dt><span class="strong">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&nbsp;double&nbsp;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&nbsp;void&nbsp;setDefaultOverlap(double&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isAllowOverlapParent(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is allowed to be placed outside of the
parents area.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns true if the given cell may overlap its parent.</dd></dl>
</li>
</ul>
<a name="getFoldableCells(java.lang.Object[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFoldableCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getFoldableCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
boolean&nbsp;collapse)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellFoldable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
2014-04-01 11:30:48 +00:00
boolean&nbsp;collapse)</pre>
<div class="block">Returns true if the given cell is expandable. This implementation
2012-05-21 20:32:26 +00:00
returns true if the cell has at least one child and its style
2014-04-01 11:30:48 +00:00
does not specify mxConstants.STYLE_FOLDABLE to be 0.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - <mxCell> whose expandable state should be returned.</dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;isGridEnabled()</pre>
<div class="block">Returns true if the grid is enabled.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setGridEnabled(boolean&nbsp;value)</pre>
<div class="block">Sets if the grid is enabled.</div>
<dl><dt><span class="strong">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&nbsp;boolean&nbsp;isPortsEnabled()</pre>
<div class="block">Returns true if ports are enabled.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setPortsEnabled(boolean&nbsp;value)</pre>
<div class="block">Sets if ports are enabled.</div>
<dl><dt><span class="strong">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&nbsp;int&nbsp;getGridSize()</pre>
<div class="block">Returns the grid size.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;setGridSize(int&nbsp;value)</pre>
<div class="block">Sets the grid size and fires a property change event for gridSize.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAlternateEdgeStyle()</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns alternateEdgeStyle.</div>
</li>
</ul>
<a name="setAlternateEdgeStyle(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAlternateEdgeStyle</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setAlternateEdgeStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets alternateEdgeStyle.</div>
</li>
</ul>
<a name="isValidDropTarget(java.lang.Object, java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidDropTarget</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isValidDropTarget(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given cell is a valid drop target for the specified
2012-05-21 20:32:26 +00:00
cells. This returns true if the cell is a swimlane, has children and is
not collapsed, or if splitEnabled is true and isSplitTarget returns
2014-04-01 11:30:48 +00:00
true for the given arguments</div>
<dl><dt><span class="strong">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="strong">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>
<ul class="blockList">
<li class="blockList">
<h4>isSplitTarget</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isSplitTarget(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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="strong">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[], java.awt.Point, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDropTarget</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getDropTarget(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</a>&nbsp;pt,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the given cell if it is a drop target for the given cells or the
2012-05-21 20:32:26 +00:00
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.
2014-04-01 11:30:48 +00:00
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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getDefaultParent()</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setDefaultParent(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the default parent to be returned by getDefaultParent.
2012-05-21 20:32:26 +00:00
Set this to null to return the first child of the root in
2014-04-01 11:30:48 +00:00
getDefaultParent.</div>
</li>
</ul>
<a name="getChildVertices(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildVertices</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getChildVertices(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible child vertices of the given parent.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getChildEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible child edges of the given parent.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getChildCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible children of the given parent.</div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getChildCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;vertices,
boolean&nbsp;edges)</pre>
2014-04-01 11:30:48 +00:00
<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="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getConnections(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getConnections(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell without loops.
2012-05-21 20:32:26 +00:00
If the optional parent argument is specified, then only child
2014-04-01 11:30:48 +00:00
edges of the given parent are returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getConnections(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;recurse)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell without loops.
2012-05-21 20:32:26 +00:00
If the optional parent argument is specified, then only child
2014-04-01 11:30:48 +00:00
edges of the given parent are returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getIncomingEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all incoming visible edges connected to the given cell without
loops.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose incoming edges should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getIncomingEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible incoming edges for the given cell. If the optional
2012-05-21 20:32:26 +00:00
parent argument is specified, then only child edges of the given parent
2014-04-01 11:30:48 +00:00
are returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getOutgoingEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all outgoing visible edges connected to the given cell without
loops.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose outgoing edges should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getOutgoingEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the visible outgoing edges for the given cell. If the optional
2012-05-21 20:32:26 +00:00
parent argument is specified, then only child edges of the given parent
2014-04-01 11:30:48 +00:00
are returned.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose edges should be returned.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;incoming,
boolean&nbsp;outgoing,
boolean&nbsp;includeLoops)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the incoming and/or outgoing edges for the given cell.
2012-05-21 20:32:26 +00:00
If the optional parent argument is specified, then only edges are returned
2014-04-01 11:30:48 +00:00
where the opposite is in the given parent cell.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;incoming,
boolean&nbsp;outgoing,
boolean&nbsp;includeLoops,
boolean&nbsp;recurse)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the incoming and/or outgoing edges for the given cell.
2012-05-21 20:32:26 +00:00
If the optional parent argument is specified, then only edges are returned
2014-04-01 11:30:48 +00:00
where the opposite is in the given parent cell.</div>
<dl><dt><span class="strong">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
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isValidAncestor(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;recurse)</pre>
<div class="block">Returns whether or not the specified parent is a valid
2012-05-21 20:32:26 +00:00
ancestor of the specified cell, either direct or indirectly
2014-04-01 11:30:48 +00:00
based on whether ancestor recursion is enabled.</div>
<dl><dt><span class="strong">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="strong">Returns:</span></dt><dd>whether or not the specified parent is a valid
2012-05-21 20:32:26 +00:00
ancestor of the specified cell, either direct or indirectly
2014-04-01 11:30:48 +00:00
based on whether ancestor recursion is enabled.</dd></dl>
</li>
</ul>
<a name="getOpposites(java.lang.Object[], java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpposites</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getOpposites(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;edges,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all distinct visible opposite cells of the terminal on the given
edges.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edges</code> - </dd><dd><code>terminal</code> - </dd>
<dt><span class="strong">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[], java.lang.Object, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOpposites</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getOpposites(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;edges,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;terminal,
boolean&nbsp;sources,
boolean&nbsp;targets)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all distincts visible opposite cells for the specified terminal
on the given edges.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getEdgesBetween(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the edges between the given source and target. This takes into
2012-05-21 20:32:26 +00:00
account collapsed and invisible cells and returns the connected edges
2014-04-01 11:30:48 +00:00
as displayed on the screen.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - </dd><dd><code>target</code> - </dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getEdgesBetween(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;source,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;target,
boolean&nbsp;directed)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the edges between the given source and target. This takes into
2012-05-21 20:32:26 +00:00
account collapsed and invisible cells and returns the connected edges
2014-04-01 11:30:48 +00:00
as displayed on the screen.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - </dd><dd><code>target</code> - </dd><dd><code>directed</code> - </dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getCellsBeyond(double&nbsp;x0,
double&nbsp;y0,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;rightHalfpane,
boolean&nbsp;bottomHalfpane)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns the children of the given parent that are contained in the
2012-05-21 20:32:26 +00:00
halfpane from the given point (x0, y0) rightwards and downwards
2014-04-01 11:30:48 +00:00
depending on rightHalfpane and bottomHalfpane.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;findTreeRoots(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible children in the given parent which do not have
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
root due to invisible children or collapsed cells.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parent</code> - Cell whose children should be checked.</dd>
<dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;findTreeRoots(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;isolate)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible children in the given parent which do not have
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
root due to invisible children or collapsed cells.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;findTreeRoots(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent,
boolean&nbsp;isolate,
boolean&nbsp;invert)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible children in the given parent which do not have
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
root due to invisible children or collapsed cells.</div>
<dl><dt><span class="strong">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="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;traverse(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;vertex,
2014-04-01 11:30:48 +00:00
boolean&nbsp;directed,
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a>&nbsp;visitor)</pre>
<div class="block">Traverses the tree starting at the given vertex. Here is how to use this
2012-05-21 20:32:26 +00:00
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;
}
});
2014-04-01 11:30:48 +00:00
</code></div>
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;traverse(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;vertex,
2014-04-01 11:30:48 +00:00
boolean&nbsp;directed,
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a>&nbsp;visitor,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;edge,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;visited)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Traverses the (directed) graph invoking the given function for each
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
traversal should stop at the given vertex.</div>
<dl><dt><span class="strong">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&nbsp;<a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a>&nbsp;getSelectionModel()</pre>
</li>
</ul>
<a name="getSelectionCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelectionCount</h4>
<pre>public&nbsp;int&nbsp;getSelectionCount()</pre>
</li>
</ul>
<a name="isCellSelected(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCellSelected</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;boolean&nbsp;isCellSelected(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd>
<dt><span class="strong">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&nbsp;boolean&nbsp;isSelectionEmpty()</pre>
<dl><dt><span class="strong">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&nbsp;void&nbsp;clearSelection()</pre>
</li>
</ul>
<a name="getSelectionCell()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelectionCell</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getSelectionCell()</pre>
2014-04-01 11:30:48 +00:00
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setSelectionCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd></dl>
</li>
</ul>
<a name="getSelectionCells()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSelectionCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;getSelectionCells()</pre>
2014-04-01 11:30:48 +00:00
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the selection cells.</dd></dl>
</li>
</ul>
<a name="setSelectionCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSelectionCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setSelectionCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="setSelectionCells(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSelectionCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;setSelectionCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
<dl><dt><span class="strong">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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;addSelectionCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="addSelectionCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSelectionCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;addSelectionCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="removeSelectionCell(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSelectionCell</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;removeSelectionCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="removeSelectionCells(java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeSelectionCells</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;removeSelectionCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;cells)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="selectNextCell()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>selectNextCell</h4>
<pre>public&nbsp;void&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;selectCell(boolean&nbsp;isNext,
boolean&nbsp;isParent,
boolean&nbsp;isChild)</pre>
<div class="block">Selects the next, parent, first child or previous cell, if all arguments
are false.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;selectVertices(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;void&nbsp;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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;selectEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<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&nbsp;void&nbsp;selectCells(boolean&nbsp;vertices,
boolean&nbsp;edges)</pre>
<div class="block">Selects all vertices and/or edges depending on the given boolean
2012-05-21 20:32:26 +00:00
arguments recursively, starting at the default parent. Use
2014-04-01 11:30:48 +00:00
<code>selectAll</code> to select all cells.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;selectCells(boolean&nbsp;vertices,
boolean&nbsp;edges,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Selects all vertices and/or edges depending on the given boolean
2012-05-21 20:32:26 +00:00
arguments recursively, starting at the given parent or the default
parent if no parent is specified. Use <code>selectAll</code> to select
2014-04-01 11:30:48 +00:00
all cells.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;selectAll()</pre>
</li>
</ul>
<a name="selectAll(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>selectAll</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;selectAll(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Selects all children of the given parent cell or the children of the
2012-05-21 20:32:26 +00:00
default parent if no parent is specified. To select leaf vertices and/or
2014-04-01 11:30:48 +00:00
edges use <selectCells>.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;drawGraph(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas)</pre>
<div class="block">Draws the graph onto the given canvas.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;drawCell(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Draws the given cell and its descendants onto the specified canvas.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;drawState(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas,
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state,
boolean&nbsp;drawLabel)</pre>
<div class="block">Draws the cell state with the given label onto the canvas. No
2012-05-21 20:32:26 +00:00
children or descendants are painted here. This method invokes
cellDrawn after the cell, but not its descendants have been
2014-04-01 11:30:48 +00:00
painted.</div>
<dl><dt><span class="strong">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&nbsp;void&nbsp;cellDrawn(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a>&nbsp;canvas,
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a>&nbsp;state,
2014-11-28 08:55:09 +00:00
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;element,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;labelElement)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLinkForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTargetForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
<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>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;addPropertyChangeListener(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeSupport.html?is-external=true#addPropertyChangeListener(java.beans.PropertyChangeListener)" title="class or interface in java.beans"><code>PropertyChangeSupport.addPropertyChangeListener(java.beans.PropertyChangeListener)</code></a></dd></dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPropertyChangeListener</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;addPropertyChangeListener(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>propertyName</code> - </dd><dd><code>listener</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeSupport.html?is-external=true#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)" title="class or interface in java.beans"><code>PropertyChangeSupport.addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)</code></a></dd></dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="removePropertyChangeListener(java.beans.PropertyChangeListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePropertyChangeListener</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;removePropertyChangeListener(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeSupport.html?is-external=true#removePropertyChangeListener(java.beans.PropertyChangeListener)" title="class or interface in java.beans"><code>PropertyChangeSupport.removePropertyChangeListener(java.beans.PropertyChangeListener)</code></a></dd></dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removePropertyChangeListener</h4>
2014-11-28 08:55:09 +00:00
<pre>public&nbsp;void&nbsp;removePropertyChangeListener(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName,
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true" title="class or interface in java.beans">PropertyChangeListener</a>&nbsp;listener)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>propertyName</code> - </dd><dd><code>listener</code> - </dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeSupport.html?is-external=true#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)" title="class or interface in java.beans"><code>PropertyChangeSupport.removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)</code></a></dd></dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
<a name="main(java.lang.String[])">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>main</h4>
2014-11-28 08:55:09 +00:00
<pre>public static&nbsp;void&nbsp;main(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Prints the version number on the console.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2014-04-01 11:30:48 +00:00
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/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>
2015-06-23 07:48:06 +00:00
<div class="aboutLanguage"><em><p><b>mxGraph 3.3.1.1</b></p></em></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view"><span class="strong">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");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010 <a href="http://www.mxgraph.com/"
target="_blank">Gaudenz Alder, David Benson</a>. All rights reserved.</font></small></p>
</body>
</html>