8492 lines
508 KiB
HTML
8492 lines
508 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Thu Sep 11 05:12:57 EDT 2014 -->
|
|
<title>mxGraph (mxGraph 3.0.1.1 API Specification)</title>
|
|
<meta name="date" content="2014-09-11">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="mxGraph (mxGraph 3.0.1.1 API Specification)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<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>
|
|
<div class="aboutLanguage"><em><p><b>mxGraph 3.0.1.1</b></p></em></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><span class="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");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested_class_summary">Nested</a> | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<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">
|
|
<li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../com/mxgraph/util/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
|
|
and stylesheet.
|
|
|
|
<h3>Images</h3>
|
|
To create an image from a graph, use the following code for a given
|
|
XML document (doc) and File (file):
|
|
|
|
<code>
|
|
Image img = mxCellRenderer.createBufferedImage(
|
|
graph, null, 1, Color.WHITE, false, null);
|
|
ImageIO.write(img, "png", file);
|
|
</code>
|
|
|
|
If the XML is given as a string rather than a document, the document can
|
|
be obtained using mxUtils.parse.
|
|
|
|
This class fires the following events:
|
|
|
|
mxEvent.ROOT fires if the root in the model has changed. This event has no
|
|
properties.
|
|
|
|
mxEvent.ALIGN_CELLS fires between begin- and endUpdate in alignCells. The
|
|
<code>cells</code> and <code>align</code> properties contain the respective
|
|
arguments that were passed to alignCells.
|
|
|
|
mxEvent.FLIP_EDGE fires between begin- and endUpdate in flipEdge. The
|
|
<code>edge</code> property contains the edge passed to flipEdge.
|
|
|
|
mxEvent.ORDER_CELLS fires between begin- and endUpdate in orderCells. The
|
|
<code>cells</code> and <code>back</code> properties contain the respective
|
|
arguments that were passed to orderCells.
|
|
|
|
mxEvent.CELLS_ORDERED fires between begin- and endUpdate in cellsOrdered.
|
|
The <code>cells</code> and <code>back</code> arguments contain the
|
|
respective arguments that were passed to cellsOrdered.
|
|
|
|
mxEvent.GROUP_CELLS fires between begin- and endUpdate in groupCells. The
|
|
<code>group</code>, <code>cells</code> and <code>border</code> arguments
|
|
contain the respective arguments that were passed to groupCells.
|
|
|
|
mxEvent.UNGROUP_CELLS fires between begin- and endUpdate in ungroupCells.
|
|
The <code>cells</code> property contains the array of cells that was passed
|
|
to ungroupCells.
|
|
|
|
mxEvent.REMOVE_CELLS_FROM_PARENT fires between begin- and endUpdate in
|
|
removeCellsFromParent. The <code>cells</code> property contains the array of
|
|
cells that was passed to removeCellsFromParent.
|
|
|
|
mxEvent.ADD_CELLS fires between begin- and endUpdate in addCells. The
|
|
<code>cells</code>, <code>parent</code>, <code>index</code>,
|
|
<code>source</code> and <code>target</code> properties contain the
|
|
respective arguments that were passed to addCells.
|
|
|
|
mxEvent.CELLS_ADDED fires between begin- and endUpdate in cellsAdded. The
|
|
<code>cells</code>, <code>parent</code>, <code>index</code>,
|
|
<code>source</code>, <code>target</code> and <code>absolute</code>
|
|
properties contain the respective arguments that were passed to cellsAdded.
|
|
|
|
mxEvent.REMOVE_CELLS fires between begin- and endUpdate in removeCells. The
|
|
<code>cells</code> and <code>includeEdges</code> arguments contain the
|
|
respective arguments that were passed to removeCells.
|
|
|
|
mxEvent.CELLS_REMOVED fires between begin- and endUpdate in cellsRemoved.
|
|
The <code>cells</code> argument contains the array of cells that was
|
|
removed.
|
|
|
|
mxEvent.SPLIT_EDGE fires between begin- and endUpdate in splitEdge. The
|
|
<code>edge</code> property contains the edge to be splitted, the
|
|
<code>cells</code>, <code>newEdge</code>, <code>dx</code> and
|
|
<code>dy</code> properties contain the respective arguments that were passed
|
|
to splitEdge.
|
|
|
|
mxEvent.TOGGLE_CELLS fires between begin- and endUpdate in toggleCells. The
|
|
<code>show</code>, <code>cells</code> and <code>includeEdges</code>
|
|
properties contain the respective arguments that were passed to toggleCells.
|
|
|
|
mxEvent.FOLD_CELLS fires between begin- and endUpdate in foldCells. The
|
|
<code>collapse</code>, <code>cells</code> and <code>recurse</code>
|
|
properties contain the respective arguments that were passed to foldCells.
|
|
|
|
mxEvent.CELLS_FOLDED fires between begin- and endUpdate in cellsFolded. The
|
|
<code>collapse</code>, <code>cells</code> and <code>recurse</code>
|
|
properties contain the respective arguments that were passed to cellsFolded.
|
|
|
|
mxEvent.UPDATE_CELL_SIZE fires between begin- and endUpdate in
|
|
updateCellSize. The <code>cell</code> and <code>ignoreChildren</code>
|
|
properties contain the respective arguments that were passed to
|
|
updateCellSize.
|
|
|
|
mxEvent.RESIZE_CELLS fires between begin- and endUpdate in resizeCells. The
|
|
<code>cells</code> and <code>bounds</code> properties contain the respective
|
|
arguments that were passed to resizeCells.
|
|
|
|
mxEvent.CELLS_RESIZED fires between begin- and endUpdate in cellsResized.
|
|
The <code>cells</code> and <code>bounds</code> properties contain the
|
|
respective arguments that were passed to cellsResized.
|
|
|
|
mxEvent.MOVE_CELLS fires between begin- and endUpdate in moveCells. The
|
|
<code>cells</code>, <code>dx</code>, <code>dy</code>, <code>clone</code>,
|
|
<code>target</code> and <code>location</code> properties contain the
|
|
respective arguments that were passed to moveCells.
|
|
|
|
mxEvent.CELLS_MOVED fires between begin- and endUpdate in cellsMoved. The
|
|
<code>cells</code>, <code>dx</code>, <code>dy</code> and
|
|
<code>disconnect</code> properties contain the respective arguments that
|
|
were passed to cellsMoved.
|
|
|
|
mxEvent.CONNECT_CELL fires between begin- and endUpdate in connectCell. The
|
|
<code>edge</code>, <code>terminal</code> and <code>source</code> properties
|
|
contain the respective arguments that were passed to connectCell.
|
|
|
|
mxEvent.CELL_CONNECTED fires between begin- and endUpdate in cellConnected.
|
|
The <code>edge</code>, <code>terminal</code> and <code>source</code>
|
|
properties contain the respective arguments that were passed to
|
|
cellConnected.
|
|
|
|
mxEvent.REPAINT fires if a repaint was requested by calling repaint. The
|
|
<code>region</code> property contains the optional mxRectangle that was
|
|
passed to repaint to define the dirty region.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested_class_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<table class="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"> </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 </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> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
|
|
<code><a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected 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">
|
|
<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#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">
|
|
<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>
|
|
<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">
|
|
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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">
|
|
<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><<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>></code></td>
|
|
<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">
|
|
<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>
|
|
<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 com.mxgraph.util.<a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
|
|
<code><a href="../../../com/mxgraph/util/mxEventSource.html#eventListeners">eventListeners</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#eventsEnabled">eventsEnabled</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#eventSource">eventSource</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><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> 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> model,
|
|
<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> 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> stylesheet)</code>
|
|
<div class="block">Constructs a new graph for the specified model.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </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">
|
|
<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>[] cells)</code>
|
|
<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">
|
|
<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> cell)</code>
|
|
<div class="block">Adds the cell to the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> parent)</code>
|
|
<div class="block">Adds the cell to the parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> 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> 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> 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> target)</code>
|
|
<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">
|
|
<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>[] cells)</code>
|
|
<div class="block">Adds the cells to the default parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] 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> parent)</code>
|
|
<div class="block">Adds the cells to the parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] 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> 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> index)</code>
|
|
<div class="block">Adds the cells to the parent at the given index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] 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> 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> 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> 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> target)</code>
|
|
<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">
|
|
<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> 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> 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> 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> 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> index)</code>
|
|
<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> bundle)</code>
|
|
<div class="block">Adds the specified bundle.</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#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> listener)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> 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> listener)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> cell)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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>[] cells)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> align)</code>
|
|
<div class="block">Aligns the selection cells vertically or horizontally according to the
|
|
given alignment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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>[] cells)</code>
|
|
<div class="block">Aligns the given cells vertically or horizontally according to the given
|
|
alignment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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>[] 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> param)</code>
|
|
<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>
|
|
<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> 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> terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> 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> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> labelElement)</code>
|
|
<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>
|
|
<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> 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> value,
|
|
boolean 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>
|
|
<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>[] 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> 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> 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> 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> target,
|
|
boolean 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>
|
|
<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>[] 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> 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> 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> 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> target,
|
|
boolean absolute,
|
|
boolean 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>
|
|
<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>[] cells,
|
|
boolean collapse,
|
|
boolean 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>
|
|
<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>[] cells,
|
|
boolean collapse,
|
|
boolean recurse,
|
|
boolean 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>
|
|
<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> cell,
|
|
boolean 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>
|
|
<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>[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean disconnect,
|
|
boolean 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>
|
|
<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>[] cells,
|
|
boolean 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>
|
|
<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>[] cells)</code>
|
|
<div class="block">Removes the given cells from the model.</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#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>[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] 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>
|
|
<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>[] cells,
|
|
boolean 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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells)</code>
|
|
<div class="block">Clones all cells in the given array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells,
|
|
boolean allowInvalidEdges)</code>
|
|
<div class="block">Returns the clones for the given cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> terminal,
|
|
boolean source)</code>
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code>
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> cell)</code>
|
|
<div class="block">Keeps the given cell inside the bounds returned by
|
|
getCellContainmentArea for its parent, according to the rules defined by
|
|
getOverlap and isConstrainChild.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<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> cell)</code>
|
|
<div class="block">Returns the textual representation for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> 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> 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> 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> 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> style)</code>
|
|
<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">
|
|
<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>[] cells)</code>
|
|
<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">
|
|
<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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style)</code>
|
|
<div class="block">Hook method that creates the new vertex for insertVertex.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style,
|
|
boolean 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>
|
|
<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>[] cells)</code>
|
|
<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> canvas,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</code>
|
|
<div class="block">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> 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> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
boolean 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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://download.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#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> parent)</code>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://download.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#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> parent,
|
|
boolean 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">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://download.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#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> parent,
|
|
boolean isolate,
|
|
boolean 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">
|
|
<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> edge)</code>
|
|
<div class="block">Called when the main control point of the edge is double-clicked.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean)">foldCells</a></strong>(boolean collapse)</code>
|
|
<div class="block">Sets the collapsed state of the selection cells without recursion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean)">foldCells</a></strong>(boolean collapse,
|
|
boolean recurse)</code>
|
|
<div class="block">Sets the collapsed state of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean, java.lang.Object[])">foldCells</a></strong>(boolean collapse,
|
|
boolean 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>[] cells)</code>
|
|
<div class="block">Invokes foldCells with checkFoldable set to false.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean, java.lang.Object[], boolean)">foldCells</a></strong>(boolean collapse,
|
|
boolean 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>[] cells,
|
|
boolean 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> terminal,
|
|
boolean source)</code>
|
|
<div class="block">Returns an array of all constraints for the given terminal.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells)</code>
|
|
<div class="block">Returns all edges connected to the given cells or their descendants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<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#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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell,
|
|
boolean 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>
|
|
<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> cell,
|
|
boolean includeEdges,
|
|
boolean 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>
|
|
<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>[] cells)</code>
|
|
<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>
|
|
<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>[] cells,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean 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>
|
|
<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> 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>[] children,
|
|
double 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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell,
|
|
boolean 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>
|
|
<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> cell,
|
|
boolean includeEdges,
|
|
boolean 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>
|
|
<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> cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean 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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns the geometry for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getCellsBeyond(double, double, java.lang.Object, boolean, boolean)">getCellsBeyond</a></strong>(double x0,
|
|
double 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> parent,
|
|
boolean rightHalfpane,
|
|
boolean bottomHalfpane)</code>
|
|
<div class="block">Returns the children of the given parent that are contained in the
|
|
halfpane from the given point (x0, y0) rightwards and downwards
|
|
depending on rightHalfpane and bottomHalfpane.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells)</code>
|
|
<div class="block">Returns the cells with the same parent as the first cell
|
|
in the given array.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
|
<td class="colLast"><code><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> cell)</code>
|
|
<div class="block">Returns an array of key, value pairs representing the cell style for the
|
|
given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><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> cell)</code>
|
|
<div class="block">Checks all multiplicities that cannot be enforced while the graph is
|
|
being modified, namely, all multiplicities that require a minimum of
|
|
1 edge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr 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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> parent)</code>
|
|
<div class="block">Returns the visible children of the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> parent,
|
|
boolean vertices,
|
|
boolean edges)</code>
|
|
<div class="block">Returns the visible child vertices or edges in the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> parent)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns the offset to be used for the cells inside the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> parent)</code>
|
|
<div class="block">Returns the visible child vertices of the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells)</code>
|
|
<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> edge,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean 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> vertex,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</code>
|
|
<div class="block">Sets the connection constraint that describes the given connection point.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> cell)</code>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent)</code>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent,
|
|
boolean recurse)</code>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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">
|
|
<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#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">
|
|
<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>[] cells)</code>
|
|
<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="http://download.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>[] 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> 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> cell)</code>
|
|
<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">
|
|
<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> cell)</code>
|
|
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent)</code>
|
|
<div class="block">Returns all visible edges connected to the given cell including loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops)</code>
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops,
|
|
boolean recurse)</code>
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> target)</code>
|
|
<div class="block">Returns the edges between the given source and target.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> target,
|
|
boolean directed)</code>
|
|
<div class="block">Returns the edges between the given source and target.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<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> 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> 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> target)</code>
|
|
<div class="block">Returns the validation error message to be displayed when inserting or
|
|
changing an edges' connectivity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells,
|
|
boolean 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">
|
|
<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#getImage(com.mxgraph.view.mxCellState)">getImage</a></strong>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code>
|
|
<div class="block">Returns the image URL for the given cell state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>></code></td>
|
|
<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>
|
|
<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><<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> value)</code>
|
|
<div class="block">Returns the image bundles</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><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> key)</code>
|
|
<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">
|
|
<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> cell)</code>
|
|
<div class="block">Returns all incoming visible edges connected to the given cell without
|
|
loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent)</code>
|
|
<div class="block">Returns the visible incoming edges for the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<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> cell)</code>
|
|
<div class="block">Returns a string or DOM node that represents the label for the given
|
|
cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/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> cell)</code>
|
|
<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> </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">
|
|
<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>[] cells)</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/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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] 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> terminal)</code>
|
|
<div class="block">Returns all distinct visible opposite cells of the terminal on the given
|
|
edges.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] 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> terminal,
|
|
boolean sources,
|
|
boolean 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">
|
|
<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> cell)</code>
|
|
<div class="block">Returns all outgoing visible edges connected to the given cell without
|
|
loops.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> parent)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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>[] cells)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns the preferred width and height of the given <mxCell> as an
|
|
<mxRectangle>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</code>
|
|
<div class="block">Returns the cells that have been removed from the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCell()">getSelectionCell</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#getSelectionCells()">getSelectionCells</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</code>
|
|
<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> </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> </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#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> swimlane)</code>
|
|
<div class="block">Returns the start size of the given swimlane, that is, the width or
|
|
height of the part that contains the title, depending on the
|
|
horizontal style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr 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">
|
|
<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> cell)</code>
|
|
<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="http://download.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> cell,
|
|
boolean source)</code>
|
|
<div class="block">Returns the terminal to be used for a given port.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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> sender,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</code>
|
|
<div class="block">Called when the graph model changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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">
|
|
<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> group)</code>
|
|
<div class="block">Groups the selection cells and adds them to the given group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> group,
|
|
double border)</code>
|
|
<div class="block">Groups the selection cells and adds them to the given group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> group,
|
|
double 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>[] cells)</code>
|
|
<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">
|
|
<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> 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> 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> 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> 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> target)</code>
|
|
<div class="block">Creates and adds a new edge with an empty style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> 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> 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> 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> 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> style)</code>
|
|
<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">
|
|
<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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height)</code>
|
|
<div class="block">Creates and adds a new vertex with an empty style.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style)</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="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style,
|
|
boolean 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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</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="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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell is bendable.</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#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> cell)</code>
|
|
<div class="block">Returns the constant true.</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#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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell is movable.</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#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> 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> terminal,
|
|
boolean 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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell is movable.</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#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> cell,
|
|
boolean 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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell is movable.</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#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> cell)</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#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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell is selectable.</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#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> cell)</code> </td>
|
|
</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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell should be kept inside the bounds of its
|
|
parent according to the rules defined by getOverlap and
|
|
isAllowOverlapParent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr 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>
|
|
<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> 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> 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> target)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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> </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> </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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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> </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> 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> 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>
|
|
<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> cell)</code>
|
|
<div class="block">Returns true if the given cell is a "port", that is, when connecting to
|
|
it, the cell returned by getTerminalForPort should be used as the
|
|
terminal and the port should be referenced by the ID in either the
|
|
mxConstants.STYLE_SOURCE_PORT or the or the
|
|
mxConstants.STYLE_TARGET_PORT.</div>
|
|
</td>
|
|
</tr>
|
|
<tr 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> </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>
|
|
<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> 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>[] cells)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell,
|
|
boolean 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>
|
|
<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> 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> parent,
|
|
boolean recurse)</code>
|
|
<div class="block">Returns whether or not the specified parent is a valid
|
|
ancestor of the specified cell, either direct or indirectly
|
|
based on whether ancestor recursion is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<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> 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> target)</code>
|
|
<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>
|
|
<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> 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>[] cells)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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> cell)</code>
|
|
<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>
|
|
<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>[] args)</code>
|
|
<div class="block">Prints the version number on the console.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells,
|
|
double dx,
|
|
double dy)</code>
|
|
<div class="block">Moves the cells by the given amount.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean 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">
|
|
<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>[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean 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> 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> location)</code>
|
|
<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">
|
|
<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#orderCells(boolean)">orderCells</a></strong>(boolean back)</code>
|
|
<div class="block">Moves the selection cells to the front or back.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#orderCells(boolean, java.lang.Object[])">orderCells</a></strong>(boolean 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>[] cells)</code>
|
|
<div class="block">Moves the given cells to the front or back.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
|
<td class="colLast"><code><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><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> style)</code>
|
|
<div class="block">Tries to resolve the value for the image style in the image bundles and
|
|
turns short data URIs as defined in mxImageBundle to data URIs as
|
|
defined in RFC 2397 of the IETF.</div>
|
|
</td>
|
|
</tr>
|
|
<tr 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> change,
|
|
boolean invalidate,
|
|
boolean 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>
|
|
<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><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes,
|
|
boolean invalidate,
|
|
boolean 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">
|
|
<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()">removeCells</a></strong>()</code>
|
|
<div class="block">Removes the selection cells from the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells)</code>
|
|
<div class="block">Removes the given cells from the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells,
|
|
boolean 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">
|
|
<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()">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">
|
|
<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>[] cells)</code>
|
|
<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> bundle)</code>
|
|
<div class="block">Removes the specified bundle.</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#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> listener)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> 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> listener)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> cell)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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>[] cells)</code> </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#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> cell)</code>
|
|
<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> region)</code>
|
|
<div class="block">Fires a repaint event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> edge)</code>
|
|
<div class="block">Resets the control points of the given edge.</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#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>[] cells)</code>
|
|
<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">
|
|
<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> cell,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> bounds)</code>
|
|
<div class="block">Sets the bounds of the given cell using resizeCells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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>[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] 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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> parent)</code>
|
|
<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 isNext,
|
|
boolean isParent,
|
|
boolean 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 vertices,
|
|
boolean 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 vertices,
|
|
boolean 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> parent)</code>
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the given parent or the default
|
|
parent if no parent is specified.</div>
|
|
</td>
|
|
</tr>
|
|
<tr 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>
|
|
<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> parent)</code>
|
|
<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>
|
|
<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> parent)</code>
|
|
<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 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 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 value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> value)</code>
|
|
<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 value)</code> </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 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 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 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 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 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 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 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 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 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 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 value)</code>
|
|
<div class="block">Sets cellsSelectable.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> style)</code>
|
|
<div class="block">Sets the style of the selection cells to the given value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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>[] cells)</code>
|
|
<div class="block">Sets the style of the specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> key,
|
|
int flag,
|
|
boolean 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">
|
|
<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> key,
|
|
int 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> 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>[] cells)</code>
|
|
<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">
|
|
<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> 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> value)</code>
|
|
<div class="block">Sets the key to value in the styles of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> 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> 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>[] cells)</code>
|
|
<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 value)</code> </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 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 value)</code> </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 value)</code>
|
|
<div class="block">Sets connetableEdges.</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#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> 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> terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> 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 value)</code> </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> 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 value)</code>
|
|
<div class="block">Sets defaultOverlap.</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#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> value)</code>
|
|
<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 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 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 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 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 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 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 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 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 value)</code> </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 value)</code> </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 value)</code> </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 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 value)</code> </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> value)</code> </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> value)</code> </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> 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 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>[] value)</code> </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> value)</code> </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 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 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 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 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 value)</code>
|
|
<div class="block">Sets resetEdgesOnResize.</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#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> cell)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> cells)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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>[] cells)</code> </td>
|
|
</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 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> 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 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 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> 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 value)</code>
|
|
<div class="block">Snaps the given numeric value to the grid if <gridEnabled> is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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>[] cells)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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>[] cells,
|
|
double dx,
|
|
double dy)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> 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>[] 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> newEdge,
|
|
double dx,
|
|
double dy)</code>
|
|
<div class="block">Splits the given edge by adding a newEdge between the previous source
|
|
and the given cell and reconnecting the source of the given edge to the
|
|
given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<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> cell,
|
|
boolean 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">
|
|
<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#toggleCells(boolean)">toggleCells</a></strong>(boolean show)</code>
|
|
<div class="block">Sets the visible state of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean, java.lang.Object[])">toggleCells</a></strong>(boolean 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>[] cells)</code>
|
|
<div class="block">Sets the visible state of the specified cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean, java.lang.Object[], boolean)">toggleCells</a></strong>(boolean 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>[] cells,
|
|
boolean 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">
|
|
<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> key,
|
|
boolean 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> cell)</code>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> key,
|
|
int 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">
|
|
<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> key,
|
|
int 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>[] cells)</code>
|
|
<div class="block">Toggles the given bit for the given key in the styles of the specified
|
|
cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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> key,
|
|
boolean 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">
|
|
<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> key,
|
|
boolean 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>[] cells)</code>
|
|
<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>
|
|
<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> cell,
|
|
double dx,
|
|
double 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>
|
|
<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> vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> 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>
|
|
<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> vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> visited)</code>
|
|
<div class="block">Traverses the (directed) graph invoking the given function for each
|
|
visited vertex and edge.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
|
|
<td class="colLast"><code><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">
|
|
<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>[] cells)</code>
|
|
<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>
|
|
<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> cell,
|
|
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> geo,
|
|
boolean 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">
|
|
<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> cell)</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="altColor">
|
|
<td class="colFirst"><code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
|
<td class="colLast"><code><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> cell,
|
|
boolean 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><a href="http://download.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()">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">
|
|
<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>[] cells)</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><a href="http://download.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>[] cells,
|
|
int 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">
|
|
<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>[] cells,
|
|
int border,
|
|
boolean 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">
|
|
<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> 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><<a href="http://download.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>> context)</code>
|
|
<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">
|
|
<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> 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> 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> target)</code>
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
edge and terminals.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_com.mxgraph.util.mxEventSource">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class com.mxgraph.util.<a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></h3>
|
|
<code><a href="../../../com/mxgraph/util/mxEventSource.html#addListener(java.lang.String, com.mxgraph.util.mxEventSource.mxIEventListener)">addListener</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject)">fireEvent</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject, java.lang.Object)">fireEvent</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#getEventSource()">getEventSource</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#isEventsEnabled()">isEventsEnabled</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)">removeListener</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener, java.lang.String)">removeListener</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#setEventsEnabled(boolean)">setEventsEnabled</a>, <a href="../../../com/mxgraph/util/mxEventSource.html#setEventSource(java.lang.Object)">setEventSource</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://download.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>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="VERSION">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>VERSION</h4>
|
|
<pre>public static final <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>
|
|
<div class="block">Holds the version number of this release. Current version
|
|
is 3.0.1.1.</div>
|
|
<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>
|
|
<pre>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> changeSupport</pre>
|
|
<div class="block">Property change event handling.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="model">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>model</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model</pre>
|
|
<div class="block">Holds the model that contains the cells to be displayed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="view">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>view</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> view</pre>
|
|
<div class="block">Holds the view that caches the cell states.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="stylesheet">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>stylesheet</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet</pre>
|
|
<div class="block">Holds the stylesheet that defines the appearance of the cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectionModel">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectionModel</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a> selectionModel</pre>
|
|
<div class="block">Holds the <mxGraphSelection> that models the current selection.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="gridSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridSize</h4>
|
|
<pre>protected int gridSize</pre>
|
|
<div class="block">Specifies the grid size. Default is 10.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="gridEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridEnabled</h4>
|
|
<pre>protected boolean gridEnabled</pre>
|
|
<div class="block">Specifies if the grid is enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="portsEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>portsEnabled</h4>
|
|
<pre>protected boolean portsEnabled</pre>
|
|
<div class="block">Specifies if ports are enabled. This is used in <cellConnected> to update
|
|
the respective style. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultOverlap">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultOverlap</h4>
|
|
<pre>protected double defaultOverlap</pre>
|
|
<div class="block">Value returned by getOverlap if isAllowOverlapParent returns
|
|
true for the given cell. getOverlap is used in keepInside if
|
|
isKeepInsideParentOnMove returns true. The value specifies the
|
|
portion of the child which is allowed to overlap the parent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultParent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultParent</h4>
|
|
<pre>protected <a href="http://download.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>
|
|
<div class="block">Specifies the default parent to be used to insert new cells.
|
|
This is used in getDefaultParent. Default is null.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="alternateEdgeStyle">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alternateEdgeStyle</h4>
|
|
<pre>protected <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>
|
|
<div class="block">Specifies the alternate edge style to be used if the main control point
|
|
on an edge is being doubleclicked. Default is null.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="enabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enabled</h4>
|
|
<pre>protected boolean enabled</pre>
|
|
<div class="block">Specifies the return value for isEnabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsLocked">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsLocked</h4>
|
|
<pre>protected boolean cellsLocked</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Locked. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsEditable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsEditable</h4>
|
|
<pre>protected boolean cellsEditable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Editable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsResizable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsResizable</h4>
|
|
<pre>protected boolean cellsResizable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Sizable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsMovable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsMovable</h4>
|
|
<pre>protected boolean cellsMovable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Movable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsBendable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsBendable</h4>
|
|
<pre>protected boolean cellsBendable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Bendable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsSelectable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsSelectable</h4>
|
|
<pre>protected boolean cellsSelectable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Selectable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsDeletable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsDeletable</h4>
|
|
<pre>protected boolean cellsDeletable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Deletable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsCloneable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsCloneable</h4>
|
|
<pre>protected boolean cellsCloneable</pre>
|
|
<div class="block">Specifies the return value for isCell(s)Cloneable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsDisconnectable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsDisconnectable</h4>
|
|
<pre>protected boolean cellsDisconnectable</pre>
|
|
<div class="block">Specifies the return value for isCellDisconntableFromTerminal. Default
|
|
is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="labelsClipped">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelsClipped</h4>
|
|
<pre>protected boolean labelsClipped</pre>
|
|
<div class="block">Specifies the return value for isLabel(s)Clipped. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="edgeLabelsMovable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>edgeLabelsMovable</h4>
|
|
<pre>protected boolean edgeLabelsMovable</pre>
|
|
<div class="block">Specifies the return value for edges in isLabelMovable. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="vertexLabelsMovable">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>vertexLabelsMovable</h4>
|
|
<pre>protected boolean vertexLabelsMovable</pre>
|
|
<div class="block">Specifies the return value for vertices in isLabelMovable. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="dropEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dropEnabled</h4>
|
|
<pre>protected boolean dropEnabled</pre>
|
|
<div class="block">Specifies the return value for isDropEnabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="splitEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>splitEnabled</h4>
|
|
<pre>protected boolean splitEnabled</pre>
|
|
<div class="block">Specifies if dropping onto edges should be enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="autoSizeCells">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoSizeCells</h4>
|
|
<pre>protected boolean autoSizeCells</pre>
|
|
<div class="block">Specifies if the graph should automatically update the cell size
|
|
after an edit. This is used in isAutoSizeCell. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="maximumGraphBounds">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>maximumGraphBounds</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> maximumGraphBounds</pre>
|
|
<div class="block"><mxRectangle> that specifies the area in which all cells in the
|
|
diagram should be placed. Uses in getMaximumGraphBounds. Use a width
|
|
or height of 0 if you only want to give a upper, left corner.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="minimumGraphSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>minimumGraphSize</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> minimumGraphSize</pre>
|
|
<div class="block">mxRectangle that specifies the minimum size of the graph canvas inside
|
|
the scrollpane.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="border">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>border</h4>
|
|
<pre>protected int border</pre>
|
|
<div class="block">Border to be added to the bottom and right side when the container is
|
|
being resized after the graph has been changed. Default is 0.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="keepEdgesInForeground">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keepEdgesInForeground</h4>
|
|
<pre>protected boolean keepEdgesInForeground</pre>
|
|
<div class="block">Specifies if edges should appear in the foreground regardless of their
|
|
order in the model. This has precendence over keepEdgeInBackground
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="keepEdgesInBackground">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keepEdgesInBackground</h4>
|
|
<pre>protected boolean keepEdgesInBackground</pre>
|
|
<div class="block">Specifies if edges should appear in the background regardless of their
|
|
order in the model. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="collapseToPreferredSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>collapseToPreferredSize</h4>
|
|
<pre>protected boolean collapseToPreferredSize</pre>
|
|
<div class="block">Specifies if the cell size should be changed to the preferred size when
|
|
a cell is first collapsed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="allowNegativeCoordinates">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowNegativeCoordinates</h4>
|
|
<pre>protected boolean allowNegativeCoordinates</pre>
|
|
<div class="block">Specifies if negative coordinates for vertices are allowed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="constrainChildren">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>constrainChildren</h4>
|
|
<pre>protected boolean constrainChildren</pre>
|
|
<div class="block">Specifies the return value for isConstrainChildren. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="extendParents">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>extendParents</h4>
|
|
<pre>protected boolean extendParents</pre>
|
|
<div class="block">Specifies if a parent should contain the child bounds after a resize of
|
|
the child. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="extendParentsOnAdd">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>extendParentsOnAdd</h4>
|
|
<pre>protected boolean extendParentsOnAdd</pre>
|
|
<div class="block">Specifies if parents should be extended according to the <extendParents>
|
|
switch if cells are added. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetViewOnRootChange">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetViewOnRootChange</h4>
|
|
<pre>protected boolean resetViewOnRootChange</pre>
|
|
<div class="block">Specifies if the scale and translate should be reset if
|
|
the root changes in the model. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdgesOnResize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdgesOnResize</h4>
|
|
<pre>protected boolean resetEdgesOnResize</pre>
|
|
<div class="block">Specifies if loops (aka self-references) are allowed.
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdgesOnMove">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdgesOnMove</h4>
|
|
<pre>protected boolean resetEdgesOnMove</pre>
|
|
<div class="block">Specifies if edge control points should be reset after
|
|
the move of a connected cell. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="resetEdgesOnConnect">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>resetEdgesOnConnect</h4>
|
|
<pre>protected boolean resetEdgesOnConnect</pre>
|
|
<div class="block">Specifies if edge control points should be reset after
|
|
the the edge has been reconnected. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="allowLoops">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowLoops</h4>
|
|
<pre>protected boolean allowLoops</pre>
|
|
<div class="block">Specifies if loops (aka self-references) are allowed.
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="multiplicities">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>multiplicities</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] multiplicities</pre>
|
|
<div class="block">Specifies the multiplicities to be used for validation of the graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="defaultLoopStyle">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>defaultLoopStyle</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> defaultLoopStyle</pre>
|
|
<div class="block">Specifies the default style for loops.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="multigraph">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>multigraph</h4>
|
|
<pre>protected boolean multigraph</pre>
|
|
<div class="block">Specifies if multiple edges in the same direction between
|
|
the same pair of vertices are allowed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="connectableEdges">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>connectableEdges</h4>
|
|
<pre>protected boolean connectableEdges</pre>
|
|
<div class="block">Specifies if edges are connectable. Default is false.
|
|
This overrides the connectable field in edges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="allowDanglingEdges">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowDanglingEdges</h4>
|
|
<pre>protected boolean allowDanglingEdges</pre>
|
|
<div class="block">Specifies if edges with disconnected terminals are
|
|
allowed in the graph. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cloneInvalidEdges">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cloneInvalidEdges</h4>
|
|
<pre>protected boolean cloneInvalidEdges</pre>
|
|
<div class="block">Specifies if edges that are cloned should be validated and only inserted
|
|
if they are valid. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="disconnectOnMove">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>disconnectOnMove</h4>
|
|
<pre>protected boolean disconnectOnMove</pre>
|
|
<div class="block">Specifies if edges should be disconnected from their terminals when they
|
|
are moved. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="labelsVisible">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelsVisible</h4>
|
|
<pre>protected boolean labelsVisible</pre>
|
|
<div class="block">Specifies if labels should be visible. This is used in
|
|
getLabel. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="htmlLabels">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>htmlLabels</h4>
|
|
<pre>protected boolean htmlLabels</pre>
|
|
<div class="block">Specifies the return value for isHtmlLabel. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="swimlaneNesting">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>swimlaneNesting</h4>
|
|
<pre>protected boolean swimlaneNesting</pre>
|
|
<div class="block">Specifies if nesting of swimlanes is allowed. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="changesRepaintThreshold">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>changesRepaintThreshold</h4>
|
|
<pre>protected int changesRepaintThreshold</pre>
|
|
<div class="block">Specifies the maximum number of changes that should be processed to find
|
|
the dirty region. If the number of changes is larger, then the complete
|
|
grah is repainted. A value of zero will always compute the dirty region
|
|
for any number of changes. Default is 1000.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="autoOrigin">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoOrigin</h4>
|
|
<pre>protected boolean autoOrigin</pre>
|
|
<div class="block">Specifies if the origin should be automatically updated.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="origin">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>origin</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> origin</pre>
|
|
<div class="block">Holds the current automatic origin.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="imageBundles">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>imageBundles</h4>
|
|
<pre>protected static <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> imageBundles</pre>
|
|
<div class="block">Holds the list of bundles.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="fullRepaintHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>fullRepaintHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> fullRepaintHandler</pre>
|
|
<div class="block">Fires repaint events for full repaints.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateOriginHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateOriginHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> updateOriginHandler</pre>
|
|
<div class="block">Fires repaint events for full repaints.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="graphModelChangeHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>graphModelChangeHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> graphModelChangeHandler</pre>
|
|
<div class="block">Fires repaint events for model changes.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="mxGraph()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mxGraph</h4>
|
|
<pre>public mxGraph()</pre>
|
|
<div class="block">Constructs a new graph with an empty
|
|
<a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a>.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="mxGraph(com.mxgraph.model.mxIGraphModel)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mxGraph</h4>
|
|
<pre>public mxGraph(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model)</pre>
|
|
<div class="block">Constructs a new graph for the specified model. If no model is
|
|
specified, then a new, empty <a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a> is
|
|
used.</div>
|
|
<dl><dt><span class="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 mxGraph(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet)</pre>
|
|
<div class="block">Constructs a new graph for the specified model. If no model is
|
|
specified, then a new, empty <a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a> is
|
|
used.</div>
|
|
<dl><dt><span class="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 mxGraph(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> model,
|
|
<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> stylesheet)</pre>
|
|
<div class="block">Constructs a new graph for the specified model. If no model is
|
|
specified, then a new, empty <a href="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><code>mxGraphModel</code></a> is
|
|
used.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the graph data</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="createSelectionModel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createSelectionModel</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a> createSelectionModel()</pre>
|
|
<div class="block">Constructs a new selection model to be used in this graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createStylesheet()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createStylesheet</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> createStylesheet()</pre>
|
|
<div class="block">Constructs a new stylesheet to be used in this graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createGraphView()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createGraphView</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> createGraphView()</pre>
|
|
<div class="block">Constructs a new view to be used in this graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getModel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getModel</h4>
|
|
<pre>public <a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> getModel()</pre>
|
|
<div class="block">Returns the graph model that contains the graph data.</div>
|
|
<dl><dt><span class="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 void setModel(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> value)</pre>
|
|
<div class="block">Sets the graph model that contains the data, and fires an
|
|
mxEvent.CHANGE followed by an mxEvent.REPAINT event.</div>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> getView()</pre>
|
|
<div class="block">Returns the view that contains the cell states.</div>
|
|
<dl><dt><span class="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 void setView(<a href="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> value)</pre>
|
|
<div class="block">Sets the view that contains the cell states.</div>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> getStylesheet()</pre>
|
|
<div class="block">Returns the stylesheet that provides the style.</div>
|
|
<dl><dt><span class="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 void setStylesheet(<a href="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</a> value)</pre>
|
|
<div class="block">Sets the stylesheet that provides the style.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</pre>
|
|
<div class="block">Returns the cells to be selected for the given list of changes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="graphModelChanged(com.mxgraph.model.mxIGraphModel, java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>graphModelChanged</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> graphModelChanged(<a href="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</a> sender,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</pre>
|
|
<div class="block">Called when the graph model changes. Invokes processChange on each
|
|
item of the given array to update the view accordingly.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateOrigin()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateOrigin</h4>
|
|
<pre>protected void updateOrigin()</pre>
|
|
<div class="block">Extends the canvas by doing another validation with a shifted
|
|
global translation if the bounds of the graph are below (0,0).
|
|
|
|
The first validation is required to compute the bounds of the graph
|
|
while the second validation is required to apply the new translate.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getRemovedCellsForChanges(java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRemovedCellsForChanges</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes)</pre>
|
|
<div class="block">Returns the cells that have been removed from the model.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="processChanges(java.util.List, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>processChanges</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> processChanges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a>> changes,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</pre>
|
|
<div class="block">Processes the changes and returns the minimal rectangle to be
|
|
repainted in the buffer. A return value of null means no repaint
|
|
is required.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="processChange(com.mxgraph.util.mxUndoableEdit.mxUndoableChange, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>processChange</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> processChange(<a href="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a> change,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</pre>
|
|
<div class="block">Processes the given change and invalidates the respective cached data
|
|
in <view>. This fires a <root> event if the root has changed in the
|
|
model.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeStateForCell(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeStateForCell</h4>
|
|
<pre>protected void removeStateForCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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> cell)</pre>
|
|
<div class="block">Returns an array of key, value pairs representing the cell style for the
|
|
given cell. If no string is defined in the model that specifies the
|
|
style, then the default style for the cell is returned or <EMPTY_ARRAY>,
|
|
if not style can be found.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>protected <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> style)</pre>
|
|
<div class="block">Tries to resolve the value for the image style in the image bundles and
|
|
turns short data URIs as defined in mxImageBundle to data URIs as
|
|
defined in RFC 2397 of the IETF.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellStyle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellStyle</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> style)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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>[] cells)</pre>
|
|
<div class="block">Sets the style of the specified cells. If no cells are given, then the
|
|
selection cells are changed.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> key,
|
|
boolean 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> cell)</pre>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
given cell. If no cell is specified then the selection cell is
|
|
used.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> key,
|
|
boolean defaultValue)</pre>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the
|
|
selection cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> key,
|
|
boolean 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>[] cells)</pre>
|
|
<div class="block">Toggles the boolean value for the given key in the style of the given
|
|
cells. If no cells are specified, then the selection cells are used. For
|
|
example, this can be used to toggle mxConstants.STYLE_ROUNDED or any
|
|
other style with a boolean value.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> value)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> 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>[] cells)</pre>
|
|
<div class="block">Sets the key to value in the styles of the given cells. This will modify
|
|
the existing cell styles in-place and override any existing assignment
|
|
for the given key. If no cells are specified, then the selection cells
|
|
are changed. If no value is specified, then the respective key is
|
|
removed from the styles.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> key,
|
|
int flag)</pre>
|
|
<div class="block">Toggles the given bit for the given key in the styles of the selection
|
|
cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> key,
|
|
int 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>[] cells)</pre>
|
|
<div class="block">Toggles the given bit for the given key in the styles of the specified
|
|
cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> key,
|
|
int flag,
|
|
boolean value)</pre>
|
|
<div class="block">Sets or toggles the given bit for the given key in the styles of the
|
|
selection cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> key,
|
|
int 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> 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>[] cells)</pre>
|
|
<div class="block">Sets or toggles the given bit for the given key in the styles of the
|
|
specified cells.</div>
|
|
<dl><dt><span class="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 void addImageBundle(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a> bundle)</pre>
|
|
<div class="block">Adds the specified bundle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeImageBundle(com.mxgraph.util.mxImageBundle)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeImageBundle</h4>
|
|
<pre>public void removeImageBundle(<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a> bundle)</pre>
|
|
<div class="block">Removes the specified bundle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImageFromBundles(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageFromBundles</h4>
|
|
<pre>public <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> 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> key)</pre>
|
|
<div class="block">Searches all bundles for the specified key and returns the value for the
|
|
first match or null if the key is not found.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImageBundles()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageBundles</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> getImageBundles()</pre>
|
|
<div class="block">Returns the image bundles</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImageBundles(java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageBundles</h4>
|
|
<pre>public void getImageBundles(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a>> value)</pre>
|
|
<div class="block">Returns the image bundles</div>
|
|
</li>
|
|
</ul>
|
|
<a name="alignCells(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>alignCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> align)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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>[] 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> param)</pre>
|
|
<div class="block">Aligns the given cells vertically or horizontally according to the given
|
|
alignment using the optional parameter as the coordinate.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> edge)</pre>
|
|
<div class="block">Called when the main control point of the edge is double-clicked. This
|
|
implementation switches between null (default) and alternateEdgeStyle
|
|
and resets the edges control points. Finally, a flip event is fired
|
|
before endUpdate is called on the model.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] orderCells(boolean back)</pre>
|
|
<div class="block">Moves the selection cells to the front or back. This is a shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] orderCells(boolean 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>[] cells)</pre>
|
|
<div class="block">Moves the given cells to the front or back. The change is carried out
|
|
using cellsOrdered. This method fires mxEvent.ORDER_CELLS while the
|
|
transaction is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells,
|
|
boolean back)</pre>
|
|
<div class="block">Moves the given cells to the front or back. This method fires
|
|
mxEvent.CELLS_ORDERED while the transaction is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> groupCells()</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> group)</pre>
|
|
<div class="block">Groups the selection cells and adds them to the given group. This is a
|
|
shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> group,
|
|
double border)</pre>
|
|
<div class="block">Groups the selection cells and adds them to the given group. This is a
|
|
shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> group,
|
|
double 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>[] cells)</pre>
|
|
<div class="block">Adds the cells into the given group. The change is carried out using
|
|
cellsAdded, cellsMoved and cellsResized. This method fires
|
|
mxEvent.GROUP_CELLS while the transaction is in progress. Returns the
|
|
new group. A group is only created if there is at least one entry in the
|
|
given array of cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Returns the cells with the same parent as the first cell
|
|
in the given array.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundsForGroup(java.lang.Object, java.lang.Object[], double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundsForGroup</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundsForGroup(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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>[] children,
|
|
double border)</pre>
|
|
<div class="block">Returns the bounds to be used for the given group and children. This
|
|
implementation computes the bounding box of the geometries of all
|
|
vertices in the given children array. Edges are ignored. If the group
|
|
cell is a swimlane the title region is added to the bounds.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createGroupCell(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createGroupCell</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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>[] cells)</pre>
|
|
<div class="block">Hook for creating the group cell to hold the given array of <mxCells> if
|
|
no group cell was given to the <group> function. The children are just
|
|
for informational purpose, they will be added to the returned group
|
|
later. Note that the returned group should have a geometry. The
|
|
coordinates of which are later overridden.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] ungroupCells()</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Ungroups the given cells by moving the children the children to their
|
|
parents parent and removing the empty groups.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] removeCellsFromParent()</pre>
|
|
<div class="block">Removes the selection cells from their parents and adds them to the
|
|
default parent returned by getDefaultParent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellsFromParent(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellsFromParent</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] updateGroupBounds()</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateGroupBounds(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateGroupBounds</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
int border)</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
int border,
|
|
boolean moveParent)</pre>
|
|
<div class="block">Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Clones all cells in the given array. To clone all children in a cell and
|
|
add them to another graph:
|
|
|
|
<code>
|
|
graph2.addCells(graph.cloneCells(new Object[] { parent }));
|
|
</code>
|
|
|
|
To clone all children in a graph layer if graph g1 and put them into the
|
|
default parent (typically default layer) of another graph g2, the
|
|
following code is used:
|
|
|
|
<code>
|
|
g2.addCells(g1.cloneCells(g1.cloneCells(g1.getChildCells(g1.getDefaultParent()));
|
|
</code></div>
|
|
</li>
|
|
</ul>
|
|
<a name="cloneCells(java.lang.Object[], boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cloneCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
boolean allowInvalidEdges)</pre>
|
|
<div class="block">Returns the clones for the given cells. If the terminal of an edge is
|
|
not in the given array, then the respective end is assigned a terminal
|
|
point and the terminal is removed. If a cloned edge is invalid and
|
|
allowInvalidEdges is false, then a null pointer will be at this position
|
|
in the returned array. Use getCloneableCells on the input array to only
|
|
clone the cells where isCellCloneable returns true.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double height)</pre>
|
|
<div class="block">Creates and adds a new vertex with an empty style.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="insertVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertVertex</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style)</pre>
|
|
<div class="block">Adds a new vertex into the given parent using value as the user object
|
|
and the given coordinates as the geometry of the new vertex. The id and
|
|
style are used for the respective properties of the new cell, which is
|
|
returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style,
|
|
boolean relative)</pre>
|
|
<div class="block">Adds a new vertex into the given parent using value as the user object
|
|
and the given coordinates as the geometry of the new vertex. The id and
|
|
style are used for the respective properties of the new cell, which is
|
|
returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> value,
|
|
double x,
|
|
double y,
|
|
double width,
|
|
double 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> style,
|
|
boolean relative)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> 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> 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> target)</pre>
|
|
<div class="block">Creates and adds a new edge with an empty style.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="insertEdge(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertEdge</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> 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> 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> 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> style)</pre>
|
|
<div class="block">Adds a new edge into the given parent using value as the user object and
|
|
the given source and target as the terminals of the new edge. The Id and
|
|
style are used for the respective properties of the new cell, which is
|
|
returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> 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> 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> 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> style)</pre>
|
|
<div class="block">Hook method that creates the new edge for insertEdge. This
|
|
implementation does not set the source and target of the edge, these
|
|
are set when the edge is added to the model.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> 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> 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> index)</pre>
|
|
<div class="block">Adds the edge to the parent and connects it to the given source and
|
|
target terminals. This is a shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> parent)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> 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> 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> 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> target)</pre>
|
|
<div class="block">Adds the cell to the parent and connects it to the given source and
|
|
target terminals. This is a shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] 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> parent)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] 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> 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> index)</pre>
|
|
<div class="block">Adds the cells to the parent at the given index. This is a shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] 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> 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> 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> 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> target)</pre>
|
|
<div class="block">Adds the cells to the parent at the given index, connecting each cell to
|
|
the optional source and target terminal. The change is carried out using
|
|
cellsAdded. This method fires mxEvent.ADD_CELLS while the transaction
|
|
is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] 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> 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> 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> 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> target,
|
|
boolean absolute)</pre>
|
|
<div class="block">Adds the specified cells to the given parent. This method fires
|
|
mxEvent.CELLS_ADDED while the transaction is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsAdded(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsAdded</h4>
|
|
<pre>public void cellsAdded(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> 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> 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> target,
|
|
boolean absolute,
|
|
boolean constrain)</pre>
|
|
<div class="block">Adds the specified cells to the given parent. This method fires
|
|
mxEvent.CELLS_ADDED while the transaction is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCells()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] removeCells()</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Removes the given cells from the graph including all connected edges if
|
|
includeEdges is true. The change is carried out using cellsRemoved. This
|
|
method fires mxEvent.REMOVE_CELLS while the transaction is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells)</pre>
|
|
<div class="block">Removes the given cells from the model. This method fires
|
|
mxEvent.CELLS_REMOVED while the transaction is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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>[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="splitEdge(java.lang.Object, java.lang.Object[], double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>splitEdge</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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>[] cells,
|
|
double dx,
|
|
double dy)</pre>
|
|
</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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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>[] 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> newEdge,
|
|
double dx,
|
|
double dy)</pre>
|
|
<div class="block">Splits the given edge by adding a newEdge between the previous source
|
|
and the given cell and reconnecting the source of the given edge to the
|
|
given cell. Fires mxEvent.SPLIT_EDGE while the transaction is in
|
|
progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] toggleCells(boolean show)</pre>
|
|
<div class="block">Sets the visible state of the selection cells. This is a shortcut
|
|
method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] toggleCells(boolean 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] toggleCells(boolean 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>[] cells,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Sets the visible state of the specified cells and all connected edges
|
|
if includeEdges is true. The change is carried out using cellsToggled.
|
|
This method fires mxEvent.TOGGLE_CELLS while the transaction is in
|
|
progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells,
|
|
boolean 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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] foldCells(boolean collapse)</pre>
|
|
<div class="block">Sets the collapsed state of the selection cells without recursion.
|
|
This is a shortcut method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] foldCells(boolean collapse,
|
|
boolean recurse)</pre>
|
|
<div class="block">Sets the collapsed state of the selection cells. This is a shortcut
|
|
method.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] foldCells(boolean collapse,
|
|
boolean 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] foldCells(boolean collapse,
|
|
boolean 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>[] cells,
|
|
boolean checkFoldable)</pre>
|
|
<div class="block">Sets the collapsed state of the specified cells and all descendants
|
|
if recurse is true. The change is carried out using cellsFolded.
|
|
This method fires mxEvent.FOLD_CELLS while the transaction is in
|
|
progress. Returns the cells whose collapsed state was changed.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells,
|
|
boolean collapse,
|
|
boolean recurse)</pre>
|
|
<div class="block">Invokes cellsFoldable with checkFoldable set to false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cellsFolded(java.lang.Object[], boolean, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellsFolded</h4>
|
|
<pre>public void 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>[] cells,
|
|
boolean collapse,
|
|
boolean recurse,
|
|
boolean checkFoldable)</pre>
|
|
<div class="block">Sets the collapsed state of the specified cells. This method fires
|
|
mxEvent.CELLS_FOLDED while the transaction is in progress. Returns the
|
|
cells whose collapsed state was changed.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> cell,
|
|
boolean willCollapse)</pre>
|
|
<div class="block">Swaps the alternate and the actual bounds in the geometry of the given
|
|
cell invoking updateAlternateBounds before carrying out the swap.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> cell,
|
|
<a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> geo,
|
|
boolean willCollapse)</pre>
|
|
<div class="block">Updates or sets the alternate bounds in the given geometry for the given
|
|
cell depending on whether the cell is going to be collapsed. If no
|
|
alternate bounds are defined in the geometry and
|
|
collapseToPreferredSize is true, then the preferred size is used for
|
|
the alternate bounds. The top, left corner is always kept at the same
|
|
location.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Returns an array with the given cells and all edges that are connected
|
|
to a cell or one of its descendants.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getAllEdges(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAllEdges</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Returns all edges connected to the given cells or their descendants.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateCellSize(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateCellSize</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> cell)</pre>
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size. This function
|
|
fires beforeUpdateSize and afterUpdateSize events.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> cell,
|
|
boolean ignoreChildren)</pre>
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size. This function
|
|
fires mxEvent.UPDATE_CELL_SIZE.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> cell,
|
|
boolean ignoreChildren)</pre>
|
|
<div class="block">Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> cell,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> bounds)</pre>
|
|
<div class="block">Sets the bounds of the given cell using resizeCells. Returns the
|
|
cell which was passed to the function.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] bounds)</pre>
|
|
<div class="block">Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS
|
|
event. while the transaction is in progress. Returns the cells which
|
|
have been passed to the function.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells,
|
|
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>[] bounds)</pre>
|
|
<div class="block">Sets the bounds of the given cells and fires a <mxEvent.CELLS_RESIZED>
|
|
event. If extendParents is true, then the parent is extended if a child
|
|
size is changed so that it overlaps with the parent.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> cell)</pre>
|
|
<div class="block">Resizes the parents recursively so that they contain the complete area
|
|
of the resized child cell.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
double dx,
|
|
double dy)</pre>
|
|
<div class="block">Moves the cells by the given amount. This is a shortcut method.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="moveCells(java.lang.Object[], double, double, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean clone)</pre>
|
|
<div class="block">Moves or clones the cells and moves the cells or clones by the given
|
|
amount. This is a shortcut method.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="moveCells(java.lang.Object[], double, double, boolean, java.lang.Object, java.awt.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean 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> 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> location)</pre>
|
|
<div class="block">Moves or clones the specified cells and moves the cells or clones by the
|
|
given amount, adding them to the optional target cell. The location is
|
|
the position of the mouse pointer as the mouse was released. The change
|
|
is carried out using cellsMoved. This method fires mxEvent.MOVE_CELLS
|
|
while the transaction is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells,
|
|
double dx,
|
|
double dy,
|
|
boolean disconnect,
|
|
boolean constrain)</pre>
|
|
<div class="block">Moves the specified cells by the given vector, disconnecting the cells
|
|
using disconnectGraph if disconnect is true. This method fires
|
|
mxEvent.CELLS_MOVED while the transaction is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="translateCell(java.lang.Object, double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>translateCell</h4>
|
|
<pre>public void translateCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
double dx,
|
|
double dy)</pre>
|
|
<div class="block">Translates the geometry of the given cell and stores the new,
|
|
translated geometry in the model as an atomic change.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellContainmentArea(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellContainmentArea</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellContainmentArea(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns the mxRectangle inside which a cell is to be kept.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaximumGraphBounds()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaximumGraphBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getMaximumGraphBounds()</pre>
|
|
<dl><dt><span class="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 void setMaximumGraphBounds(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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>
|
|
<pre>public void 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> cell)</pre>
|
|
<div class="block">Keeps the given cell inside the bounds returned by
|
|
getCellContainmentArea for its parent, according to the rules defined by
|
|
getOverlap and isConstrainChild. This modifies the cell's geometry
|
|
in-place and does not clone it.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells)</pre>
|
|
<div class="block">Resets the control points of the edges that are connected to the given
|
|
cells if not both ends of the edge are in the given cells array.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> edge)</pre>
|
|
<div class="block">Resets the control points of the given edge.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getAllConnectionConstraints(com.mxgraph.view.mxCellState, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAllConnectionConstraints</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a>[] getAllConnectionConstraints(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Returns an array of all constraints for the given terminal.</div>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> getConnectionConstraint(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> edge,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Returns an connection constraint that describes the given connection
|
|
point. This result can then be passed to getConnectionPoint.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> 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> terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Sets the connection constraint that describes the given connection point.
|
|
If no constraint is given then nothing is changed. To remove an existing
|
|
constraint from the given edge, use an empty constraint instead.</div>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getConnectionPoint(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> vertex,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Sets the connection constraint that describes the given connection point.
|
|
If no constraint is given then nothing is changed. To remove an existing
|
|
constraint from the given edge, use an empty constraint instead.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="connectCell(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>connectCell</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Connects the specified end of the given edge to the given terminal
|
|
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
|
|
is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> 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> terminal,
|
|
boolean source,
|
|
<a href="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</a> constraint)</pre>
|
|
<div class="block">Sets the new terminal for the given edge and resets the edge points if
|
|
isResetEdgesOnConnect returns true. This method fires
|
|
<mxEvent.CELL_CONNECTED> while the transaction is in progress.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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>[] cells)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCurrentRoot()</pre>
|
|
<div class="block">Returns the current root of the displayed cell hierarchy. This is a
|
|
shortcut to <mxGraphView.currentRoot> in <view>.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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> cell)</pre>
|
|
<div class="block">Returns the translation to be used if the given cell is the root cell as
|
|
an <mxPoint>. This implementation returns null.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell is a "port", that is, when connecting to
|
|
it, the cell returned by getTerminalForPort should be used as the
|
|
terminal and the port should be referenced by the ID in either the
|
|
mxConstants.STYLE_SOURCE_PORT or the or the
|
|
mxConstants.STYLE_TARGET_PORT. Note that a port should not be movable.
|
|
This implementation always returns false.
|
|
|
|
A typical implementation of this method looks as follows:
|
|
|
|
<code>
|
|
public boolean isPort(Object cell)
|
|
{
|
|
mxGeometry geo = getCellGeometry(cell);
|
|
|
|
return (geo != null) ? geo.isRelative() : false;
|
|
}
|
|
</code></div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> cell,
|
|
boolean source)</pre>
|
|
<div class="block">Returns the terminal to be used for a given port. This implementation
|
|
always returns the parent cell.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> 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> cell)</pre>
|
|
<div class="block">Returns the offset to be used for the cells inside the given cell. The
|
|
root and layer cells may be identified using mxGraphModel.isRoot and
|
|
mxGraphModel.isLayer. This implementation returns null.</div>
|
|
<dl><dt><span class="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 void enterGroup()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="enterGroup(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enterGroup</h4>
|
|
<pre>public void enterGroup(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Uses the given cell as the root of the displayed cell hierarchy. If no
|
|
cell is specified then the selection cell is used. The cell is only used
|
|
if <isValidRoot> returns true.</div>
|
|
<dl><dt><span class="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 void exitGroup()</pre>
|
|
<div class="block">Changes the current root to the next valid root in the displayed cell
|
|
hierarchy.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="home()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>home</h4>
|
|
<pre>public void home()</pre>
|
|
<div class="block">Uses the root of the model as the root of the displayed cell hierarchy
|
|
and selects the previous root.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidRoot(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidRoot</h4>
|
|
<pre>public boolean isValidRoot(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getGraphBounds()</pre>
|
|
<div class="block">Returns the bounds of the visible graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns the bounds of the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds(java.lang.Object, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds(java.lang.Object, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants)</pre>
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBoxFromGeometry(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBoxFromGeometry</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBoxFromGeometry(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] cells)</pre>
|
|
<div class="block">Returns the bounding box for the geometries of the vertices in the
|
|
given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBox(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBox</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns the bounds of the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBox(java.lang.Object, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBox</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean includeEdges)</pre>
|
|
<div class="block">Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundingBox(java.lang.Object, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundingBox</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundingBox(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants)</pre>
|
|
<div class="block">Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPaintBounds(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPaintBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getPaintBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] cells)</pre>
|
|
<div class="block">Returns the bounding box of the given cells and their descendants.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBoundsForCells(java.lang.Object[], boolean, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBoundsForCells</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getBoundsForCells(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] cells,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean boundingBox)</pre>
|
|
<div class="block">Returns the bounds for the given cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellBounds(java.lang.Object, boolean, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellBounds</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getCellBounds(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean includeEdges,
|
|
boolean includeDescendants,
|
|
boolean boundingBox)</pre>
|
|
<div class="block">Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="refresh()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>refresh</h4>
|
|
<pre>public void refresh()</pre>
|
|
<div class="block">Clears all cell states or the states for the hierarchy starting at the
|
|
given cell and validates the graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="repaint()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaint</h4>
|
|
<pre>public void repaint()</pre>
|
|
<div class="block">Fires a repaint event.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="repaint(com.mxgraph.util.mxRectangle)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaint</h4>
|
|
<pre>public void repaint(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> region)</pre>
|
|
<div class="block">Fires a repaint event. The optional region is the rectangle that needs
|
|
to be repainted.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="snap(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>snap</h4>
|
|
<pre>public double snap(double value)</pre>
|
|
<div class="block">Snaps the given numeric value to the grid if <gridEnabled> is true.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</a> 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> cell)</pre>
|
|
<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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell is visible in this graph. This
|
|
implementation uses <mxGraphModel.isVisible>. Subclassers can override
|
|
this to implement specific visibility for cells in only one graph, that
|
|
is, without affecting the visible state of the cell.
|
|
|
|
When using dynamic filter expressions for cell visibility, then the
|
|
graph should be revalidated after the filter expression has changed.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell is collapsed in this graph. This
|
|
implementation uses <mxGraphModel.isCollapsed>. Subclassers can override
|
|
this to implement specific collapsed states for cells in only one graph,
|
|
that is, without affecting the collapsed state of the cell.
|
|
|
|
When using dynamic filter expressions for the collapsed state, then the
|
|
graph should be revalidated after the filter expression has changed.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell is connectable in this graph. This
|
|
implementation uses <mxGraphModel.isConnectable>. Subclassers can override
|
|
this to implement specific connectable states for cells in only one graph,
|
|
that is, without affecting the connectable state of the cell in the model.</div>
|
|
<dl><dt><span class="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 boolean isOrthogonal(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> edge)</pre>
|
|
<div class="block">Returns true if perimeter points should be computed such that the
|
|
resulting edge has only horizontal or vertical segments.</div>
|
|
<dl><dt><span class="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 boolean isLoop(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Returns true if the given cell state is a loop.</div>
|
|
<dl><dt><span class="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 void setMultiplicities(<a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getMultiplicities()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMultiplicities</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</a>[] getMultiplicities()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isEdgeValid(java.lang.Object, java.lang.Object, java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEdgeValid</h4>
|
|
<pre>public boolean isEdgeValid(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> 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> target)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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> 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> 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> target)</pre>
|
|
<div class="block">Returns the validation error message to be displayed when inserting or
|
|
changing an edges' connectivity. A return value of null means the edge
|
|
is valid, a return value of '' means it's not valid, but do not display
|
|
an error message. Any other (non-empty) string returned from this method
|
|
is displayed as an error message when trying to connect an edge to a
|
|
source and target. This implementation uses the multiplicities, as
|
|
well as multigraph and allowDanglingEdges to generate validation
|
|
errors.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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> 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> 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> target)</pre>
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
edge and terminals. This implementation returns null.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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> cell)</pre>
|
|
<div class="block">Checks all multiplicities that cannot be enforced while the graph is
|
|
being modified, namely, all multiplicities that require a minimum of
|
|
1 edge.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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> 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><<a href="http://download.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>> context)</pre>
|
|
<div class="block">Hook method for subclassers to return an error message for the given
|
|
cell and validation context. This implementation returns null.</div>
|
|
<dl><dt><span class="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 boolean 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 void setLabelsVisible(boolean 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 void setHtmlLabels(boolean 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 boolean isHtmlLabels()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="convertValueToString(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>convertValueToString</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLabel(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns a string or DOM node that represents the label for the given
|
|
cell. This implementation uses <convertValueToString> if <labelsVisible>
|
|
is true. Otherwise it returns an empty string.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> 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> value,
|
|
boolean autoSize)</pre>
|
|
<div class="block">Sets the new label for a cell. If autoSize is true then
|
|
<cellSizeUpdated> will be called.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the label must be rendered as HTML markup. The default
|
|
implementation returns <htmlLabels>.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> 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> cell)</pre>
|
|
<div class="block">Returns the tooltip to be used for the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getStartSize(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStartSize</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getStartSize(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> swimlane)</pre>
|
|
<div class="block">Returns the start size of the given swimlane, that is, the width or
|
|
height of the part that contains the title, depending on the
|
|
horizontal style. The return value is an <mxRectangle> with either
|
|
width or height set as appropriate.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getImage(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Returns the image URL for the given cell state. This implementation
|
|
returns the value stored under <mxConstants.STYLE_IMAGE> in the cell
|
|
style.</div>
|
|
<dl><dt><span class="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 int 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 void setBorder(int 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 <a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> getDefaultLoopStyle()</pre>
|
|
<div class="block">Returns the default edge style used for loops.</div>
|
|
<dl><dt><span class="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 void setDefaultLoopStyle(<a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</a> value)</pre>
|
|
<div class="block">Sets the default style used for loops.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell may not be moved, sized, bended,
|
|
disconnected, edited or selected. This implementation returns true for
|
|
all vertices with a relative geometry if cellsLocked is false.</div>
|
|
<dl><dt><span class="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 boolean isCellsLocked()</pre>
|
|
<div class="block">Returns cellsLocked, the default return value for isCellLocked.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsLocked(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsLocked</h4>
|
|
<pre>public void setCellsLocked(boolean value)</pre>
|
|
<div class="block">Sets cellsLocked, the default return value for isCellLocked and fires a
|
|
property change event for cellsLocked.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellEditable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellEditable</h4>
|
|
<pre>public boolean isCellEditable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 boolean 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 void setCellsEditable(boolean value)</pre>
|
|
<div class="block">Sets if the graph is editable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellResizable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellResizable</h4>
|
|
<pre>public boolean isCellResizable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 boolean isCellsResizable()</pre>
|
|
<div class="block">Returns true if the given cell is resizable. This implementation return sizable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsResizable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsResizable</h4>
|
|
<pre>public void setCellsResizable(boolean value)</pre>
|
|
<div class="block">Sets if the graph is resizable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getMovableCells(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMovableCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellMovable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellMovable</h4>
|
|
<pre>public boolean isCellMovable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 boolean isCellsMovable()</pre>
|
|
<div class="block">Returns cellsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsMovable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsMovable</h4>
|
|
<pre>public void setCellsMovable(boolean value)</pre>
|
|
<div class="block">Sets cellsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isTerminalPointMovable(java.lang.Object, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isTerminalPointMovable</h4>
|
|
<pre>public boolean isTerminalPointMovable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean source)</pre>
|
|
<div class="block">Function: isTerminalPointMovable
|
|
|
|
Returns true if the given terminal point is movable. This is independent
|
|
from isCellConnectable and isCellDisconnectable and controls if terminal
|
|
points can be moved in the graph if the edge is not connected. Note that
|
|
it is required for this to return true to connect unconnected edges.
|
|
This implementation returns true.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell is bendable. This implementation returns
|
|
bendable. This is used in mxElbowEdgeHandler to determine if the middle
|
|
handle should be shown.</div>
|
|
<dl><dt><span class="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 boolean isCellsBendable()</pre>
|
|
<div class="block">Returns cellsBendable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsBendable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsBendable</h4>
|
|
<pre>public void setCellsBendable(boolean value)</pre>
|
|
<div class="block">Sets cellsBendable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellSelectable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellSelectable</h4>
|
|
<pre>public boolean isCellSelectable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 boolean isCellsSelectable()</pre>
|
|
<div class="block">Returns cellsSelectable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsSelectable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsSelectable</h4>
|
|
<pre>public void setCellsSelectable(boolean value)</pre>
|
|
<div class="block">Sets cellsSelectable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDeletableCells(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDeletableCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellDeletable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellDeletable</h4>
|
|
<pre>public boolean isCellDeletable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 boolean isCellsDeletable()</pre>
|
|
<div class="block">Returns cellsDeletable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsDeletable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsDeletable</h4>
|
|
<pre>public void setCellsDeletable(boolean value)</pre>
|
|
<div class="block">Sets cellsDeletable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getCloneableCells(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCloneableCells</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellCloneable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellCloneable</h4>
|
|
<pre>public boolean isCellCloneable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns the constant true. This does not use the cloneable field to
|
|
return a value for a given cell, it is simply a hook for subclassers
|
|
to disallow cloning of individual cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellsCloneable()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellsCloneable</h4>
|
|
<pre>public boolean isCellsCloneable()</pre>
|
|
<div class="block">Returns cellsCloneable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsCloneable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsCloneable</h4>
|
|
<pre>public void setCellsCloneable(boolean value)</pre>
|
|
<div class="block">Specifies if the graph should allow cloning of cells by holding down the
|
|
control key while cells are being moved. This implementation updates
|
|
cellsCloneable.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> 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> terminal,
|
|
boolean source)</pre>
|
|
<div class="block">Returns true if the given cell is disconnectable from the source or
|
|
target terminal. This returns <disconnectable> for all given cells if
|
|
<isLocked> does not return true for the given cell.</div>
|
|
<dl><dt><span class="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 boolean isCellsDisconnectable()</pre>
|
|
<div class="block">Returns cellsDisconnectable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellsDisconnectable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellsDisconnectable</h4>
|
|
<pre>public void setCellsDisconnectable(boolean value)</pre>
|
|
<div class="block">Sets cellsDisconnectable.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the overflow portion of labels should be hidden. If this
|
|
returns true then vertex labels will be clipped to the size of the vertices.
|
|
This implementation returns true if <mxConstants.STYLE_OVERFLOW> in the
|
|
style of the given cell is "hidden".</div>
|
|
<dl><dt><span class="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 boolean isLabelsClipped()</pre>
|
|
<div class="block">Returns labelsClipped.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setLabelsClipped(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLabelsClipped</h4>
|
|
<pre>public void setLabelsClipped(boolean value)</pre>
|
|
<div class="block">Sets labelsClipped.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isLabelMovable(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLabelMovable</h4>
|
|
<pre>public boolean isLabelMovable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns true if the given edges's label is moveable. This returns
|
|
<movable> for all given cells if <isLocked> does not return true
|
|
for the given cell.</div>
|
|
<dl><dt><span class="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 boolean isVertexLabelsMovable()</pre>
|
|
<div class="block">Returns vertexLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setVertexLabelsMovable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVertexLabelsMovable</h4>
|
|
<pre>public void setVertexLabelsMovable(boolean value)</pre>
|
|
<div class="block">Sets vertexLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isEdgeLabelsMovable()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEdgeLabelsMovable</h4>
|
|
<pre>public boolean isEdgeLabelsMovable()</pre>
|
|
<div class="block">Returns edgeLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setEdgeLabelsMovable(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEdgeLabelsMovable</h4>
|
|
<pre>public void setEdgeLabelsMovable(boolean value)</pre>
|
|
<div class="block">Returns edgeLabelsMovable.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEnabled</h4>
|
|
<pre>public boolean isEnabled()</pre>
|
|
<div class="block">Returns true if the graph is <enabled>.</div>
|
|
<dl><dt><span class="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 void setEnabled(boolean value)</pre>
|
|
<div class="block">Specifies if the graph should allow any interactions. This
|
|
implementation updates <enabled>.</div>
|
|
<dl><dt><span class="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 boolean isDropEnabled()</pre>
|
|
<div class="block">Returns true if the graph allows drop into other cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setDropEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDropEnabled</h4>
|
|
<pre>public void setDropEnabled(boolean value)</pre>
|
|
<div class="block">Sets dropEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSplitEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSplitEnabled</h4>
|
|
<pre>public boolean isSplitEnabled()</pre>
|
|
<div class="block">Affects the return values of isValidDropTarget to allow for edges as
|
|
drop targets. The splitEdge method is called in mxGraphHandler if
|
|
mxGraphComponent.isSplitEvent returns true for a given configuration.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setSplitEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSplitEnabled</h4>
|
|
<pre>public void setSplitEnabled(boolean value)</pre>
|
|
<div class="block">Sets splitEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isMultigraph()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMultigraph</h4>
|
|
<pre>public boolean isMultigraph()</pre>
|
|
<div class="block">Returns multigraph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setMultigraph(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMultigraph</h4>
|
|
<pre>public void setMultigraph(boolean value)</pre>
|
|
<div class="block">Sets multigraph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSwimlaneNesting()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSwimlaneNesting</h4>
|
|
<pre>public boolean isSwimlaneNesting()</pre>
|
|
<div class="block">Returns swimlaneNesting.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setSwimlaneNesting(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSwimlaneNesting</h4>
|
|
<pre>public void setSwimlaneNesting(boolean value)</pre>
|
|
<div class="block">Sets swimlaneNesting.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowDanglingEdges()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowDanglingEdges</h4>
|
|
<pre>public boolean isAllowDanglingEdges()</pre>
|
|
<div class="block">Returns allowDanglingEdges</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAllowDanglingEdges(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAllowDanglingEdges</h4>
|
|
<pre>public void setAllowDanglingEdges(boolean value)</pre>
|
|
<div class="block">Sets allowDanglingEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCloneInvalidEdges()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCloneInvalidEdges</h4>
|
|
<pre>public boolean isCloneInvalidEdges()</pre>
|
|
<div class="block">Returns cloneInvalidEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setCloneInvalidEdges(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCloneInvalidEdges</h4>
|
|
<pre>public void setCloneInvalidEdges(boolean value)</pre>
|
|
<div class="block">Sets cloneInvalidEdge.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isDisconnectOnMove()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isDisconnectOnMove</h4>
|
|
<pre>public boolean isDisconnectOnMove()</pre>
|
|
<div class="block">Returns disconnectOnMove</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setDisconnectOnMove(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDisconnectOnMove</h4>
|
|
<pre>public void setDisconnectOnMove(boolean value)</pre>
|
|
<div class="block">Sets disconnectOnMove.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowLoops()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowLoops</h4>
|
|
<pre>public boolean isAllowLoops()</pre>
|
|
<div class="block">Returns allowLoops.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAllowLoops(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAllowLoops</h4>
|
|
<pre>public void setAllowLoops(boolean value)</pre>
|
|
<div class="block">Sets allowLoops.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isConnectableEdges()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConnectableEdges</h4>
|
|
<pre>public boolean isConnectableEdges()</pre>
|
|
<div class="block">Returns connectableEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setConnectableEdges(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setConnectableEdges</h4>
|
|
<pre>public void setConnectableEdges(boolean value)</pre>
|
|
<div class="block">Sets connetableEdges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetEdgesOnMove()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetEdgesOnMove</h4>
|
|
<pre>public boolean isResetEdgesOnMove()</pre>
|
|
<div class="block">Returns resetEdgesOnMove.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetEdgesOnMove(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetEdgesOnMove</h4>
|
|
<pre>public void setResetEdgesOnMove(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnMove.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetViewOnRootChange()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetViewOnRootChange</h4>
|
|
<pre>public boolean isResetViewOnRootChange()</pre>
|
|
<div class="block">Returns resetViewOnRootChange.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetViewOnRootChange(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetViewOnRootChange</h4>
|
|
<pre>public void setResetViewOnRootChange(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnResize.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetEdgesOnResize()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetEdgesOnResize</h4>
|
|
<pre>public boolean isResetEdgesOnResize()</pre>
|
|
<div class="block">Returns resetEdgesOnResize.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetEdgesOnResize(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetEdgesOnResize</h4>
|
|
<pre>public void setResetEdgesOnResize(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnResize.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isResetEdgesOnConnect()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isResetEdgesOnConnect</h4>
|
|
<pre>public boolean isResetEdgesOnConnect()</pre>
|
|
<div class="block">Returns resetEdgesOnConnect.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setResetEdgesOnConnect(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setResetEdgesOnConnect</h4>
|
|
<pre>public void setResetEdgesOnConnect(boolean value)</pre>
|
|
<div class="block">Sets resetEdgesOnConnect.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoSizeCell(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoSizeCell</h4>
|
|
<pre>public boolean isAutoSizeCell(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label. This implementation returns
|
|
autoSize for all given cells or checks if the cell style does specify
|
|
mxConstants.STYLE_AUTOSIZE to be 1.</div>
|
|
<dl><dt><span class="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 boolean isAutoSizeCells()</pre>
|
|
<div class="block">Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label. This implementation returns
|
|
autoSize for all given cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoSizeCells(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoSizeCells</h4>
|
|
<pre>public void setAutoSizeCells(boolean value)</pre>
|
|
<div class="block">Specifies if cell sizes should be automatically updated after a label
|
|
change. This implementation sets autoSize to the given parameter.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the parent of the given cell should be extended if the
|
|
child has been resized so that it overlaps the parent. This
|
|
implementation returns ExtendParents if cell is not an edge.</div>
|
|
<dl><dt><span class="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 boolean isExtendParents()</pre>
|
|
<div class="block">Returns extendParents.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setExtendParents(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setExtendParents</h4>
|
|
<pre>public void setExtendParents(boolean value)</pre>
|
|
<div class="block">Sets extendParents.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isExtendParentsOnAdd()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isExtendParentsOnAdd</h4>
|
|
<pre>public boolean isExtendParentsOnAdd()</pre>
|
|
<div class="block">Returns extendParentsOnAdd.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setExtendParentsOnAdd(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setExtendParentsOnAdd</h4>
|
|
<pre>public void setExtendParentsOnAdd(boolean value)</pre>
|
|
<div class="block">Sets extendParentsOnAdd.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isConstrainChild(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConstrainChild</h4>
|
|
<pre>public boolean isConstrainChild(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">Returns true if the given cell should be kept inside the bounds of its
|
|
parent according to the rules defined by getOverlap and
|
|
isAllowOverlapParent. This implementation returns false for all children
|
|
of edges and isConstrainChildren() otherwise.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isConstrainChildren()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConstrainChildren</h4>
|
|
<pre>public boolean isConstrainChildren()</pre>
|
|
<div class="block">Returns constrainChildren.</div>
|
|
<dl><dt><span class="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 void setConstrainChildren(boolean 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 boolean isAutoOrigin()</pre>
|
|
<div class="block">Returns autoOrigin.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoOrigin(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoOrigin</h4>
|
|
<pre>public void setAutoOrigin(boolean value)</pre>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getOrigin()</pre>
|
|
<div class="block">Returns origin.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setOrigin(com.mxgraph.util.mxPoint)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setOrigin</h4>
|
|
<pre>public void setOrigin(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> value)</pre>
|
|
<dl><dt><span class="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 int 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 void setChangesRepaintThreshold(int 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 boolean 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 void setAllowNegativeCoordinates(boolean 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 boolean 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 void setCollapseToPreferredSize(boolean 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 boolean 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 void setKeepEdgesInForeground(boolean 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 boolean 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 void setKeepEdgesInBackground(boolean 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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<div class="block">Returns true if the given cell is a valid source for new connections.
|
|
This implementation returns true for all non-null values and is
|
|
called by is called by <isValidConnection>.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> cell)</pre>
|
|
<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>
|
|
<pre>public boolean 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> 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> target)</pre>
|
|
<div class="block">Returns true if the given target cell is a valid target for source.
|
|
This is a boolean implementation for not allowing connections between
|
|
certain pairs of vertices and is called by <getEdgeValidationError>.
|
|
This implementation returns true if <isValidSource> returns true for
|
|
the source and <isValidTarget> returns true for the target.</div>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getMinimumGraphSize()</pre>
|
|
<div class="block">Returns the minimum size of the diagram.</div>
|
|
<dl><dt><span class="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 void setMinimumGraphSize(<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> 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>
|
|
<pre>public double 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> cell)</pre>
|
|
<div class="block">Returns a decimal number representing the amount of the width and height
|
|
of the given cell that is allowed to overlap its parent. A value of 0
|
|
means all children must stay inside the parent, 1 means the child is
|
|
allowed to be placed outside of the parent such that it touches one of
|
|
the parents sides. If <isAllowOverlapParent> returns false for the given
|
|
cell, then this method returns 0.</div>
|
|
<dl><dt><span class="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 double getDefaultOverlap()</pre>
|
|
<div class="block">Gets defaultOverlap.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setDefaultOverlap(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDefaultOverlap</h4>
|
|
<pre>public void setDefaultOverlap(double value)</pre>
|
|
<div class="block">Sets defaultOverlap.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAllowOverlapParent(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAllowOverlapParent</h4>
|
|
<pre>public boolean isAllowOverlapParent(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] cells,
|
|
boolean collapse)</pre>
|
|
<div class="block">Returns the cells which are movable in the given array of cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellFoldable(java.lang.Object, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellFoldable</h4>
|
|
<pre>public boolean isCellFoldable(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell,
|
|
boolean collapse)</pre>
|
|
<div class="block">Returns true if the given cell is expandable. This implementation
|
|
returns true if the cell has at least one child and its style
|
|
does not specify mxConstants.STYLE_FOLDABLE to be 0.</div>
|
|
<dl><dt><span class="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 boolean 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 void setGridEnabled(boolean 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 boolean 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 void setPortsEnabled(boolean 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 int 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 void setGridSize(int value)</pre>
|
|
<div class="block">Sets the grid size and fires a property change event for gridSize.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getAlternateEdgeStyle()</pre>
|
|
<div class="block">Returns alternateEdgeStyle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setAlternateEdgeStyle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAlternateEdgeStyle</h4>
|
|
<pre>public void setAlternateEdgeStyle(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre>
|
|
<div class="block">Sets alternateEdgeStyle.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isValidDropTarget(java.lang.Object, java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isValidDropTarget</h4>
|
|
<pre>public boolean 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> 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>[] cells)</pre>
|
|
<div class="block">Returns true if the given cell is a valid drop target for the specified
|
|
cells. This returns true if the cell is a swimlane, has children and is
|
|
not collapsed, or if splitEnabled is true and isSplitTarget returns
|
|
true for the given arguments</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public boolean 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> 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>[] cells)</pre>
|
|
<div class="block">Returns true if split is enabled and the given edge may be splitted into
|
|
two edges with the given cell as a new terminal between the two.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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>[] 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> 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> cell)</pre>
|
|
<div class="block">Returns the given cell if it is a drop target for the given cells or the
|
|
nearest ancestor that may be used as a drop target for the given cells.
|
|
If the given array contains a swimlane and swimlaneNesting is false
|
|
then this always returns null. If no cell is given, then the bottommost
|
|
swimlane at the location of the given event is returned.
|
|
|
|
This function should only be used if isDropEnabled returns true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDefaultParent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDefaultParent</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getDefaultParent()</pre>
|
|
<div class="block">Returns the first child of the root in the model, that is, the first or
|
|
default layer of the diagram.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> value)</pre>
|
|
<div class="block">Sets the default parent to be returned by getDefaultParent.
|
|
Set this to null to return the first child of the root in
|
|
getDefaultParent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getChildVertices(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getChildVertices</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> parent)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> parent)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> parent)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> parent,
|
|
boolean vertices,
|
|
boolean edges)</pre>
|
|
<div class="block">Returns the visible child vertices or edges in the given parent. If
|
|
vertices and edges is false, then all children are returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.
|
|
If the optional parent argument is specified, then only child
|
|
edges of the given parent are returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent,
|
|
boolean recurse)</pre>
|
|
<div class="block">Returns all visible edges connected to the given cell without loops.
|
|
If the optional parent argument is specified, then only child
|
|
edges of the given parent are returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent)</pre>
|
|
<div class="block">Returns the visible incoming edges for the given cell. If the optional
|
|
parent argument is specified, then only child edges of the given parent
|
|
are returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent)</pre>
|
|
<div class="block">Returns the visible outgoing edges for the given cell. If the optional
|
|
parent argument is specified, then only child edges of the given parent
|
|
are returned.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops)</pre>
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.
|
|
If the optional parent argument is specified, then only edges are returned
|
|
where the opposite is in the given parent cell.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> parent,
|
|
boolean incoming,
|
|
boolean outgoing,
|
|
boolean includeLoops,
|
|
boolean recurse)</pre>
|
|
<div class="block">Returns the incoming and/or outgoing edges for the given cell.
|
|
If the optional parent argument is specified, then only edges are returned
|
|
where the opposite is in the given parent cell.</div>
|
|
<dl><dt><span class="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 child of that parent in order for the edge to be returned. The
|
|
recurse parameter specifies whether or not it must be the direct child
|
|
or the parent just be an ancestral parent.</dd><dd><code>incoming</code> - Specifies if incoming edges should be included in the
|
|
result.</dd><dd><code>outgoing</code> - Specifies if outgoing edges should be included in the
|
|
result.</dd><dd><code>includeLoops</code> - Specifies if loops should be included in the result.</dd><dd><code>recurse</code> - Specifies if the parent specified only need be an ancestral
|
|
parent, <code>true</code>, or the direct parent, <code>false</code></dd>
|
|
<dt><span class="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>
|
|
<pre>public boolean 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> 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> parent,
|
|
boolean recurse)</pre>
|
|
<div class="block">Returns whether or not the specified parent is a valid
|
|
ancestor of the specified cell, either direct or indirectly
|
|
based on whether ancestor recursion is enabled.</div>
|
|
<dl><dt><span class="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
|
|
ancestor of the specified cell, either direct or indirectly
|
|
based on whether ancestor recursion is enabled.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOpposites(java.lang.Object[], java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOpposites</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] 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> terminal)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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>[] 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> terminal,
|
|
boolean sources,
|
|
boolean targets)</pre>
|
|
<div class="block">Returns all distincts visible opposite cells for the specified terminal
|
|
on the given edges.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> target)</pre>
|
|
<div class="block">Returns the edges between the given source and target. This takes into
|
|
account collapsed and invisible cells and returns the connected edges
|
|
as displayed on the screen.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] 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> 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> target,
|
|
boolean directed)</pre>
|
|
<div class="block">Returns the edges between the given source and target. This takes into
|
|
account collapsed and invisible cells and returns the connected edges
|
|
as displayed on the screen.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] getCellsBeyond(double x0,
|
|
double 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> parent,
|
|
boolean rightHalfpane,
|
|
boolean bottomHalfpane)</pre>
|
|
<div class="block">Returns the children of the given parent that are contained in the
|
|
halfpane from the given point (x0, y0) rightwards and downwards
|
|
depending on rightHalfpane and bottomHalfpane.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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> parent)</pre>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges. If the result is empty then the with the greatest
|
|
difference between incoming and outgoing edges is returned. This
|
|
takes into account edges that are being promoted to the given
|
|
root due to invisible children or collapsed cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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> parent,
|
|
boolean isolate)</pre>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges. If the result is empty then the children with the
|
|
maximum difference between incoming and outgoing edges are returned.
|
|
This takes into account edges that are being promoted to the given
|
|
root due to invisible children or collapsed cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> 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> parent,
|
|
boolean isolate,
|
|
boolean invert)</pre>
|
|
<div class="block">Returns all visible children in the given parent which do not have
|
|
incoming edges. If the result is empty then the children with the
|
|
maximum difference between incoming and outgoing edges are returned.
|
|
This takes into account edges that are being promoted to the given
|
|
root due to invisible children or collapsed cells.</div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor)</pre>
|
|
<div class="block">Traverses the tree starting at the given vertex. Here is how to use this
|
|
method for a given vertex (root) which is typically the root of a tree:
|
|
<code>
|
|
graph.traverse(root, true, new mxICellVisitor()
|
|
{
|
|
public boolean visit(Object vertex, Object edge)
|
|
{
|
|
System.out.println("edge="+graph.convertValueToString(edge)+
|
|
" vertex="+graph.convertValueToString(vertex));
|
|
|
|
return true;
|
|
}
|
|
});
|
|
</code></div>
|
|
<dl><dt><span class="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>
|
|
<pre>public void 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> vertex,
|
|
boolean directed,
|
|
<a href="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</a> visitor,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> visited)</pre>
|
|
<div class="block">Traverses the (directed) graph invoking the given function for each
|
|
visited vertex and edge. The function is invoked with the current vertex
|
|
and the incoming edge as a parameter. This implementation makes sure
|
|
each vertex is only visited once. The function may return false if the
|
|
traversal should stop at the given vertex.</div>
|
|
<dl><dt><span class="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 <a href="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</a> getSelectionModel()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCount</h4>
|
|
<pre>public int getSelectionCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isCellSelected(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCellSelected</h4>
|
|
<pre>public boolean isCellSelected(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<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 boolean 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 void clearSelection()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCell()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCell</h4>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getSelectionCell()</pre>
|
|
<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>
|
|
<pre>public void 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> cell)</pre>
|
|
<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>
|
|
<pre>public <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] getSelectionCells()</pre>
|
|
<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>
|
|
<pre>public void 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>[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setSelectionCells(java.util.Collection)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSelectionCells</h4>
|
|
<pre>public void 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><<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> cells)</pre>
|
|
<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>
|
|
<pre>public void 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> cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="addSelectionCells(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addSelectionCells</h4>
|
|
<pre>public void 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>[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeSelectionCell(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeSelectionCell</h4>
|
|
<pre>public void 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> cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeSelectionCells(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeSelectionCells</h4>
|
|
<pre>public void 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>[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="selectNextCell()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectNextCell</h4>
|
|
<pre>public void selectNextCell()</pre>
|
|
<div class="block">Selects the next cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectPreviousCell()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectPreviousCell</h4>
|
|
<pre>public void selectPreviousCell()</pre>
|
|
<div class="block">Selects the previous cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectParentCell()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectParentCell</h4>
|
|
<pre>public void selectParentCell()</pre>
|
|
<div class="block">Selects the parent cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectChildCell()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectChildCell</h4>
|
|
<pre>public void selectChildCell()</pre>
|
|
<div class="block">Selects the first child cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCell(boolean, boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCell</h4>
|
|
<pre>public void selectCell(boolean isNext,
|
|
boolean isParent,
|
|
boolean isChild)</pre>
|
|
<div class="block">Selects the next, parent, first child or previous cell, if all arguments
|
|
are false.</div>
|
|
<dl><dt><span class="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 void selectVertices()</pre>
|
|
<div class="block">Selects all vertices inside the default parent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectVertices(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectVertices</h4>
|
|
<pre>public void selectVertices(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> parent)</pre>
|
|
<div class="block">Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectEdges()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectEdges</h4>
|
|
<pre>public void selectEdges()</pre>
|
|
<div class="block">Selects all vertices inside the default parent.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectEdges(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectEdges</h4>
|
|
<pre>public void selectEdges(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> parent)</pre>
|
|
<div class="block">Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCells(boolean, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCells</h4>
|
|
<pre>public void selectCells(boolean vertices,
|
|
boolean edges)</pre>
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the default parent. Use
|
|
<code>selectAll</code> to select all cells.</div>
|
|
<dl><dt><span class="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 void selectCells(boolean vertices,
|
|
boolean 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> parent)</pre>
|
|
<div class="block">Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the given parent or the default
|
|
parent if no parent is specified. Use <code>selectAll</code> to select
|
|
all cells.</div>
|
|
<dl><dt><span class="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 void selectAll()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="selectAll(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectAll</h4>
|
|
<pre>public void selectAll(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> parent)</pre>
|
|
<div class="block">Selects all children of the given parent cell or the children of the
|
|
default parent if no parent is specified. To select leaf vertices and/or
|
|
edges use <selectCells>.</div>
|
|
<dl><dt><span class="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 void drawGraph(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas)</pre>
|
|
<div class="block">Draws the graph onto the given canvas.</div>
|
|
<dl><dt><span class="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 void drawCell(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> cell)</pre>
|
|
<div class="block">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 void drawState(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
boolean drawLabel)</pre>
|
|
<div class="block">Draws the cell state with the given label onto the canvas. No
|
|
children or descendants are painted here. This method invokes
|
|
cellDrawn after the cell, but not its descendants have been
|
|
painted.</div>
|
|
<dl><dt><span class="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 void cellDrawn(<a href="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</a> canvas,
|
|
<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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> labelElement)</pre>
|
|
<div class="block">Called when a cell has been painted as the specified object, typically a
|
|
DOM node that represents the given cell graphically in a document.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getLinkForCell(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLinkForCell</h4>
|
|
<pre>protected <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> 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> cell)</pre>
|
|
<div class="block">Returns the hyperlink to be used for the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getTargetForCell(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTargetForCell</h4>
|
|
<pre>protected <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> 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> cell)</pre>
|
|
<div class="block">Returns the hyperlink to be used for the given cell.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addPropertyChangeListener(java.beans.PropertyChangeListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addPropertyChangeListener</h4>
|
|
<pre>public void addPropertyChangeListener(<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> 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>
|
|
</li>
|
|
</ul>
|
|
<a name="addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addPropertyChangeListener</h4>
|
|
<pre>public void addPropertyChangeListener(<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> 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> 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>
|
|
</li>
|
|
</ul>
|
|
<a name="removePropertyChangeListener(java.beans.PropertyChangeListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removePropertyChangeListener</h4>
|
|
<pre>public void 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> 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>
|
|
</li>
|
|
</ul>
|
|
<a name="removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removePropertyChangeListener</h4>
|
|
<pre>public void removePropertyChangeListener(<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> 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> 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>
|
|
</li>
|
|
</ul>
|
|
<a name="main(java.lang.String[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>main</h4>
|
|
<pre>public static void 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>[] args)</pre>
|
|
<div class="block">Prints the version number on the console.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><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>
|
|
<div class="aboutLanguage"><em><p><b>mxGraph 3.0.1.1</b></p></em></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><span class="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");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested_class_summary">Nested</a> | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><font size=1>Copyright (c) 2010 <a href="http://www.mxgraph.com/"
|
|
target="_blank">Gaudenz Alder, David Benson</a>. All rights reserved.</font></small></p>
|
|
</body>
|
|
</html>
|