10306 lines
517 KiB
HTML
10306 lines
517 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_43) on Mon Sep 09 15:13:58 CEST 2013 -->
|
|
<TITLE>
|
|
mxGraph (mxGraph 2.1.1.2 API Specification)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2013-09-09">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="mxGraph (mxGraph 2.1.1.2 API Specification)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/mxGraph.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
<p><b>mxGraph 2.1.1.2</b></p></EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?com/mxgraph/view/mxGraph.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="mxGraph.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
com.mxgraph.view</FONT>
|
|
<BR>
|
|
Class mxGraph</H2>
|
|
<PRE>
|
|
<A HREF="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>
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</A>
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.mxgraph.view.mxGraph</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>mxGraph</B><DT>extends <A HREF="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
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.
|
|
<P>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
|
|
<A NAME="nested_class_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Nested Class Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static interface</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view">mxGraph.mxICellVisitor</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.mxgraph.util.<A HREF="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#allowDanglingEdges">allowDanglingEdges</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edges with disconnected terminals are
|
|
allowed in the graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#allowLoops">allowLoops</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if loops (aka self-references) are allowed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#allowNegativeCoordinates">allowNegativeCoordinates</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if negative coordinates for vertices are allowed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#alternateEdgeStyle">alternateEdgeStyle</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the alternate edge style to be used if the main control point
|
|
on an edge is being doubleclicked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#autoOrigin">autoOrigin</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if the origin should be automatically updated.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#autoSizeCells">autoSizeCells</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if the graph should automatically update the cell size
|
|
after an edit.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#border">border</A></B></CODE>
|
|
|
|
<BR>
|
|
Border to be added to the bottom and right side when the container is
|
|
being resized after the graph has been changed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsBendable">cellsBendable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Bendable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsCloneable">cellsCloneable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Cloneable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsDeletable">cellsDeletable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Deletable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsDisconnectable">cellsDisconnectable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCellDisconntableFromTerminal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsEditable">cellsEditable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Editable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsLocked">cellsLocked</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Locked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsMovable">cellsMovable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Movable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsResizable">cellsResizable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Sizable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsSelectable">cellsSelectable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isCell(s)Selectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#changesRepaintThreshold">changesRepaintThreshold</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the maximum number of changes that should be processed to find
|
|
the dirty region.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#changeSupport">changeSupport</A></B></CODE>
|
|
|
|
<BR>
|
|
Property change event handling.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cloneInvalidEdges">cloneInvalidEdges</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edges that are cloned should be validated and only inserted
|
|
if they are valid.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#collapseToPreferredSize">collapseToPreferredSize</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if the cell size should be changed to the preferred size when
|
|
a cell is first collapsed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#connectableEdges">connectableEdges</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edges are connectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#constrainChildren">constrainChildren</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isConstrainChildren.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#defaultLoopStyle">defaultLoopStyle</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the default style for loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected double</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#defaultOverlap">defaultOverlap</A></B></CODE>
|
|
|
|
<BR>
|
|
Value returned by getOverlap if isAllowOverlapParent returns
|
|
true for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#defaultParent">defaultParent</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the default parent to be used to insert new cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#disconnectOnMove">disconnectOnMove</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edges should be disconnected from their terminals when they
|
|
are moved.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#dropEnabled">dropEnabled</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isDropEnabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#edgeLabelsMovable">edgeLabelsMovable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for edges in isLabelMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#enabled">enabled</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isEnabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#extendParents">extendParents</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if a parent should contain the child bounds after a resize of
|
|
the child.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#extendParentsOnAdd">extendParentsOnAdd</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if parents should be extended according to the <extendParents>
|
|
switch if cells are added.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#fullRepaintHandler">fullRepaintHandler</A></B></CODE>
|
|
|
|
<BR>
|
|
Fires repaint events for full repaints.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#graphModelChangeHandler">graphModelChangeHandler</A></B></CODE>
|
|
|
|
<BR>
|
|
Fires repaint events for model changes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#gridEnabled">gridEnabled</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if the grid is enabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#gridSize">gridSize</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the grid size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#htmlLabels">htmlLabels</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isHtmlLabel.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#imageBundles">imageBundles</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the list of bundles.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#keepEdgesInBackground">keepEdgesInBackground</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edges should appear in the background regardless of their
|
|
order in the model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#keepEdgesInForeground">keepEdgesInForeground</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edges should appear in the foreground regardless of their
|
|
order in the model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#labelsClipped">labelsClipped</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for isLabel(s)Clipped.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#labelsVisible">labelsVisible</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if labels should be visible.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#maximumGraphBounds">maximumGraphBounds</A></B></CODE>
|
|
|
|
<BR>
|
|
<mxRectangle> that specifies the area in which all cells in the
|
|
diagram should be placed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#minimumGraphSize">minimumGraphSize</A></B></CODE>
|
|
|
|
<BR>
|
|
mxRectangle that specifies the minimum size of the graph canvas inside
|
|
the scrollpane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#model">model</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the model that contains the cells to be displayed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#multigraph">multigraph</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if multiple edges in the same direction between
|
|
the same pair of vertices are allowed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</A>[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#multiplicities">multiplicities</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the multiplicities to be used for validation of the graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#origin">origin</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the current automatic origin.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnConnect">resetEdgesOnConnect</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edge control points should be reset after
|
|
the the edge has been reconnected.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnMove">resetEdgesOnMove</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if edge control points should be reset after
|
|
the move of a connected cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resetEdgesOnResize">resetEdgesOnResize</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if loops (aka self-references) are allowed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resetViewOnRootChange">resetViewOnRootChange</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if the scale and translate should be reset if
|
|
the root changes in the model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectionModel">selectionModel</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the <mxGraphSelection> that models the current selection.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#splitEnabled">splitEnabled</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if dropping onto edges should be enabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#stylesheet">stylesheet</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the stylesheet that defines the appearance of the cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#swimlaneNesting">swimlaneNesting</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies if nesting of swimlanes is allowed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateOriginHandler">updateOriginHandler</A></B></CODE>
|
|
|
|
<BR>
|
|
Fires repaint events for full repaints.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#VERSION">VERSION</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the version number of this release.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#vertexLabelsMovable">vertexLabelsMovable</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the return value for vertices in isLabelMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#view">view</A></B></CODE>
|
|
|
|
<BR>
|
|
Holds the view that caches the cell states.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="fields_inherited_from_class_com.mxgraph.util.mxEventSource"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Fields inherited from class com.mxgraph.util.<A HREF="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><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></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#mxGraph()">mxGraph</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Constructs a new graph with an empty
|
|
<A HREF="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><CODE>mxGraphModel</CODE></A>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#mxGraph(com.mxgraph.model.mxIGraphModel)">mxGraph</A></B>(<A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A> model)</CODE>
|
|
|
|
<BR>
|
|
Constructs a new graph for the specified model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#mxGraph(com.mxgraph.model.mxIGraphModel, com.mxgraph.view.mxStylesheet)">mxGraph</A></B>(<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>
|
|
|
|
<BR>
|
|
Constructs a new graph for the specified model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#mxGraph(com.mxgraph.view.mxStylesheet)">mxGraph</A></B>(<A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> stylesheet)</CODE>
|
|
|
|
<BR>
|
|
Constructs a new graph for the specified model.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addAllEdges(java.lang.Object[])">addAllEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns an array with the given cells and all edges that are connected
|
|
to a cell or one of its descendants.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addCell(java.lang.Object)">addCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cell to the default parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addCell(java.lang.Object, java.lang.Object)">addCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cell to the parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cell to the parent and connects it to the given source and
|
|
target terminals.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[])">addCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cells to the default parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[], java.lang.Object)">addCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cells to the parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addCells(java.lang.Object[], java.lang.Object, java.lang.Integer)">addCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cells to the parent at the given index.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cells to the parent at the given index, connecting each cell to
|
|
the optional source and target terminal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the edge to the parent and connects it to the given source and
|
|
target terminals.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addImageBundle(com.mxgraph.util.mxImageBundle)">addImageBundle</A></B>(<A HREF="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</A> bundle)</CODE>
|
|
|
|
<BR>
|
|
Adds the specified bundle.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A></B>(<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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">addPropertyChangeListener</A></B>(<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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addSelectionCell(java.lang.Object)">addSelectionCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#addSelectionCells(java.lang.Object[])">addSelectionCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#alignCells(java.lang.String)">alignCells</A></B>(<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>
|
|
|
|
<BR>
|
|
Aligns the selection cells vertically or horizontally according to the
|
|
given alignment.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#alignCells(java.lang.String, java.lang.Object[])">alignCells</A></B>(<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>
|
|
|
|
<BR>
|
|
Aligns the given cells vertically or horizontally according to the given
|
|
alignment.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#alignCells(java.lang.String, java.lang.Object[], java.lang.Object)">alignCells</A></B>(<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>
|
|
|
|
<BR>
|
|
Aligns the given cells vertically or horizontally according to the given
|
|
alignment using the optional parameter as the coordinate.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellConnected(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">cellConnected</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the new terminal for the given edge and resets the edge points if
|
|
isResetEdgesOnConnect returns true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellDrawn(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, java.lang.Object, java.lang.Object)">cellDrawn</A></B>(<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>
|
|
|
|
<BR>
|
|
Called when a cell has been painted as the specified object, typically a
|
|
DOM node that represents the given cell graphically in a document.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellLabelChanged(java.lang.Object, java.lang.Object, boolean)">cellLabelChanged</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the new label for a cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the specified cells to the given parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the specified cells to the given parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsFolded(java.lang.Object[], boolean, boolean)">cellsFolded</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Invokes cellsFoldable with checkFoldable set to false.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsFolded(java.lang.Object[], boolean, boolean, boolean)">cellsFolded</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the collapsed state of the specified cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellSizeUpdated(java.lang.Object, boolean)">cellSizeUpdated</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsMoved(java.lang.Object[], double, double, boolean, boolean)">cellsMoved</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Moves the specified cells by the given vector, disconnecting the cells
|
|
using disconnectGraph if disconnect is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsOrdered(java.lang.Object[], boolean)">cellsOrdered</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Moves the given cells to the front or back.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsRemoved(java.lang.Object[])">cellsRemoved</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Removes the given cells from the model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsResized(java.lang.Object[], com.mxgraph.util.mxRectangle[])">cellsResized</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the bounds of the given cells and fires a <mxEvent.CELLS_RESIZED>
|
|
event.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cellsToggled(java.lang.Object[], boolean)">cellsToggled</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the visible state of the specified cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#clearSelection()">clearSelection</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cloneCells(java.lang.Object[])">cloneCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Clones all cells in the given array.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#cloneCells(java.lang.Object[], boolean)">cloneCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the clones for the given cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#connectCell(java.lang.Object, java.lang.Object, boolean)">connectCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#connectCell(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">connectCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#constrainChild(java.lang.Object)">constrainChild</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Keeps the given cell inside the bounds returned by
|
|
getCellContainmentArea for its parent, according to the rules defined by
|
|
getOverlap and isConstrainChild.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#convertValueToString(java.lang.Object)">convertValueToString</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the textual representation for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Hook method that creates the new edge for insertEdge.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#createGraphView()">createGraphView</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Constructs a new view to be used in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#createGroupCell(java.lang.Object[])">createGroupCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Hook for creating the group cell to hold the given array of <mxCells> if
|
|
no group cell was given to the <group> function.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#createSelectionModel()">createSelectionModel</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Constructs a new selection model to be used in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#createStylesheet()">createStylesheet</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Constructs a new stylesheet to be used in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Hook method that creates the new vertex for insertVertex.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Hook method that creates the new vertex for insertVertex.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#disconnectGraph(java.lang.Object[])">disconnectGraph</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Disconnects the given edges from the terminals which are not in the
|
|
given array.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#drawCell(com.mxgraph.canvas.mxICanvas, java.lang.Object)">drawCell</A></B>(<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>
|
|
|
|
<BR>
|
|
Draws the given cell and its descendants onto the specified canvas.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#drawGraph(com.mxgraph.canvas.mxICanvas)">drawGraph</A></B>(<A HREF="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</A> canvas)</CODE>
|
|
|
|
<BR>
|
|
Draws the graph onto the given canvas.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#drawState(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, boolean)">drawState</A></B>(<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>
|
|
|
|
<BR>
|
|
Draws the cell state with the given label onto the canvas.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#enterGroup()">enterGroup</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#enterGroup(java.lang.Object)">enterGroup</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Uses the given cell as the root of the displayed cell hierarchy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#exitGroup()">exitGroup</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Changes the current root to the next valid root in the displayed cell
|
|
hierarchy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#extendParent(java.lang.Object)">extendParent</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Resizes the parents recursively so that they contain the complete area
|
|
of the resized child cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#findTreeRoots(java.lang.Object)">findTreeRoots</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible children in the given parent which do not have
|
|
incoming edges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#findTreeRoots(java.lang.Object, boolean)">findTreeRoots</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible children in the given parent which do not have
|
|
incoming edges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#findTreeRoots(java.lang.Object, boolean, boolean)">findTreeRoots</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible children in the given parent which do not have
|
|
incoming edges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#flipEdge(java.lang.Object)">flipEdge</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Called when the main control point of the edge is double-clicked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean)">foldCells</A></B>(boolean collapse)</CODE>
|
|
|
|
<BR>
|
|
Sets the collapsed state of the selection cells without recursion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean)">foldCells</A></B>(boolean collapse,
|
|
boolean recurse)</CODE>
|
|
|
|
<BR>
|
|
Sets the collapsed state of the selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean, java.lang.Object[])">foldCells</A></B>(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>
|
|
|
|
<BR>
|
|
Invokes foldCells with checkFoldable set to false.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#foldCells(boolean, boolean, java.lang.Object[], boolean)">foldCells</A></B>(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>
|
|
|
|
<BR>
|
|
Sets the collapsed state of the specified cells and all descendants
|
|
if recurse is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</A>[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getAllConnectionConstraints(com.mxgraph.view.mxCellState, boolean)">getAllConnectionConstraints</A></B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> terminal,
|
|
boolean source)</CODE>
|
|
|
|
<BR>
|
|
Returns an array of all constraints for the given terminal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getAllEdges(java.lang.Object[])">getAllEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all edges connected to the given cells or their descendants.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getAlternateEdgeStyle()">getAlternateEdgeStyle</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns alternateEdgeStyle.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBorder()">getBorder</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the value of <border>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBoundingBox(java.lang.Object)">getBoundingBox</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds of the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBoundingBox(java.lang.Object, boolean)">getBoundingBox</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBoundingBox(java.lang.Object, boolean, boolean)">getBoundingBox</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBoundingBoxFromGeometry(java.lang.Object[])">getBoundingBoxFromGeometry</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounding box for the geometries of the vertices in the
|
|
given array of cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBoundsForCells(java.lang.Object[], boolean, boolean, boolean)">getBoundsForCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds for the given cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getBoundsForGroup(java.lang.Object, java.lang.Object[], double)">getBoundsForGroup</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds to be used for the given group and children.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object)">getCellBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds of the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object, boolean)">getCellBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object, boolean, boolean)">getCellBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellBounds(java.lang.Object, boolean, boolean, boolean)">getCellBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellContainmentArea(java.lang.Object)">getCellContainmentArea</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the mxRectangle inside which a cell is to be kept.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellGeometry(java.lang.Object)">getCellGeometry</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the geometry for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellsBeyond(double, double, java.lang.Object, boolean, boolean)">getCellsBeyond</A></B>(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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellsForGroup(java.lang.Object[])">getCellsForGroup</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the cells with the same parent as the first cell
|
|
in the given array.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellStyle(java.lang.Object)">getCellStyle</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns an array of key, value pairs representing the cell style for the
|
|
given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCellValidationError(java.lang.Object)">getCellValidationError</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Checks all multiplicities that cannot be enforced while the graph is
|
|
being modified, namely, all multiplicities that require a minimum of
|
|
1 edge.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getChangesRepaintThreshold()">getChangesRepaintThreshold</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getChildCells(java.lang.Object)">getChildCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the visible children of the given parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getChildCells(java.lang.Object, boolean, boolean)">getChildCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the visible child vertices or edges in the given parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getChildEdges(java.lang.Object)">getChildEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the visible child edges of the given parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getChildOffsetForCell(java.lang.Object)">getChildOffsetForCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the offset to be used for the cells inside the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getChildVertices(java.lang.Object)">getChildVertices</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the visible child vertices of the given parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCloneableCells(java.lang.Object[])">getCloneableCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the cells which are movable in the given array of cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getConnectionConstraint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)">getConnectionConstraint</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns an connection constraint that describes the given connection
|
|
point.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getConnectionPoint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxConnectionConstraint)">getConnectionPoint</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets the connection constraint that describes the given connection point.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getConnections(java.lang.Object)">getConnections</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible edges connected to the given cell without loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getConnections(java.lang.Object, java.lang.Object)">getConnections</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible edges connected to the given cell without loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getConnections(java.lang.Object, java.lang.Object, boolean)">getConnections</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible edges connected to the given cell without loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getCurrentRoot()">getCurrentRoot</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the current root of the displayed cell hierarchy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getDefaultLoopStyle()">getDefaultLoopStyle</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the default edge style used for loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> double</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getDefaultOverlap()">getDefaultOverlap</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets defaultOverlap.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getDefaultParent()">getDefaultParent</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the first child of the root in the model, that is, the first or
|
|
default layer of the diagram.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getDeletableCells(java.lang.Object[])">getDeletableCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the cells which are movable in the given array of cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getDropTarget(java.lang.Object[], java.awt.Point, java.lang.Object)">getDropTarget</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object)">getEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible edges connected to the given cell including loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object, java.lang.Object)">getEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all visible edges connected to the given cell including loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object, java.lang.Object, boolean, boolean, boolean)">getEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the incoming and/or outgoing edges for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdges(java.lang.Object, java.lang.Object, boolean, boolean, boolean, boolean)">getEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the incoming and/or outgoing edges for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdgesBetween(java.lang.Object, java.lang.Object)">getEdgesBetween</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the edges between the given source and target.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdgesBetween(java.lang.Object, java.lang.Object, boolean)">getEdgesBetween</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the edges between the given source and target.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getEdgeValidationError(java.lang.Object, java.lang.Object, java.lang.Object)">getEdgeValidationError</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the validation error message to be displayed when inserting or
|
|
changing an edges' connectivity.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getFoldableCells(java.lang.Object[], boolean)">getFoldableCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the cells which are movable in the given array of cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getGraphBounds()">getGraphBounds</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the bounds of the visible graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getGridSize()">getGridSize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the grid size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getImage(com.mxgraph.view.mxCellState)">getImage</A></B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
|
|
|
|
<BR>
|
|
Returns the image URL for the given cell state.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getImageBundles()">getImageBundles</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the image bundles</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getImageBundles(java.util.List)">getImageBundles</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns the image bundles</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getImageFromBundles(java.lang.String)">getImageFromBundles</A></B>(<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>
|
|
|
|
<BR>
|
|
Searches all bundles for the specified key and returns the value for the
|
|
first match or null if the key is not found.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getIncomingEdges(java.lang.Object)">getIncomingEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all incoming visible edges connected to the given cell without
|
|
loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getIncomingEdges(java.lang.Object, java.lang.Object)">getIncomingEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the visible incoming edges for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getLabel(java.lang.Object)">getLabel</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns a string or DOM node that represents the label for the given
|
|
cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getLinkForCell(java.lang.Object)">getLinkForCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the hyperlink to be used for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getMaximumGraphBounds()">getMaximumGraphBounds</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getMinimumGraphSize()">getMinimumGraphSize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the minimum size of the diagram.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getModel()">getModel</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the graph model that contains the graph data.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getMovableCells(java.lang.Object[])">getMovableCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the cells which are movable in the given array of cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</A>[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getMultiplicities()">getMultiplicities</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getOpposites(java.lang.Object[], java.lang.Object)">getOpposites</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all distinct visible opposite cells of the terminal on the given
|
|
edges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getOpposites(java.lang.Object[], java.lang.Object, boolean, boolean)">getOpposites</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all distincts visible opposite cells for the specified terminal
|
|
on the given edges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getOrigin()">getOrigin</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns origin.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getOutgoingEdges(java.lang.Object)">getOutgoingEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns all outgoing visible edges connected to the given cell without
|
|
loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getOutgoingEdges(java.lang.Object, java.lang.Object)">getOutgoingEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the visible outgoing edges for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> double</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getOverlap(java.lang.Object)">getOverlap</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns a decimal number representing the amount of the width and height
|
|
of the given cell that is allowed to overlap its parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getPaintBounds(java.lang.Object[])">getPaintBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the bounding box of the given cells and their descendants.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getPreferredSizeForCell(java.lang.Object)">getPreferredSizeForCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the preferred width and height of the given <mxCell> as an
|
|
<mxRectangle>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getRemovedCellsForChanges(java.util.List)">getRemovedCellsForChanges</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns the cells that have been removed from the model.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getSelectionCell()">getSelectionCell</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getSelectionCells()">getSelectionCells</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getSelectionCellsForChanges(java.util.List)">getSelectionCellsForChanges</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns the cells to be selected for the given list of changes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getSelectionCount()">getSelectionCount</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getSelectionModel()">getSelectionModel</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getStartSize(java.lang.Object)">getStartSize</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getStylesheet()">getStylesheet</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the stylesheet that provides the style.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getTargetForCell(java.lang.Object)">getTargetForCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the hyperlink to be used for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getTerminalForPort(java.lang.Object, boolean)">getTerminalForPort</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the terminal to be used for a given port.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getToolTipForCell(java.lang.Object)">getToolTipForCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the tooltip to be used for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getTranslateForRoot(java.lang.Object)">getTranslateForRoot</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the translation to be used if the given cell is the root cell as
|
|
an <mxPoint>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#getView()">getView</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the view that contains the cell states.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#graphModelChanged(com.mxgraph.model.mxIGraphModel, java.util.List)">graphModelChanged</A></B>(<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>
|
|
|
|
<BR>
|
|
Called when the graph model changes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#groupCells()">groupCells</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Groups the selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#groupCells(java.lang.Object)">groupCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Groups the selection cells and adds them to the given group.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#groupCells(java.lang.Object, double)">groupCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Groups the selection cells and adds them to the given group.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#groupCells(java.lang.Object, double, java.lang.Object[])">groupCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Adds the cells into the given group.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#home()">home</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Uses the root of the model as the root of the displayed cell hierarchy
|
|
and selects the previous root.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Creates and adds a new edge with an empty style.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#insertVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double)">insertVertex</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Creates and adds a new vertex with an empty style.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAllowDanglingEdges()">isAllowDanglingEdges</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns allowDanglingEdges</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAllowLoops()">isAllowLoops</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns allowLoops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAllowNegativeCoordinates()">isAllowNegativeCoordinates</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns isAllowNegativeCoordinates.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAllowOverlapParent(java.lang.Object)">isAllowOverlapParent</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is allowed to be placed outside of the
|
|
parents area.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAutoOrigin()">isAutoOrigin</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns autoOrigin.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAutoSizeCell(java.lang.Object)">isAutoSizeCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isAutoSizeCells()">isAutoSizeCells</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the size of the given cell should automatically be
|
|
updated after a change of the label.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellBendable(java.lang.Object)">isCellBendable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is bendable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellCloneable(java.lang.Object)">isCellCloneable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns the constant true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellCollapsed(java.lang.Object)">isCellCollapsed</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is collapsed in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellConnectable(java.lang.Object)">isCellConnectable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is connectable in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellDeletable(java.lang.Object)">isCellDeletable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is movable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellDisconnectable(java.lang.Object, java.lang.Object, boolean)">isCellDisconnectable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is disconnectable from the source or
|
|
target terminal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellEditable(java.lang.Object)">isCellEditable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is movable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellFoldable(java.lang.Object, boolean)">isCellFoldable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is expandable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellLocked(java.lang.Object)">isCellLocked</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell may not be moved, sized, bended,
|
|
disconnected, edited or selected.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellMovable(java.lang.Object)">isCellMovable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is movable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellResizable(java.lang.Object)">isCellResizable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is resizable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsBendable()">isCellsBendable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsBendable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsCloneable()">isCellsCloneable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsCloneable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsDeletable()">isCellsDeletable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsDeletable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsDisconnectable()">isCellsDisconnectable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsDisconnectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsEditable()">isCellsEditable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if editing is allowed in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellSelectable(java.lang.Object)">isCellSelectable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is selectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellSelected(java.lang.Object)">isCellSelected</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsLocked()">isCellsLocked</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsLocked, the default return value for isCellLocked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsMovable()">isCellsMovable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsResizable()">isCellsResizable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the given cell is resizable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellsSelectable()">isCellsSelectable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cellsSelectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCellVisible(java.lang.Object)">isCellVisible</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is visible in this graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCloneInvalidEdges()">isCloneInvalidEdges</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns cloneInvalidEdges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isCollapseToPreferredSize()">isCollapseToPreferredSize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns collapseToPreferredSize.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isConnectableEdges()">isConnectableEdges</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns connectableEdges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isConstrainChild(java.lang.Object)">isConstrainChild</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell should be kept inside the bounds of its
|
|
parent according to the rules defined by getOverlap and
|
|
isAllowOverlapParent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isConstrainChildren()">isConstrainChildren</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns constrainChildren.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isDisconnectOnMove()">isDisconnectOnMove</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns disconnectOnMove</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isDropEnabled()">isDropEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the graph allows drop into other cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isEdgeLabelsMovable()">isEdgeLabelsMovable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns edgeLabelsMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isEdgeValid(java.lang.Object, java.lang.Object, java.lang.Object)">isEdgeValid</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Checks if the return value of getEdgeValidationError for the given
|
|
arguments is null.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isEnabled()">isEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the graph is <enabled>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isExtendParent(java.lang.Object)">isExtendParent</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the parent of the given cell should be extended if the
|
|
child has been resized so that it overlaps the parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isExtendParents()">isExtendParents</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns extendParents.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isExtendParentsOnAdd()">isExtendParentsOnAdd</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns extendParentsOnAdd.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isGridEnabled()">isGridEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if the grid is enabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isHtmlLabel(java.lang.Object)">isHtmlLabel</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the label must be rendered as HTML markup.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isHtmlLabels()">isHtmlLabels</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isKeepEdgesInBackground()">isKeepEdgesInBackground</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isKeepEdgesInForeground()">isKeepEdgesInForeground</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isLabelClipped(java.lang.Object)">isLabelClipped</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the overflow portion of labels should be hidden.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isLabelMovable(java.lang.Object)">isLabelMovable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given edges's label is moveable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isLabelsClipped()">isLabelsClipped</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns labelsClipped.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isLabelsVisible()">isLabelsVisible</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isLoop(com.mxgraph.view.mxCellState)">isLoop</A></B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
|
|
|
|
<BR>
|
|
Returns true if the given cell state is a loop.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isMultigraph()">isMultigraph</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns multigraph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isOrthogonal(com.mxgraph.view.mxCellState)">isOrthogonal</A></B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> edge)</CODE>
|
|
|
|
<BR>
|
|
Returns true if perimeter points should be computed such that the
|
|
resulting edge has only horizontal or vertical segments.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isPort(java.lang.Object)">isPort</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnConnect()">isResetEdgesOnConnect</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns resetEdgesOnConnect.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnMove()">isResetEdgesOnMove</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns resetEdgesOnMove.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isResetEdgesOnResize()">isResetEdgesOnResize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns resetEdgesOnResize.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isResetViewOnRootChange()">isResetViewOnRootChange</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns resetViewOnRootChange.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isSelectionEmpty()">isSelectionEmpty</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isSplitEnabled()">isSplitEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Affects the return values of isValidDropTarget to allow for edges as
|
|
drop targets.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isSplitTarget(java.lang.Object, java.lang.Object[])">isSplitTarget</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isSwimlane(java.lang.Object)">isSwimlane</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is a swimlane.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isSwimlaneNesting()">isSwimlaneNesting</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns swimlaneNesting.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isTerminalPointMovable(java.lang.Object, boolean)">isTerminalPointMovable</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Function: isTerminalPointMovable
|
|
|
|
Returns true if the given terminal point is movable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isValidAncestor(java.lang.Object, java.lang.Object, boolean)">isValidAncestor</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isValidConnection(java.lang.Object, java.lang.Object)">isValidConnection</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given target cell is a valid target for source.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isValidDropTarget(java.lang.Object, java.lang.Object[])">isValidDropTarget</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is a valid drop target for the specified
|
|
cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isValidRoot(java.lang.Object)">isValidRoot</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is a valid root for the cell display
|
|
hierarchy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isValidSource(java.lang.Object)">isValidSource</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns true if the given cell is a valid source for new connections.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isValidTarget(java.lang.Object)">isValidTarget</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Returns isValidSource for the given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#isVertexLabelsMovable()">isVertexLabelsMovable</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns vertexLabelsMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#main(java.lang.String[])">main</A></B>(<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>
|
|
|
|
<BR>
|
|
Prints the version number on the console.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#moveCells(java.lang.Object[], double, double)">moveCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Moves the cells by the given amount.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#moveCells(java.lang.Object[], double, double, boolean)">moveCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Moves or clones the cells and moves the cells or clones by the given
|
|
amount.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#moveCells(java.lang.Object[], double, double, boolean, java.lang.Object, java.awt.Point)">moveCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Moves or clones the specified cells and moves the cells or clones by the
|
|
given amount, adding them to the optional target cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#orderCells(boolean)">orderCells</A></B>(boolean back)</CODE>
|
|
|
|
<BR>
|
|
Moves the selection cells to the front or back.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#orderCells(boolean, java.lang.Object[])">orderCells</A></B>(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>
|
|
|
|
<BR>
|
|
Moves the given cells to the front or back.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#postProcessCellStyle(java.util.Map)">postProcessCellStyle</A></B>(<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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#processChange(com.mxgraph.util.mxUndoableEdit.mxUndoableChange, boolean, boolean)">processChange</A></B>(<A HREF="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</A> change,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</CODE>
|
|
|
|
<BR>
|
|
Processes the given change and invalidates the respective cached data
|
|
in <view>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#processChanges(java.util.List, boolean, boolean)">processChanges</A></B>(<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>
|
|
|
|
<BR>
|
|
Processes the changes and returns the minimal rectangle to be
|
|
repainted in the buffer.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#refresh()">refresh</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Clears all cell states or the states for the hierarchy starting at the
|
|
given cell and validates the graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeCells()">removeCells</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Removes the selection cells from the graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeCells(java.lang.Object[])">removeCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Removes the given cells from the graph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeCells(java.lang.Object[], boolean)">removeCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Removes the given cells from the graph including all connected edges if
|
|
includeEdges is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeCellsFromParent()">removeCellsFromParent</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Removes the selection cells from their parents and adds them to the
|
|
default parent returned by getDefaultParent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeCellsFromParent(java.lang.Object[])">removeCellsFromParent</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Removes the specified cells from their parents and adds them to the
|
|
default parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeImageBundle(com.mxgraph.util.mxImageBundle)">removeImageBundle</A></B>(<A HREF="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</A> bundle)</CODE>
|
|
|
|
<BR>
|
|
Removes the specified bundle.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(<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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(<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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeSelectionCell(java.lang.Object)">removeSelectionCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeSelectionCells(java.lang.Object[])">removeSelectionCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#removeStateForCell(java.lang.Object)">removeStateForCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Removes all cached information for the given cell and its descendants.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#repaint()">repaint</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Fires a repaint event.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#repaint(com.mxgraph.util.mxRectangle)">repaint</A></B>(<A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> region)</CODE>
|
|
|
|
<BR>
|
|
Fires a repaint event.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resetEdge(java.lang.Object)">resetEdge</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Resets the control points of the given edge.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resetEdges(java.lang.Object[])">resetEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resizeCell(java.lang.Object, com.mxgraph.util.mxRectangle)">resizeCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the bounds of the given cell using resizeCells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#resizeCells(java.lang.Object[], com.mxgraph.util.mxRectangle[])">resizeCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS
|
|
event.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectAll()">selectAll</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectAll(java.lang.Object)">selectAll</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Selects all children of the given parent cell or the children of the
|
|
default parent if no parent is specified.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectCell(boolean, boolean, boolean)">selectCell</A></B>(boolean isNext,
|
|
boolean isParent,
|
|
boolean isChild)</CODE>
|
|
|
|
<BR>
|
|
Selects the next, parent, first child or previous cell, if all arguments
|
|
are false.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectCells(boolean, boolean)">selectCells</A></B>(boolean vertices,
|
|
boolean edges)</CODE>
|
|
|
|
<BR>
|
|
Selects all vertices and/or edges depending on the given boolean
|
|
arguments recursively, starting at the default parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectCells(boolean, boolean, java.lang.Object)">selectCells</A></B>(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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectChildCell()">selectChildCell</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Selects the first child cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectEdges()">selectEdges</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Selects all vertices inside the default parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectEdges(java.lang.Object)">selectEdges</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectNextCell()">selectNextCell</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Selects the next cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectParentCell()">selectParentCell</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Selects the parent cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectPreviousCell()">selectPreviousCell</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Selects the previous cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectVertices()">selectVertices</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Selects all vertices inside the default parent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#selectVertices(java.lang.Object)">selectVertices</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setAllowDanglingEdges(boolean)">setAllowDanglingEdges</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets allowDanglingEdges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setAllowLoops(boolean)">setAllowLoops</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets allowLoops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setAllowNegativeCoordinates(boolean)">setAllowNegativeCoordinates</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setAlternateEdgeStyle(java.lang.String)">setAlternateEdgeStyle</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets alternateEdgeStyle.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setAutoOrigin(boolean)">setAutoOrigin</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setAutoSizeCells(boolean)">setAutoSizeCells</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Specifies if cell sizes should be automatically updated after a label
|
|
change.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setBorder(int)">setBorder</A></B>(int value)</CODE>
|
|
|
|
<BR>
|
|
Sets the value of <border>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsBendable(boolean)">setCellsBendable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cellsBendable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsCloneable(boolean)">setCellsCloneable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Specifies if the graph should allow cloning of cells by holding down the
|
|
control key while cells are being moved.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsDeletable(boolean)">setCellsDeletable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cellsDeletable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsDisconnectable(boolean)">setCellsDisconnectable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cellsDisconnectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsEditable(boolean)">setCellsEditable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets if the graph is editable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsLocked(boolean)">setCellsLocked</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cellsLocked, the default return value for isCellLocked and fires a
|
|
property change event for cellsLocked.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsMovable(boolean)">setCellsMovable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cellsMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsResizable(boolean)">setCellsResizable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets if the graph is resizable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellsSelectable(boolean)">setCellsSelectable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cellsSelectable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellStyle(java.lang.String)">setCellStyle</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets the style of the selection cells to the given value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellStyle(java.lang.String, java.lang.Object[])">setCellStyle</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets the style of the specified cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellStyleFlags(java.lang.String, int, boolean)">setCellStyleFlags</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets or toggles the given bit for the given key in the styles of the
|
|
selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellStyleFlags(java.lang.String, int, java.lang.Boolean, java.lang.Object[])">setCellStyleFlags</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets or toggles the given bit for the given key in the styles of the
|
|
specified cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellStyles(java.lang.String, java.lang.String)">setCellStyles</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets the key to value in the styles of the selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCellStyles(java.lang.String, java.lang.String, java.lang.Object[])">setCellStyles</A></B>(<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>
|
|
|
|
<BR>
|
|
Sets the key to value in the styles of the given cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setChangesRepaintThreshold(int)">setChangesRepaintThreshold</A></B>(int value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCloneInvalidEdges(boolean)">setCloneInvalidEdges</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets cloneInvalidEdge.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setCollapseToPreferredSize(boolean)">setCollapseToPreferredSize</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setConnectableEdges(boolean)">setConnectableEdges</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets connetableEdges.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setConnectionConstraint(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)">setConnectionConstraint</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the connection constraint that describes the given connection point.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setConstrainChildren(boolean)">setConstrainChildren</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setDefaultLoopStyle(com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction)">setDefaultLoopStyle</A></B>(<A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</A> value)</CODE>
|
|
|
|
<BR>
|
|
Sets the default style used for loops.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setDefaultOverlap(double)">setDefaultOverlap</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Sets defaultOverlap.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setDefaultParent(java.lang.Object)">setDefaultParent</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Sets the default parent to be returned by getDefaultParent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setDisconnectOnMove(boolean)">setDisconnectOnMove</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets disconnectOnMove.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setDropEnabled(boolean)">setDropEnabled</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets dropEnabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setEdgeLabelsMovable(boolean)">setEdgeLabelsMovable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Returns edgeLabelsMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setEnabled(boolean)">setEnabled</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Specifies if the graph should allow any interactions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setExtendParents(boolean)">setExtendParents</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets extendParents.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setExtendParentsOnAdd(boolean)">setExtendParentsOnAdd</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets extendParentsOnAdd.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setGridEnabled(boolean)">setGridEnabled</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets if the grid is enabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setGridSize(int)">setGridSize</A></B>(int value)</CODE>
|
|
|
|
<BR>
|
|
Sets the grid size and fires a property change event for gridSize.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setHtmlLabels(boolean)">setHtmlLabels</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setKeepEdgesInBackground(boolean)">setKeepEdgesInBackground</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setKeepEdgesInForeground(boolean)">setKeepEdgesInForeground</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setLabelsClipped(boolean)">setLabelsClipped</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets labelsClipped.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setLabelsVisible(boolean)">setLabelsVisible</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setMaximumGraphBounds(com.mxgraph.util.mxRectangle)">setMaximumGraphBounds</A></B>(<A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setMinimumGraphSize(com.mxgraph.util.mxRectangle)">setMinimumGraphSize</A></B>(<A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setModel(com.mxgraph.model.mxIGraphModel)">setModel</A></B>(<A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A> value)</CODE>
|
|
|
|
<BR>
|
|
Sets the graph model that contains the data, and fires an
|
|
mxEvent.CHANGE followed by an mxEvent.REPAINT event.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setMultigraph(boolean)">setMultigraph</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets multigraph.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setMultiplicities(com.mxgraph.view.mxMultiplicity[])">setMultiplicities</A></B>(<A HREF="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</A>[] value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setOrigin(com.mxgraph.util.mxPoint)">setOrigin</A></B>(<A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> value)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnConnect(boolean)">setResetEdgesOnConnect</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets resetEdgesOnConnect.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnMove(boolean)">setResetEdgesOnMove</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets resetEdgesOnMove.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setResetEdgesOnResize(boolean)">setResetEdgesOnResize</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets resetEdgesOnResize.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setResetViewOnRootChange(boolean)">setResetViewOnRootChange</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets resetEdgesOnResize.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setSelectionCell(java.lang.Object)">setSelectionCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setSelectionCells(java.util.Collection)">setSelectionCells</A></B>(<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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setSelectionCells(java.lang.Object[])">setSelectionCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setSplitEnabled(boolean)">setSplitEnabled</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets splitEnabled.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setStylesheet(com.mxgraph.view.mxStylesheet)">setStylesheet</A></B>(<A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> value)</CODE>
|
|
|
|
<BR>
|
|
Sets the stylesheet that provides the style.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setSwimlaneNesting(boolean)">setSwimlaneNesting</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets swimlaneNesting.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setVertexLabelsMovable(boolean)">setVertexLabelsMovable</A></B>(boolean value)</CODE>
|
|
|
|
<BR>
|
|
Sets vertexLabelsMovable.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#setView(com.mxgraph.view.mxGraphView)">setView</A></B>(<A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A> value)</CODE>
|
|
|
|
<BR>
|
|
Sets the view that contains the cell states.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> double</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#snap(double)">snap</A></B>(double value)</CODE>
|
|
|
|
<BR>
|
|
Snaps the given numeric value to the grid if <gridEnabled> is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#splitEdge(java.lang.Object, java.lang.Object[])">splitEdge</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#splitEdge(java.lang.Object, java.lang.Object[], double, double)">splitEdge</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#splitEdge(java.lang.Object, java.lang.Object[], java.lang.Object, double, double)">splitEdge</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
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.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#swapBounds(java.lang.Object, boolean)">swapBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Swaps the alternate and the actual bounds in the geometry of the given
|
|
cell invoking updateAlternateBounds before carrying out the swap.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean)">toggleCells</A></B>(boolean show)</CODE>
|
|
|
|
<BR>
|
|
Sets the visible state of the selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean, java.lang.Object[])">toggleCells</A></B>(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>
|
|
|
|
<BR>
|
|
Sets the visible state of the specified cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCells(boolean, java.lang.Object[], boolean)">toggleCells</A></B>(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>
|
|
|
|
<BR>
|
|
Sets the visible state of the specified cells and all connected edges
|
|
if includeEdges is true.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCellStyle(java.lang.String, boolean, java.lang.Object)">toggleCellStyle</A></B>(<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>
|
|
|
|
<BR>
|
|
Toggles the boolean value for the given key in the style of the
|
|
given cell.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCellStyleFlags(java.lang.String, int)">toggleCellStyleFlags</A></B>(<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>
|
|
|
|
<BR>
|
|
Toggles the given bit for the given key in the styles of the selection
|
|
cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCellStyleFlags(java.lang.String, int, java.lang.Object[])">toggleCellStyleFlags</A></B>(<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>
|
|
|
|
<BR>
|
|
Toggles the given bit for the given key in the styles of the specified
|
|
cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCellStyles(java.lang.String, boolean)">toggleCellStyles</A></B>(<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>
|
|
|
|
<BR>
|
|
Toggles the boolean value for the given key in the style of the
|
|
selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#toggleCellStyles(java.lang.String, boolean, java.lang.Object[])">toggleCellStyles</A></B>(<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>
|
|
|
|
<BR>
|
|
Toggles the boolean value for the given key in the style of the given
|
|
cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#translateCell(java.lang.Object, double, double)">translateCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Translates the geometry of the given cell and stores the new,
|
|
translated geometry in the model as an atomic change.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#traverse(java.lang.Object, boolean, com.mxgraph.view.mxGraph.mxICellVisitor)">traverse</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Traverses the tree starting at the given vertex.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><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></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Traverses the (directed) graph invoking the given function for each
|
|
visited vertex and edge.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#ungroupCells()">ungroupCells</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Ungroups the selection cells.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#ungroupCells(java.lang.Object[])">ungroupCells</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Ungroups the given cells by moving the children the children to their
|
|
parents parent and removing the empty groups.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateAlternateBounds(java.lang.Object, com.mxgraph.model.mxGeometry, boolean)">updateAlternateBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates or sets the alternate bounds in the given geometry for the given
|
|
cell depending on whether the cell is going to be collapsed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateCellSize(java.lang.Object)">updateCellSize</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateCellSize(java.lang.Object, boolean)">updateCellSize</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds()">updateGroupBounds</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds(java.lang.Object[])">updateGroupBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds(java.lang.Object[], int)">updateGroupBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateGroupBounds(java.lang.Object[], int, boolean)">updateGroupBounds</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#updateOrigin()">updateOrigin</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Extends the canvas by doing another validation with a shifted
|
|
global translation if the bounds of the graph are below (0,0).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#validateCell(java.lang.Object, java.util.Hashtable)">validateCell</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Hook method for subclassers to return an error message for the given
|
|
cell and validation context.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<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></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/mxgraph/view/mxGraph.html#validateEdge(java.lang.Object, java.lang.Object, java.lang.Object)">validateEdge</A></B>(<A HREF="http://download.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>
|
|
|
|
<BR>
|
|
Hook method for subclassers to return an error message for the given
|
|
edge and terminals.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_com.mxgraph.util.mxEventSource"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class com.mxgraph.util.<A HREF="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><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></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>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></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><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></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="VERSION"><!-- --></A><H3>
|
|
VERSION</H3>
|
|
<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> <B>VERSION</B></PRE>
|
|
<DL>
|
|
<DD>Holds the version number of this release. Current version
|
|
is 2.1.1.2.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.mxgraph.view.mxGraph.VERSION">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="changeSupport"><!-- --></A><H3>
|
|
changeSupport</H3>
|
|
<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> <B>changeSupport</B></PRE>
|
|
<DL>
|
|
<DD>Property change event handling.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="model"><!-- --></A><H3>
|
|
model</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A> <B>model</B></PRE>
|
|
<DL>
|
|
<DD>Holds the model that contains the cells to be displayed.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="view"><!-- --></A><H3>
|
|
view</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A> <B>view</B></PRE>
|
|
<DL>
|
|
<DD>Holds the view that caches the cell states.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="stylesheet"><!-- --></A><H3>
|
|
stylesheet</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> <B>stylesheet</B></PRE>
|
|
<DL>
|
|
<DD>Holds the stylesheet that defines the appearance of the cells.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectionModel"><!-- --></A><H3>
|
|
selectionModel</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</A> <B>selectionModel</B></PRE>
|
|
<DL>
|
|
<DD>Holds the <mxGraphSelection> that models the current selection.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="gridSize"><!-- --></A><H3>
|
|
gridSize</H3>
|
|
<PRE>
|
|
protected int <B>gridSize</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the grid size. Default is 10.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="gridEnabled"><!-- --></A><H3>
|
|
gridEnabled</H3>
|
|
<PRE>
|
|
protected boolean <B>gridEnabled</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if the grid is enabled. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="defaultOverlap"><!-- --></A><H3>
|
|
defaultOverlap</H3>
|
|
<PRE>
|
|
protected double <B>defaultOverlap</B></PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="defaultParent"><!-- --></A><H3>
|
|
defaultParent</H3>
|
|
<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> <B>defaultParent</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the default parent to be used to insert new cells.
|
|
This is used in getDefaultParent. Default is null.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="alternateEdgeStyle"><!-- --></A><H3>
|
|
alternateEdgeStyle</H3>
|
|
<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> <B>alternateEdgeStyle</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the alternate edge style to be used if the main control point
|
|
on an edge is being doubleclicked. Default is null.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="enabled"><!-- --></A><H3>
|
|
enabled</H3>
|
|
<PRE>
|
|
protected boolean <B>enabled</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isEnabled. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsLocked"><!-- --></A><H3>
|
|
cellsLocked</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsLocked</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Locked. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsEditable"><!-- --></A><H3>
|
|
cellsEditable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsEditable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Editable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsResizable"><!-- --></A><H3>
|
|
cellsResizable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsResizable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Sizable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsMovable"><!-- --></A><H3>
|
|
cellsMovable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsMovable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Movable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsBendable"><!-- --></A><H3>
|
|
cellsBendable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsBendable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Bendable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsSelectable"><!-- --></A><H3>
|
|
cellsSelectable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsSelectable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Selectable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsDeletable"><!-- --></A><H3>
|
|
cellsDeletable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsDeletable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Deletable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsCloneable"><!-- --></A><H3>
|
|
cellsCloneable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsCloneable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCell(s)Cloneable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsDisconnectable"><!-- --></A><H3>
|
|
cellsDisconnectable</H3>
|
|
<PRE>
|
|
protected boolean <B>cellsDisconnectable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isCellDisconntableFromTerminal. Default
|
|
is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="labelsClipped"><!-- --></A><H3>
|
|
labelsClipped</H3>
|
|
<PRE>
|
|
protected boolean <B>labelsClipped</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isLabel(s)Clipped. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="edgeLabelsMovable"><!-- --></A><H3>
|
|
edgeLabelsMovable</H3>
|
|
<PRE>
|
|
protected boolean <B>edgeLabelsMovable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for edges in isLabelMovable. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="vertexLabelsMovable"><!-- --></A><H3>
|
|
vertexLabelsMovable</H3>
|
|
<PRE>
|
|
protected boolean <B>vertexLabelsMovable</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for vertices in isLabelMovable. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="dropEnabled"><!-- --></A><H3>
|
|
dropEnabled</H3>
|
|
<PRE>
|
|
protected boolean <B>dropEnabled</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isDropEnabled. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="splitEnabled"><!-- --></A><H3>
|
|
splitEnabled</H3>
|
|
<PRE>
|
|
protected boolean <B>splitEnabled</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if dropping onto edges should be enabled. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="autoSizeCells"><!-- --></A><H3>
|
|
autoSizeCells</H3>
|
|
<PRE>
|
|
protected boolean <B>autoSizeCells</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if the graph should automatically update the cell size
|
|
after an edit. This is used in isAutoSizeCell. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="maximumGraphBounds"><!-- --></A><H3>
|
|
maximumGraphBounds</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>maximumGraphBounds</B></PRE>
|
|
<DL>
|
|
<DD><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.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="minimumGraphSize"><!-- --></A><H3>
|
|
minimumGraphSize</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>minimumGraphSize</B></PRE>
|
|
<DL>
|
|
<DD>mxRectangle that specifies the minimum size of the graph canvas inside
|
|
the scrollpane.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="border"><!-- --></A><H3>
|
|
border</H3>
|
|
<PRE>
|
|
protected int <B>border</B></PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="keepEdgesInForeground"><!-- --></A><H3>
|
|
keepEdgesInForeground</H3>
|
|
<PRE>
|
|
protected boolean <B>keepEdgesInForeground</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edges should appear in the foreground regardless of their
|
|
order in the model. This has precendence over keepEdgeInBackground
|
|
Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="keepEdgesInBackground"><!-- --></A><H3>
|
|
keepEdgesInBackground</H3>
|
|
<PRE>
|
|
protected boolean <B>keepEdgesInBackground</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edges should appear in the background regardless of their
|
|
order in the model. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="collapseToPreferredSize"><!-- --></A><H3>
|
|
collapseToPreferredSize</H3>
|
|
<PRE>
|
|
protected boolean <B>collapseToPreferredSize</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if the cell size should be changed to the preferred size when
|
|
a cell is first collapsed. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="allowNegativeCoordinates"><!-- --></A><H3>
|
|
allowNegativeCoordinates</H3>
|
|
<PRE>
|
|
protected boolean <B>allowNegativeCoordinates</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if negative coordinates for vertices are allowed. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="constrainChildren"><!-- --></A><H3>
|
|
constrainChildren</H3>
|
|
<PRE>
|
|
protected boolean <B>constrainChildren</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isConstrainChildren. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="extendParents"><!-- --></A><H3>
|
|
extendParents</H3>
|
|
<PRE>
|
|
protected boolean <B>extendParents</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if a parent should contain the child bounds after a resize of
|
|
the child. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="extendParentsOnAdd"><!-- --></A><H3>
|
|
extendParentsOnAdd</H3>
|
|
<PRE>
|
|
protected boolean <B>extendParentsOnAdd</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if parents should be extended according to the <extendParents>
|
|
switch if cells are added. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetViewOnRootChange"><!-- --></A><H3>
|
|
resetViewOnRootChange</H3>
|
|
<PRE>
|
|
protected boolean <B>resetViewOnRootChange</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if the scale and translate should be reset if
|
|
the root changes in the model. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetEdgesOnResize"><!-- --></A><H3>
|
|
resetEdgesOnResize</H3>
|
|
<PRE>
|
|
protected boolean <B>resetEdgesOnResize</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if loops (aka self-references) are allowed.
|
|
Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetEdgesOnMove"><!-- --></A><H3>
|
|
resetEdgesOnMove</H3>
|
|
<PRE>
|
|
protected boolean <B>resetEdgesOnMove</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edge control points should be reset after
|
|
the move of a connected cell. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetEdgesOnConnect"><!-- --></A><H3>
|
|
resetEdgesOnConnect</H3>
|
|
<PRE>
|
|
protected boolean <B>resetEdgesOnConnect</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edge control points should be reset after
|
|
the the edge has been reconnected. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="allowLoops"><!-- --></A><H3>
|
|
allowLoops</H3>
|
|
<PRE>
|
|
protected boolean <B>allowLoops</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if loops (aka self-references) are allowed.
|
|
Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="multiplicities"><!-- --></A><H3>
|
|
multiplicities</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</A>[] <B>multiplicities</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the multiplicities to be used for validation of the graph.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="defaultLoopStyle"><!-- --></A><H3>
|
|
defaultLoopStyle</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</A> <B>defaultLoopStyle</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the default style for loops.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="multigraph"><!-- --></A><H3>
|
|
multigraph</H3>
|
|
<PRE>
|
|
protected boolean <B>multigraph</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if multiple edges in the same direction between
|
|
the same pair of vertices are allowed. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="connectableEdges"><!-- --></A><H3>
|
|
connectableEdges</H3>
|
|
<PRE>
|
|
protected boolean <B>connectableEdges</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edges are connectable. Default is false.
|
|
This overrides the connectable field in edges.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="allowDanglingEdges"><!-- --></A><H3>
|
|
allowDanglingEdges</H3>
|
|
<PRE>
|
|
protected boolean <B>allowDanglingEdges</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edges with disconnected terminals are
|
|
allowed in the graph. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cloneInvalidEdges"><!-- --></A><H3>
|
|
cloneInvalidEdges</H3>
|
|
<PRE>
|
|
protected boolean <B>cloneInvalidEdges</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edges that are cloned should be validated and only inserted
|
|
if they are valid. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="disconnectOnMove"><!-- --></A><H3>
|
|
disconnectOnMove</H3>
|
|
<PRE>
|
|
protected boolean <B>disconnectOnMove</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if edges should be disconnected from their terminals when they
|
|
are moved. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="labelsVisible"><!-- --></A><H3>
|
|
labelsVisible</H3>
|
|
<PRE>
|
|
protected boolean <B>labelsVisible</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if labels should be visible. This is used in
|
|
getLabel. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="htmlLabels"><!-- --></A><H3>
|
|
htmlLabels</H3>
|
|
<PRE>
|
|
protected boolean <B>htmlLabels</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the return value for isHtmlLabel. Default is false.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="swimlaneNesting"><!-- --></A><H3>
|
|
swimlaneNesting</H3>
|
|
<PRE>
|
|
protected boolean <B>swimlaneNesting</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if nesting of swimlanes is allowed. Default is true.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="changesRepaintThreshold"><!-- --></A><H3>
|
|
changesRepaintThreshold</H3>
|
|
<PRE>
|
|
protected int <B>changesRepaintThreshold</B></PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="autoOrigin"><!-- --></A><H3>
|
|
autoOrigin</H3>
|
|
<PRE>
|
|
protected boolean <B>autoOrigin</B></PRE>
|
|
<DL>
|
|
<DD>Specifies if the origin should be automatically updated.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="origin"><!-- --></A><H3>
|
|
origin</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> <B>origin</B></PRE>
|
|
<DL>
|
|
<DD>Holds the current automatic origin.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="imageBundles"><!-- --></A><H3>
|
|
imageBundles</H3>
|
|
<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>> <B>imageBundles</B></PRE>
|
|
<DL>
|
|
<DD>Holds the list of bundles.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="fullRepaintHandler"><!-- --></A><H3>
|
|
fullRepaintHandler</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> <B>fullRepaintHandler</B></PRE>
|
|
<DL>
|
|
<DD>Fires repaint events for full repaints.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateOriginHandler"><!-- --></A><H3>
|
|
updateOriginHandler</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> <B>updateOriginHandler</B></PRE>
|
|
<DL>
|
|
<DD>Fires repaint events for full repaints.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="graphModelChangeHandler"><!-- --></A><H3>
|
|
graphModelChangeHandler</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> <B>graphModelChangeHandler</B></PRE>
|
|
<DL>
|
|
<DD>Fires repaint events for model changes.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="mxGraph()"><!-- --></A><H3>
|
|
mxGraph</H3>
|
|
<PRE>
|
|
public <B>mxGraph</B>()</PRE>
|
|
<DL>
|
|
<DD>Constructs a new graph with an empty
|
|
<A HREF="../../../com/mxgraph/model/mxGraphModel.html" title="class in com.mxgraph.model"><CODE>mxGraphModel</CODE></A>.
|
|
<P>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="mxGraph(com.mxgraph.model.mxIGraphModel)"><!-- --></A><H3>
|
|
mxGraph</H3>
|
|
<PRE>
|
|
public <B>mxGraph</B>(<A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A> model)</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the graph data</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="mxGraph(com.mxgraph.view.mxStylesheet)"><!-- --></A><H3>
|
|
mxGraph</H3>
|
|
<PRE>
|
|
public <B>mxGraph</B>(<A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> stylesheet)</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>stylesheet</CODE> - The stylesheet to use for the graph.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="mxGraph(com.mxgraph.model.mxIGraphModel, com.mxgraph.view.mxStylesheet)"><!-- --></A><H3>
|
|
mxGraph</H3>
|
|
<PRE>
|
|
public <B>mxGraph</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>model</CODE> - Model that contains the graph data</DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="createSelectionModel()"><!-- --></A><H3>
|
|
createSelectionModel</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</A> <B>createSelectionModel</B>()</PRE>
|
|
<DL>
|
|
<DD>Constructs a new selection model to be used in this graph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createStylesheet()"><!-- --></A><H3>
|
|
createStylesheet</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> <B>createStylesheet</B>()</PRE>
|
|
<DL>
|
|
<DD>Constructs a new stylesheet to be used in this graph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createGraphView()"><!-- --></A><H3>
|
|
createGraphView</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A> <B>createGraphView</B>()</PRE>
|
|
<DL>
|
|
<DD>Constructs a new view to be used in this graph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getModel()"><!-- --></A><H3>
|
|
getModel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A> <B>getModel</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the graph model that contains the graph data.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the model that contains the graph data</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setModel(com.mxgraph.model.mxIGraphModel)"><!-- --></A><H3>
|
|
setModel</H3>
|
|
<PRE>
|
|
public void <B>setModel</B>(<A HREF="../../../com/mxgraph/model/mxIGraphModel.html" title="interface in com.mxgraph.model">mxIGraphModel</A> value)</PRE>
|
|
<DL>
|
|
<DD>Sets the graph model that contains the data, and fires an
|
|
mxEvent.CHANGE followed by an mxEvent.REPAINT event.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Model that contains the graph data</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getView()"><!-- --></A><H3>
|
|
getView</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A> <B>getView</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the view that contains the cell states.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the view that contains the cell states</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setView(com.mxgraph.view.mxGraphView)"><!-- --></A><H3>
|
|
setView</H3>
|
|
<PRE>
|
|
public void <B>setView</B>(<A HREF="../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</A> value)</PRE>
|
|
<DL>
|
|
<DD>Sets the view that contains the cell states.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - View that contains the cell states</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getStylesheet()"><!-- --></A><H3>
|
|
getStylesheet</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> <B>getStylesheet</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the stylesheet that provides the style.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the stylesheet that provides the style.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setStylesheet(com.mxgraph.view.mxStylesheet)"><!-- --></A><H3>
|
|
setStylesheet</H3>
|
|
<PRE>
|
|
public void <B>setStylesheet</B>(<A HREF="../../../com/mxgraph/view/mxStylesheet.html" title="class in com.mxgraph.view">mxStylesheet</A> value)</PRE>
|
|
<DL>
|
|
<DD>Sets the stylesheet that provides the style.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Stylesheet that provides the style.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSelectionCellsForChanges(java.util.List)"><!-- --></A><H3>
|
|
getSelectionCellsForChanges</H3>
|
|
<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>[] <B>getSelectionCellsForChanges</B>(<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>
|
|
<DL>
|
|
<DD>Returns the cells to be selected for the given list of changes.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="graphModelChanged(com.mxgraph.model.mxIGraphModel, java.util.List)"><!-- --></A><H3>
|
|
graphModelChanged</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>graphModelChanged</B>(<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>
|
|
<DL>
|
|
<DD>Called when the graph model changes. Invokes processChange on each
|
|
item of the given array to update the view accordingly.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateOrigin()"><!-- --></A><H3>
|
|
updateOrigin</H3>
|
|
<PRE>
|
|
protected void <B>updateOrigin</B>()</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getRemovedCellsForChanges(java.util.List)"><!-- --></A><H3>
|
|
getRemovedCellsForChanges</H3>
|
|
<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>[] <B>getRemovedCellsForChanges</B>(<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>
|
|
<DL>
|
|
<DD>Returns the cells that have been removed from the model.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="processChanges(java.util.List, boolean, boolean)"><!-- --></A><H3>
|
|
processChanges</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>processChanges</B>(<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>
|
|
<DL>
|
|
<DD>Processes the changes and returns the minimal rectangle to be
|
|
repainted in the buffer. A return value of null means no repaint
|
|
is required.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="processChange(com.mxgraph.util.mxUndoableEdit.mxUndoableChange, boolean, boolean)"><!-- --></A><H3>
|
|
processChange</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>processChange</B>(<A HREF="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</A> change,
|
|
boolean invalidate,
|
|
boolean ignoreDirty)</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeStateForCell(java.lang.Object)"><!-- --></A><H3>
|
|
removeStateForCell</H3>
|
|
<PRE>
|
|
protected void <B>removeStateForCell</B>(<A HREF="http://download.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>
|
|
<DD>Removes all cached information for the given cell and its descendants.
|
|
This is called when a cell was removed from the model.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that was removed from the model.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellStyle(java.lang.Object)"><!-- --></A><H3>
|
|
getCellStyle</H3>
|
|
<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>> <B>getCellStyle</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose style should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the style of the cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="postProcessCellStyle(java.util.Map)"><!-- --></A><H3>
|
|
postProcessCellStyle</H3>
|
|
<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>> <B>postProcessCellStyle</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellStyle(java.lang.String)"><!-- --></A><H3>
|
|
setCellStyle</H3>
|
|
<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>[] <B>setCellStyle</B>(<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>
|
|
<DL>
|
|
<DD>Sets the style of the selection cells to the given value.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>style</CODE> - String representing the new style of the cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellStyle(java.lang.String, java.lang.Object[])"><!-- --></A><H3>
|
|
setCellStyle</H3>
|
|
<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>[] <B>setCellStyle</B>(<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>
|
|
<DL>
|
|
<DD>Sets the style of the specified cells. If no cells are given, then the
|
|
selection cells are changed.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>style</CODE> - String representing the new style of the cells.<DD><CODE>cells</CODE> - Optional array of <mxCells> to set the style for. Default is the
|
|
selection cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCellStyle(java.lang.String, boolean, java.lang.Object)"><!-- --></A><H3>
|
|
toggleCellStyle</H3>
|
|
<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> <B>toggleCellStyle</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - Key for the boolean value to be toggled.<DD><CODE>defaultValue</CODE> - Default boolean value if no value is defined.<DD><CODE>cell</CODE> - Cell whose style should be modified.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCellStyles(java.lang.String, boolean)"><!-- --></A><H3>
|
|
toggleCellStyles</H3>
|
|
<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>[] <B>toggleCellStyles</B>(<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>
|
|
<DL>
|
|
<DD>Toggles the boolean value for the given key in the style of the
|
|
selection cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - Key for the boolean value to be toggled.<DD><CODE>defaultValue</CODE> - Default boolean value if no value is defined.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCellStyles(java.lang.String, boolean, java.lang.Object[])"><!-- --></A><H3>
|
|
toggleCellStyles</H3>
|
|
<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>[] <B>toggleCellStyles</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key of the boolean style to be toggled.<DD><CODE>defaultValue</CODE> - Default boolean value if no value is defined.<DD><CODE>cells</CODE> - Cells whose styles should be modified.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellStyles(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
setCellStyles</H3>
|
|
<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>[] <B>setCellStyles</B>(<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>
|
|
<DL>
|
|
<DD>Sets the key to value in the styles of the selection cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key to be assigned.<DD><CODE>value</CODE> - String representing the new value for the key.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellStyles(java.lang.String, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
|
|
setCellStyles</H3>
|
|
<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>[] <B>setCellStyles</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key to be assigned.<DD><CODE>value</CODE> - String representing the new value for the key.<DD><CODE>cells</CODE> - Array of cells to change the style for.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCellStyleFlags(java.lang.String, int)"><!-- --></A><H3>
|
|
toggleCellStyleFlags</H3>
|
|
<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>[] <B>toggleCellStyleFlags</B>(<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>
|
|
<DL>
|
|
<DD>Toggles the given bit for the given key in the styles of the selection
|
|
cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key to toggle the flag in.<DD><CODE>flag</CODE> - Integer that represents the bit to be toggled.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCellStyleFlags(java.lang.String, int, java.lang.Object[])"><!-- --></A><H3>
|
|
toggleCellStyleFlags</H3>
|
|
<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>[] <B>toggleCellStyleFlags</B>(<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>
|
|
<DL>
|
|
<DD>Toggles the given bit for the given key in the styles of the specified
|
|
cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key to toggle the flag in.<DD><CODE>flag</CODE> - Integer that represents the bit to be toggled.<DD><CODE>cells</CODE> - Optional array of <mxCells> to change the style for. Default is
|
|
the selection cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellStyleFlags(java.lang.String, int, boolean)"><!-- --></A><H3>
|
|
setCellStyleFlags</H3>
|
|
<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>[] <B>setCellStyleFlags</B>(<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>
|
|
<DL>
|
|
<DD>Sets or toggles the given bit for the given key in the styles of the
|
|
selection cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key to toggle the flag in.<DD><CODE>flag</CODE> - Integer that represents the bit to be toggled.<DD><CODE>value</CODE> - Boolean value to be used or null if the value should be
|
|
toggled.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellStyleFlags(java.lang.String, int, java.lang.Boolean, java.lang.Object[])"><!-- --></A><H3>
|
|
setCellStyleFlags</H3>
|
|
<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>[] <B>setCellStyleFlags</B>(<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>
|
|
<DL>
|
|
<DD>Sets or toggles the given bit for the given key in the styles of the
|
|
specified cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>key</CODE> - String representing the key to toggle the flag in.<DD><CODE>flag</CODE> - Integer that represents the bit to be toggled.<DD><CODE>value</CODE> - Boolean value to be used or null if the value should be
|
|
toggled.<DD><CODE>cells</CODE> - Optional array of cells to change the style for. If no
|
|
cells are specified then the selection cells are used.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addImageBundle(com.mxgraph.util.mxImageBundle)"><!-- --></A><H3>
|
|
addImageBundle</H3>
|
|
<PRE>
|
|
public void <B>addImageBundle</B>(<A HREF="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</A> bundle)</PRE>
|
|
<DL>
|
|
<DD>Adds the specified bundle.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeImageBundle(com.mxgraph.util.mxImageBundle)"><!-- --></A><H3>
|
|
removeImageBundle</H3>
|
|
<PRE>
|
|
public void <B>removeImageBundle</B>(<A HREF="../../../com/mxgraph/util/mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</A> bundle)</PRE>
|
|
<DL>
|
|
<DD>Removes the specified bundle.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getImageFromBundles(java.lang.String)"><!-- --></A><H3>
|
|
getImageFromBundles</H3>
|
|
<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> <B>getImageFromBundles</B>(<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>
|
|
<DL>
|
|
<DD>Searches all bundles for the specified key and returns the value for the
|
|
first match or null if the key is not found.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getImageBundles()"><!-- --></A><H3>
|
|
getImageBundles</H3>
|
|
<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>> <B>getImageBundles</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the image bundles
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getImageBundles(java.util.List)"><!-- --></A><H3>
|
|
getImageBundles</H3>
|
|
<PRE>
|
|
public void <B>getImageBundles</B>(<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>
|
|
<DL>
|
|
<DD>Returns the image bundles
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="alignCells(java.lang.String)"><!-- --></A><H3>
|
|
alignCells</H3>
|
|
<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>[] <B>alignCells</B>(<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>
|
|
<DL>
|
|
<DD>Aligns the selection cells vertically or horizontally according to the
|
|
given alignment.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>align</CODE> - Specifies the alignment. Possible values are all constants
|
|
in mxConstants with an ALIGN prefix.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="alignCells(java.lang.String, java.lang.Object[])"><!-- --></A><H3>
|
|
alignCells</H3>
|
|
<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>[] <B>alignCells</B>(<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>
|
|
<DL>
|
|
<DD>Aligns the given cells vertically or horizontally according to the given
|
|
alignment.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>align</CODE> - Specifies the alignment. Possible values are all constants
|
|
in mxConstants with an ALIGN prefix.<DD><CODE>cells</CODE> - Array of cells to be aligned.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="alignCells(java.lang.String, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
|
|
alignCells</H3>
|
|
<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>[] <B>alignCells</B>(<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>
|
|
<DL>
|
|
<DD>Aligns the given cells vertically or horizontally according to the given
|
|
alignment using the optional parameter as the coordinate.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>align</CODE> - Specifies the alignment. Possible values are all constants
|
|
in mxConstants with an ALIGN prefix.<DD><CODE>cells</CODE> - Array of cells to be aligned.<DD><CODE>param</CODE> - Optional coordinate for the alignment.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="flipEdge(java.lang.Object)"><!-- --></A><H3>
|
|
flipEdge</H3>
|
|
<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> <B>flipEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that represents the edge to be flipped.
|
|
<DT><B>Returns:</B><DD>Returns the edge that has been flipped.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="orderCells(boolean)"><!-- --></A><H3>
|
|
orderCells</H3>
|
|
<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>[] <B>orderCells</B>(boolean back)</PRE>
|
|
<DL>
|
|
<DD>Moves the selection cells to the front or back. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>back</CODE> - Specifies if the cells should be moved to back.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="orderCells(boolean, java.lang.Object[])"><!-- --></A><H3>
|
|
orderCells</H3>
|
|
<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>[] <B>orderCells</B>(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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>back</CODE> - Specifies if the cells should be moved to back.<DD><CODE>cells</CODE> - Array of cells whose order should be changed. If null is
|
|
specified then the selection cells are used.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsOrdered(java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
cellsOrdered</H3>
|
|
<PRE>
|
|
public void <B>cellsOrdered</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Moves the given cells to the front or back. This method fires
|
|
mxEvent.CELLS_ORDERED while the transaction is in progress.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells whose order should be changed.<DD><CODE>back</CODE> - Specifies if the cells should be moved to back.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="groupCells()"><!-- --></A><H3>
|
|
groupCells</H3>
|
|
<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> <B>groupCells</B>()</PRE>
|
|
<DL>
|
|
<DD>Groups the selection cells. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the new group.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="groupCells(java.lang.Object)"><!-- --></A><H3>
|
|
groupCells</H3>
|
|
<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> <B>groupCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Groups the selection cells and adds them to the given group. This is a
|
|
shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the new group.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="groupCells(java.lang.Object, double)"><!-- --></A><H3>
|
|
groupCells</H3>
|
|
<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> <B>groupCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Groups the selection cells and adds them to the given group. This is a
|
|
shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the new group.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="groupCells(java.lang.Object, double, java.lang.Object[])"><!-- --></A><H3>
|
|
groupCells</H3>
|
|
<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> <B>groupCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>group</CODE> - Cell that represents the target group. If null is specified
|
|
then a new group is created using createGroupCell.<DD><CODE>border</CODE> - Integer that specifies the border between the child area
|
|
and the group bounds.<DD><CODE>cells</CODE> - Optional array of cells to be grouped. If null is specified
|
|
then the selection cells are used.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellsForGroup(java.lang.Object[])"><!-- --></A><H3>
|
|
getCellsForGroup</H3>
|
|
<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>[] <B>getCellsForGroup</B>(<A HREF="http://download.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>
|
|
<DD>Returns the cells with the same parent as the first cell
|
|
in the given array.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBoundsForGroup(java.lang.Object, java.lang.Object[], double)"><!-- --></A><H3>
|
|
getBoundsForGroup</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getBoundsForGroup</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createGroupCell(java.lang.Object[])"><!-- --></A><H3>
|
|
createGroupCell</H3>
|
|
<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> <B>createGroupCell</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns a new group cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ungroupCells()"><!-- --></A><H3>
|
|
ungroupCells</H3>
|
|
<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>[] <B>ungroupCells</B>()</PRE>
|
|
<DL>
|
|
<DD>Ungroups the selection cells. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ungroupCells(java.lang.Object[])"><!-- --></A><H3>
|
|
ungroupCells</H3>
|
|
<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>[] <B>ungroupCells</B>(<A HREF="http://download.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>
|
|
<DD>Ungroups the given cells by moving the children the children to their
|
|
parents parent and removing the empty groups.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be ungrouped. If null is specified then
|
|
the selection cells are used.
|
|
<DT><B>Returns:</B><DD>Returns the children that have been removed from the groups.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeCellsFromParent()"><!-- --></A><H3>
|
|
removeCellsFromParent</H3>
|
|
<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>[] <B>removeCellsFromParent</B>()</PRE>
|
|
<DL>
|
|
<DD>Removes the selection cells from their parents and adds them to the
|
|
default parent returned by getDefaultParent.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeCellsFromParent(java.lang.Object[])"><!-- --></A><H3>
|
|
removeCellsFromParent</H3>
|
|
<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>[] <B>removeCellsFromParent</B>(<A HREF="http://download.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>
|
|
<DD>Removes the specified cells from their parents and adds them to the
|
|
default parent.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be removed from their parents.
|
|
<DT><B>Returns:</B><DD>Returns the cells that were removed from their parents.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateGroupBounds()"><!-- --></A><H3>
|
|
updateGroupBounds</H3>
|
|
<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>[] <B>updateGroupBounds</B>()</PRE>
|
|
<DL>
|
|
<DD>Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateGroupBounds(java.lang.Object[])"><!-- --></A><H3>
|
|
updateGroupBounds</H3>
|
|
<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>[] <B>updateGroupBounds</B>(<A HREF="http://download.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>
|
|
<DD>Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - The groups whose bounds should be updated.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateGroupBounds(java.lang.Object[], int)"><!-- --></A><H3>
|
|
updateGroupBounds</H3>
|
|
<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>[] <B>updateGroupBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - The groups whose bounds should be updated.<DD><CODE>border</CODE> - The border to be added in the group.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateGroupBounds(java.lang.Object[], int, boolean)"><!-- --></A><H3>
|
|
updateGroupBounds</H3>
|
|
<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>[] <B>updateGroupBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Updates the bounds of the given array of groups so that it includes
|
|
all child vertices.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - The groups whose bounds should be updated.<DD><CODE>border</CODE> - The border to be added in the group.<DD><CODE>moveParent</CODE> - Specifies if the group should be moved.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cloneCells(java.lang.Object[])"><!-- --></A><H3>
|
|
cloneCells</H3>
|
|
<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>[] <B>cloneCells</B>(<A HREF="http://download.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>
|
|
<DD>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>
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cloneCells(java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
cloneCells</H3>
|
|
<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>[] <B>cloneCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of mxCells to be cloned.
|
|
<DT><B>Returns:</B><DD>Returns the clones of the given cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="insertVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double)"><!-- --></A><H3>
|
|
insertVertex</H3>
|
|
<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> <B>insertVertex</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Creates and adds a new vertex with an empty style.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="insertVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double, java.lang.String)"><!-- --></A><H3>
|
|
insertVertex</H3>
|
|
<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> <B>insertVertex</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent of the new vertex.<DD><CODE>id</CODE> - Optional string that defines the Id of the new vertex.<DD><CODE>value</CODE> - Object to be used as the user object.<DD><CODE>x</CODE> - Integer that defines the x coordinate of the vertex.<DD><CODE>y</CODE> - Integer that defines the y coordinate of the vertex.<DD><CODE>width</CODE> - Integer that defines the width of the vertex.<DD><CODE>height</CODE> - Integer that defines the height of the vertex.<DD><CODE>style</CODE> - Optional string that defines the cell style.
|
|
<DT><B>Returns:</B><DD>Returns the new vertex that has been inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="insertVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double, java.lang.String, boolean)"><!-- --></A><H3>
|
|
insertVertex</H3>
|
|
<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> <B>insertVertex</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent of the new vertex.<DD><CODE>id</CODE> - Optional string that defines the Id of the new vertex.<DD><CODE>value</CODE> - Object to be used as the user object.<DD><CODE>x</CODE> - Integer that defines the x coordinate of the vertex.<DD><CODE>y</CODE> - Integer that defines the y coordinate of the vertex.<DD><CODE>width</CODE> - Integer that defines the width of the vertex.<DD><CODE>height</CODE> - Integer that defines the height of the vertex.<DD><CODE>style</CODE> - Optional string that defines the cell style.<DD><CODE>relative</CODE> - Specifies if the geometry should be relative.
|
|
<DT><B>Returns:</B><DD>Returns the new vertex that has been inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double, java.lang.String)"><!-- --></A><H3>
|
|
createVertex</H3>
|
|
<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> <B>createVertex</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Hook method that creates the new vertex for insertVertex.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent of the new vertex.<DD><CODE>id</CODE> - Optional string that defines the Id of the new vertex.<DD><CODE>value</CODE> - Object to be used as the user object.<DD><CODE>x</CODE> - Integer that defines the x coordinate of the vertex.<DD><CODE>y</CODE> - Integer that defines the y coordinate of the vertex.<DD><CODE>width</CODE> - Integer that defines the width of the vertex.<DD><CODE>height</CODE> - Integer that defines the height of the vertex.<DD><CODE>style</CODE> - Optional string that defines the cell style.
|
|
<DT><B>Returns:</B><DD>Returns the new vertex to be inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createVertex(java.lang.Object, java.lang.String, java.lang.Object, double, double, double, double, java.lang.String, boolean)"><!-- --></A><H3>
|
|
createVertex</H3>
|
|
<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> <B>createVertex</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Hook method that creates the new vertex for insertVertex.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent of the new vertex.<DD><CODE>id</CODE> - Optional string that defines the Id of the new vertex.<DD><CODE>value</CODE> - Object to be used as the user object.<DD><CODE>x</CODE> - Integer that defines the x coordinate of the vertex.<DD><CODE>y</CODE> - Integer that defines the y coordinate of the vertex.<DD><CODE>width</CODE> - Integer that defines the width of the vertex.<DD><CODE>height</CODE> - Integer that defines the height of the vertex.<DD><CODE>style</CODE> - Optional string that defines the cell style.<DD><CODE>relative</CODE> - Specifies if the geometry should be relative.
|
|
<DT><B>Returns:</B><DD>Returns the new vertex to be inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="insertEdge(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
insertEdge</H3>
|
|
<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> <B>insertEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Creates and adds a new edge with an empty style.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="insertEdge(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.String)"><!-- --></A><H3>
|
|
insertEdge</H3>
|
|
<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> <B>insertEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent of the new edge.<DD><CODE>id</CODE> - Optional string that defines the Id of the new edge.<DD><CODE>value</CODE> - Object to be used as the user object.<DD><CODE>source</CODE> - Cell that defines the source of the edge.<DD><CODE>target</CODE> - Cell that defines the target of the edge.<DD><CODE>style</CODE> - Optional string that defines the cell style.
|
|
<DT><B>Returns:</B><DD>Returns the new edge that has been inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createEdge(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.String)"><!-- --></A><H3>
|
|
createEdge</H3>
|
|
<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> <B>createEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell that specifies the parent of the new edge.<DD><CODE>id</CODE> - Optional string that defines the Id of the new edge.<DD><CODE>value</CODE> - Object to be used as the user object.<DD><CODE>source</CODE> - Cell that defines the source of the edge.<DD><CODE>target</CODE> - Cell that defines the target of the edge.<DD><CODE>style</CODE> - Optional string that defines the cell style.
|
|
<DT><B>Returns:</B><DD>Returns the new edge to be inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addEdge(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Integer)"><!-- --></A><H3>
|
|
addEdge</H3>
|
|
<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> <B>addEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the edge to the parent and connects it to the given source and
|
|
target terminals. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Edge to be inserted into the given parent.<DD><CODE>parent</CODE> - Object that represents the new parent. If no parent is
|
|
given then the default parent is used.<DD><CODE>source</CODE> - Optional cell that represents the source terminal.<DD><CODE>target</CODE> - Optional cell that represents the target terminal.<DD><CODE>index</CODE> - Optional index to insert the cells at. Default is to append.
|
|
<DT><B>Returns:</B><DD>Returns the edge that was added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCell(java.lang.Object)"><!-- --></A><H3>
|
|
addCell</H3>
|
|
<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> <B>addCell</B>(<A HREF="http://download.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>
|
|
<DD>Adds the cell to the default parent. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell to be inserted.
|
|
<DT><B>Returns:</B><DD>Returns the cell that was added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCell(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
addCell</H3>
|
|
<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> <B>addCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the cell to the parent. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell tobe inserted.<DD><CODE>parent</CODE> - Object that represents the new parent. If no parent is
|
|
given then the default parent is used.
|
|
<DT><B>Returns:</B><DD>Returns the cell that was added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCell(java.lang.Object, java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
addCell</H3>
|
|
<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> <B>addCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the cell to the parent and connects it to the given source and
|
|
target terminals. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell to be inserted into the given parent.<DD><CODE>parent</CODE> - Object that represents the new parent. If no parent is
|
|
given then the default parent is used.<DD><CODE>index</CODE> - Optional index to insert the cells at. Default is to append.<DD><CODE>source</CODE> - Optional cell that represents the source terminal.<DD><CODE>target</CODE> - Optional cell that represents the target terminal.
|
|
<DT><B>Returns:</B><DD>Returns the cell that was added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCells(java.lang.Object[])"><!-- --></A><H3>
|
|
addCells</H3>
|
|
<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>[] <B>addCells</B>(<A HREF="http://download.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>
|
|
<DD>Adds the cells to the default parent. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be inserted.
|
|
<DT><B>Returns:</B><DD>Returns the cells that were added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCells(java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
|
|
addCells</H3>
|
|
<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>[] <B>addCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the cells to the parent. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be inserted.<DD><CODE>parent</CODE> - Optional cell that represents the new parent. If no parent
|
|
is specified then the default parent is used.
|
|
<DT><B>Returns:</B><DD>Returns the cells that were added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCells(java.lang.Object[], java.lang.Object, java.lang.Integer)"><!-- --></A><H3>
|
|
addCells</H3>
|
|
<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>[] <B>addCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the cells to the parent at the given index. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be inserted.<DD><CODE>parent</CODE> - Optional cell that represents the new parent. If no parent
|
|
is specified then the default parent is used.<DD><CODE>index</CODE> - Optional index to insert the cells at. Default is to append.
|
|
<DT><B>Returns:</B><DD>Returns the cells that were added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCells(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
addCells</H3>
|
|
<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>[] <B>addCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be added.<DD><CODE>parent</CODE> - Optional cell that represents the new parent. If no parent
|
|
is specified then the default parent is used.<DD><CODE>index</CODE> - Optional index to insert the cells at. Default is to append.<DD><CODE>source</CODE> - Optional source terminal for all inserted cells.<DD><CODE>target</CODE> - Optional target terminal for all inserted cells.
|
|
<DT><B>Returns:</B><DD>Returns the cells that were added.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsAdded(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
cellsAdded</H3>
|
|
<PRE>
|
|
public void <B>cellsAdded</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the specified cells to the given parent. This method fires
|
|
mxEvent.CELLS_ADDED while the transaction is in progress.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsAdded(java.lang.Object[], java.lang.Object, java.lang.Integer, java.lang.Object, java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
cellsAdded</H3>
|
|
<PRE>
|
|
public void <B>cellsAdded</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Adds the specified cells to the given parent. This method fires
|
|
mxEvent.CELLS_ADDED while the transaction is in progress.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeCells()"><!-- --></A><H3>
|
|
removeCells</H3>
|
|
<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>[] <B>removeCells</B>()</PRE>
|
|
<DL>
|
|
<DD>Removes the selection cells from the graph.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the cells that have been removed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeCells(java.lang.Object[])"><!-- --></A><H3>
|
|
removeCells</H3>
|
|
<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>[] <B>removeCells</B>(<A HREF="http://download.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>
|
|
<DD>Removes the given cells from the graph.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to remove.
|
|
<DT><B>Returns:</B><DD>Returns the cells that have been removed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeCells(java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
removeCells</H3>
|
|
<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>[] <B>removeCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to remove. If null is specified then the
|
|
selection cells which are deletable are used.<DD><CODE>includeEdges</CODE> - Specifies if all connected edges should be removed as
|
|
well.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsRemoved(java.lang.Object[])"><!-- --></A><H3>
|
|
cellsRemoved</H3>
|
|
<PRE>
|
|
public void <B>cellsRemoved</B>(<A HREF="http://download.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>
|
|
<DD>Removes the given cells from the model. This method fires
|
|
mxEvent.CELLS_REMOVED while the transaction is in progress.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to remove.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="splitEdge(java.lang.Object, java.lang.Object[])"><!-- --></A><H3>
|
|
splitEdge</H3>
|
|
<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> <B>splitEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="splitEdge(java.lang.Object, java.lang.Object[], double, double)"><!-- --></A><H3>
|
|
splitEdge</H3>
|
|
<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> <B>splitEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="splitEdge(java.lang.Object, java.lang.Object[], java.lang.Object, double, double)"><!-- --></A><H3>
|
|
splitEdge</H3>
|
|
<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> <B>splitEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Object that represents the edge to be splitted.<DD><CODE>cells</CODE> - Array that contains the cells to insert into the edge.<DD><CODE>newEdge</CODE> - Object that represents the edge to be inserted.
|
|
<DT><B>Returns:</B><DD>Returns the new edge that has been inserted.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCells(boolean)"><!-- --></A><H3>
|
|
toggleCells</H3>
|
|
<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>[] <B>toggleCells</B>(boolean show)</PRE>
|
|
<DL>
|
|
<DD>Sets the visible state of the selection cells. This is a shortcut
|
|
method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>show</CODE> - Boolean that specifies the visible state to be assigned.
|
|
<DT><B>Returns:</B><DD>Returns the cells whose visible state was changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCells(boolean, java.lang.Object[])"><!-- --></A><H3>
|
|
toggleCells</H3>
|
|
<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>[] <B>toggleCells</B>(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>
|
|
<DL>
|
|
<DD>Sets the visible state of the specified cells. This is a shortcut
|
|
method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>show</CODE> - Boolean that specifies the visible state to be assigned.<DD><CODE>cells</CODE> - Array of cells whose visible state should be changed.
|
|
<DT><B>Returns:</B><DD>Returns the cells whose visible state was changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toggleCells(boolean, java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
toggleCells</H3>
|
|
<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>[] <B>toggleCells</B>(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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>show</CODE> - Boolean that specifies the visible state to be assigned.<DD><CODE>cells</CODE> - Array of cells whose visible state should be changed. If
|
|
null is specified then the selection cells are used.
|
|
<DT><B>Returns:</B><DD>Returns the cells whose visible state was changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsToggled(java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
cellsToggled</H3>
|
|
<PRE>
|
|
public void <B>cellsToggled</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Sets the visible state of the specified cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells whose visible state should be changed.<DD><CODE>show</CODE> - Boolean that specifies the visible state to be assigned.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="foldCells(boolean)"><!-- --></A><H3>
|
|
foldCells</H3>
|
|
<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>[] <B>foldCells</B>(boolean collapse)</PRE>
|
|
<DL>
|
|
<DD>Sets the collapsed state of the selection cells without recursion.
|
|
This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>collapse</CODE> - Boolean that specifies the collapsed state to be
|
|
assigned.
|
|
<DT><B>Returns:</B><DD>Returns the cells whose collapsed state was changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="foldCells(boolean, boolean)"><!-- --></A><H3>
|
|
foldCells</H3>
|
|
<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>[] <B>foldCells</B>(boolean collapse,
|
|
boolean recurse)</PRE>
|
|
<DL>
|
|
<DD>Sets the collapsed state of the selection cells. This is a shortcut
|
|
method.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>collapse</CODE> - Boolean that specifies the collapsed state to be
|
|
assigned.<DD><CODE>recurse</CODE> - Boolean that specifies if the collapsed state should
|
|
be assigned to all descendants.
|
|
<DT><B>Returns:</B><DD>Returns the cells whose collapsed state was changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="foldCells(boolean, boolean, java.lang.Object[])"><!-- --></A><H3>
|
|
foldCells</H3>
|
|
<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>[] <B>foldCells</B>(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>
|
|
<DL>
|
|
<DD>Invokes foldCells with checkFoldable set to false.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="foldCells(boolean, boolean, java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
foldCells</H3>
|
|
<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>[] <B>foldCells</B>(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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>collapse</CODE> - Boolean indicating the collapsed state to be assigned.<DD><CODE>recurse</CODE> - Boolean indicating if the collapsed state of all
|
|
descendants should be set.<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><CODE>checkFoldable</CODE> - Boolean indicating of isCellFoldable should be
|
|
checked. Default is false.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsFolded(java.lang.Object[], boolean, boolean)"><!-- --></A><H3>
|
|
cellsFolded</H3>
|
|
<PRE>
|
|
public void <B>cellsFolded</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Invokes cellsFoldable with checkFoldable set to false.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsFolded(java.lang.Object[], boolean, boolean, boolean)"><!-- --></A><H3>
|
|
cellsFolded</H3>
|
|
<PRE>
|
|
public void <B>cellsFolded</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells whose collapsed state should be set.<DD><CODE>collapse</CODE> - Boolean indicating the collapsed state to be assigned.<DD><CODE>recurse</CODE> - Boolean indicating if the collapsed state of all
|
|
descendants should be set.<DD><CODE>checkFoldable</CODE> - Boolean indicating of isCellFoldable should be
|
|
checked. Default is false.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="swapBounds(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
swapBounds</H3>
|
|
<PRE>
|
|
public void <B>swapBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Swaps the alternate and the actual bounds in the geometry of the given
|
|
cell invoking updateAlternateBounds before carrying out the swap.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell for which the bounds should be swapped.<DD><CODE>willCollapse</CODE> - Boolean indicating if the cell is going to be collapsed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateAlternateBounds(java.lang.Object, com.mxgraph.model.mxGeometry, boolean)"><!-- --></A><H3>
|
|
updateAlternateBounds</H3>
|
|
<PRE>
|
|
public void <B>updateAlternateBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell for which the geometry is being udpated.<DD><CODE>geo</CODE> - Geometry for which the alternate bounds should be updated.<DD><CODE>willCollapse</CODE> - Boolean indicating if the cell is going to be collapsed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addAllEdges(java.lang.Object[])"><!-- --></A><H3>
|
|
addAllEdges</H3>
|
|
<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>[] <B>addAllEdges</B>(<A HREF="http://download.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>
|
|
<DD>Returns an array with the given cells and all edges that are connected
|
|
to a cell or one of its descendants.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAllEdges(java.lang.Object[])"><!-- --></A><H3>
|
|
getAllEdges</H3>
|
|
<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>[] <B>getAllEdges</B>(<A HREF="http://download.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>
|
|
<DD>Returns all edges connected to the given cells or their descendants.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateCellSize(java.lang.Object)"><!-- --></A><H3>
|
|
updateCellSize</H3>
|
|
<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> <B>updateCellSize</B>(<A HREF="http://download.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>
|
|
<DD>Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size. This function
|
|
fires beforeUpdateSize and afterUpdateSize events.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> for which the size should be changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="updateCellSize(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
updateCellSize</H3>
|
|
<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> <B>updateCellSize</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size. This function
|
|
fires mxEvent.UPDATE_CELL_SIZE.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell for which the size should be changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellSizeUpdated(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
cellSizeUpdated</H3>
|
|
<PRE>
|
|
public void <B>cellSizeUpdated</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Updates the size of the given cell in the model using
|
|
getPreferredSizeForCell to get the new size.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell for which the size should be changed.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPreferredSizeForCell(java.lang.Object)"><!-- --></A><H3>
|
|
getPreferredSizeForCell</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getPreferredSizeForCell</B>(<A HREF="http://download.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>
|
|
<DD>Returns the preferred width and height of the given <mxCell> as an
|
|
<mxRectangle>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> for which the preferred size should be returned.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resizeCell(java.lang.Object, com.mxgraph.util.mxRectangle)"><!-- --></A><H3>
|
|
resizeCell</H3>
|
|
<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> <B>resizeCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Sets the bounds of the given cell using resizeCells. Returns the
|
|
cell which was passed to the function.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose bounds should be changed.<DD><CODE>bounds</CODE> - <mxRectangle> that represents the new bounds.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resizeCells(java.lang.Object[], com.mxgraph.util.mxRectangle[])"><!-- --></A><H3>
|
|
resizeCells</H3>
|
|
<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>[] <B>resizeCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells whose bounds should be changed.<DD><CODE>bounds</CODE> - Array of rectangles that represents the new bounds.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsResized(java.lang.Object[], com.mxgraph.util.mxRectangle[])"><!-- --></A><H3>
|
|
cellsResized</H3>
|
|
<PRE>
|
|
public void <B>cellsResized</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of <mxCells> whose bounds should be changed.<DD><CODE>bounds</CODE> - Array of <mxRectangles> that represents the new bounds.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="extendParent(java.lang.Object)"><!-- --></A><H3>
|
|
extendParent</H3>
|
|
<PRE>
|
|
public void <B>extendParent</B>(<A HREF="http://download.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>
|
|
<DD>Resizes the parents recursively so that they contain the complete area
|
|
of the resized child cell.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> that has been resized.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="moveCells(java.lang.Object[], double, double)"><!-- --></A><H3>
|
|
moveCells</H3>
|
|
<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>[] <B>moveCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Moves the cells by the given amount. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="moveCells(java.lang.Object[], double, double, boolean)"><!-- --></A><H3>
|
|
moveCells</H3>
|
|
<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>[] <B>moveCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Moves or clones the cells and moves the cells or clones by the given
|
|
amount. This is a shortcut method.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="moveCells(java.lang.Object[], double, double, boolean, java.lang.Object, java.awt.Point)"><!-- --></A><H3>
|
|
moveCells</H3>
|
|
<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>[] <B>moveCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of cells to be moved, cloned or added to the target.<DD><CODE>dx</CODE> - Integer that specifies the x-coordinate of the vector.<DD><CODE>dy</CODE> - Integer that specifies the y-coordinate of the vector.<DD><CODE>clone</CODE> - Boolean indicating if the cells should be cloned.<DD><CODE>target</CODE> - Cell that represents the new parent of the cells.<DD><CODE>location</CODE> - Location where the mouse was released.
|
|
<DT><B>Returns:</B><DD>Returns the cells that were moved.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellsMoved(java.lang.Object[], double, double, boolean, boolean)"><!-- --></A><H3>
|
|
cellsMoved</H3>
|
|
<PRE>
|
|
public void <B>cellsMoved</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="translateCell(java.lang.Object, double, double)"><!-- --></A><H3>
|
|
translateCell</H3>
|
|
<PRE>
|
|
public void <B>translateCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Translates the geometry of the given cell and stores the new,
|
|
translated geometry in the model as an atomic change.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellContainmentArea(java.lang.Object)"><!-- --></A><H3>
|
|
getCellContainmentArea</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getCellContainmentArea</B>(<A HREF="http://download.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>
|
|
<DD>Returns the mxRectangle inside which a cell is to be kept.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaximumGraphBounds()"><!-- --></A><H3>
|
|
getMaximumGraphBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getMaximumGraphBounds</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the maximumGraphBounds</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMaximumGraphBounds(com.mxgraph.util.mxRectangle)"><!-- --></A><H3>
|
|
setMaximumGraphBounds</H3>
|
|
<PRE>
|
|
public void <B>setMaximumGraphBounds</B>(<A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the maximumGraphBounds to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="constrainChild(java.lang.Object)"><!-- --></A><H3>
|
|
constrainChild</H3>
|
|
<PRE>
|
|
public void <B>constrainChild</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell which should be constrained.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetEdges(java.lang.Object[])"><!-- --></A><H3>
|
|
resetEdges</H3>
|
|
<PRE>
|
|
public void <B>resetEdges</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of mxCells for which the connected edges should be
|
|
reset.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="resetEdge(java.lang.Object)"><!-- --></A><H3>
|
|
resetEdge</H3>
|
|
<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> <B>resetEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Resets the control points of the given edge.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAllConnectionConstraints(com.mxgraph.view.mxCellState, boolean)"><!-- --></A><H3>
|
|
getAllConnectionConstraints</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</A>[] <B>getAllConnectionConstraints</B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> terminal,
|
|
boolean source)</PRE>
|
|
<DL>
|
|
<DD>Returns an array of all constraints for the given terminal.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>terminal</CODE> - Cell state that represents the terminal.<DD><CODE>source</CODE> - Specifies if the terminal is the source or target.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getConnectionConstraint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState, boolean)"><!-- --></A><H3>
|
|
getConnectionConstraint</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxConnectionConstraint.html" title="class in com.mxgraph.view">mxConnectionConstraint</A> <B>getConnectionConstraint</B>(<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>
|
|
<DL>
|
|
<DD>Returns an connection constraint that describes the given connection
|
|
point. This result can then be passed to getConnectionPoint.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell state that represents the edge.<DD><CODE>terminal</CODE> - Cell state that represents the terminal.<DD><CODE>source</CODE> - Boolean indicating if the terminal is the source or target.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setConnectionConstraint(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)"><!-- --></A><H3>
|
|
setConnectionConstraint</H3>
|
|
<PRE>
|
|
public void <B>setConnectionConstraint</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that represents the edge.<DD><CODE>terminal</CODE> - Cell that represents the terminal.<DD><CODE>source</CODE> - Boolean indicating if the terminal is the source or target.<DD><CODE>constraint</CODE> - Optional connection constraint to be used for this connection.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getConnectionPoint(com.mxgraph.view.mxCellState, com.mxgraph.view.mxConnectionConstraint)"><!-- --></A><H3>
|
|
getConnectionPoint</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> <B>getConnectionPoint</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>vertex</CODE> - Cell state that represents the vertex.<DD><CODE>constraint</CODE> - Connection constraint that represents the connection point
|
|
constraint as returned by getConnectionConstraint.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="connectCell(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
connectCell</H3>
|
|
<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> <B>connectCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="connectCell(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)"><!-- --></A><H3>
|
|
connectCell</H3>
|
|
<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> <B>connectCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Edge whose terminal should be updated.<DD><CODE>terminal</CODE> - New terminal to be used.<DD><CODE>source</CODE> - Specifies if the new terminal is the source or target.<DD><CODE>constraint</CODE> - Optional constraint to be used for this connection.
|
|
<DT><B>Returns:</B><DD>Returns the update edge.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellConnected(java.lang.Object, java.lang.Object, boolean, com.mxgraph.view.mxConnectionConstraint)"><!-- --></A><H3>
|
|
cellConnected</H3>
|
|
<PRE>
|
|
public void <B>cellConnected</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Edge whose terminal should be updated.<DD><CODE>terminal</CODE> - New terminal to be used.<DD><CODE>source</CODE> - Specifies if the new terminal is the source or target.<DD><CODE>constraint</CODE> - Constraint to be used for this connection.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="disconnectGraph(java.lang.Object[])"><!-- --></A><H3>
|
|
disconnectGraph</H3>
|
|
<PRE>
|
|
public void <B>disconnectGraph</B>(<A HREF="http://download.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>
|
|
<DD>Disconnects the given edges from the terminals which are not in the
|
|
given array.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - Array of <mxCells> to be disconnected.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCurrentRoot()"><!-- --></A><H3>
|
|
getCurrentRoot</H3>
|
|
<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> <B>getCurrentRoot</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the current root of the displayed cell hierarchy. This is a
|
|
shortcut to <mxGraphView.currentRoot> in <view>.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the current root in the view.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTranslateForRoot(java.lang.Object)"><!-- --></A><H3>
|
|
getTranslateForRoot</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> <B>getTranslateForRoot</B>(<A HREF="http://download.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>
|
|
<DD>Returns the translation to be used if the given cell is the root cell as
|
|
an <mxPoint>. This implementation returns null.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the root of the view.
|
|
<DT><B>Returns:</B><DD>Returns the translation of the graph for the given root cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isPort(java.lang.Object)"><!-- --></A><H3>
|
|
isPort</H3>
|
|
<PRE>
|
|
public boolean <B>isPort</B>(<A HREF="http://download.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>
|
|
<DD>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>
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the port.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is a port.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTerminalForPort(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
getTerminalForPort</H3>
|
|
<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> <B>getTerminalForPort</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the terminal to be used for a given port. This implementation
|
|
always returns the parent cell.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the port.<DD><CODE>source</CODE> - If the cell is the source or target port.
|
|
<DT><B>Returns:</B><DD>Returns the terminal to be used for the given port.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getChildOffsetForCell(java.lang.Object)"><!-- --></A><H3>
|
|
getChildOffsetForCell</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> <B>getChildOffsetForCell</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose offset should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the child offset for the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="enterGroup()"><!-- --></A><H3>
|
|
enterGroup</H3>
|
|
<PRE>
|
|
public void <B>enterGroup</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="enterGroup(java.lang.Object)"><!-- --></A><H3>
|
|
enterGroup</H3>
|
|
<PRE>
|
|
public void <B>enterGroup</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - </DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="exitGroup()"><!-- --></A><H3>
|
|
exitGroup</H3>
|
|
<PRE>
|
|
public void <B>exitGroup</B>()</PRE>
|
|
<DL>
|
|
<DD>Changes the current root to the next valid root in the displayed cell
|
|
hierarchy.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="home()"><!-- --></A><H3>
|
|
home</H3>
|
|
<PRE>
|
|
public void <B>home</B>()</PRE>
|
|
<DL>
|
|
<DD>Uses the root of the model as the root of the displayed cell hierarchy
|
|
and selects the previous root.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isValidRoot(java.lang.Object)"><!-- --></A><H3>
|
|
isValidRoot</H3>
|
|
<PRE>
|
|
public boolean <B>isValidRoot</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is a valid root for the cell display
|
|
hierarchy. This implementation returns true for all non-null values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> which should be checked as a possible root.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is a valid root.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getGraphBounds()"><!-- --></A><H3>
|
|
getGraphBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getGraphBounds</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the bounds of the visible graph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellBounds(java.lang.Object)"><!-- --></A><H3>
|
|
getCellBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getCellBounds</B>(<A HREF="http://download.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>
|
|
<DD>Returns the bounds of the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellBounds(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
getCellBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getCellBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellBounds(java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
getCellBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getCellBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBoundingBoxFromGeometry(java.lang.Object[])"><!-- --></A><H3>
|
|
getBoundingBoxFromGeometry</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getBoundingBoxFromGeometry</B>(<A HREF="http://download.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>
|
|
<DD>Returns the bounding box for the geometries of the vertices in the
|
|
given array of cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBoundingBox(java.lang.Object)"><!-- --></A><H3>
|
|
getBoundingBox</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getBoundingBox</B>(<A HREF="http://download.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>
|
|
<DD>Returns the bounds of the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBoundingBox(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
getBoundingBox</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getBoundingBox</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBoundingBox(java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
getBoundingBox</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getBoundingBox</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the bounding box of the given cell including all connected edges
|
|
if includeEdge is true.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPaintBounds(java.lang.Object[])"><!-- --></A><H3>
|
|
getPaintBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getPaintBounds</B>(<A HREF="http://download.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>
|
|
<DD>Returns the bounding box of the given cells and their descendants.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBoundsForCells(java.lang.Object[], boolean, boolean, boolean)"><!-- --></A><H3>
|
|
getBoundsForCells</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getBoundsForCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the bounds for the given cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellBounds(java.lang.Object, boolean, boolean, boolean)"><!-- --></A><H3>
|
|
getCellBounds</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getCellBounds</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the bounds of the given cell including all connected edges
|
|
if includeEdge is true.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="refresh()"><!-- --></A><H3>
|
|
refresh</H3>
|
|
<PRE>
|
|
public void <B>refresh</B>()</PRE>
|
|
<DL>
|
|
<DD>Clears all cell states or the states for the hierarchy starting at the
|
|
given cell and validates the graph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="repaint()"><!-- --></A><H3>
|
|
repaint</H3>
|
|
<PRE>
|
|
public void <B>repaint</B>()</PRE>
|
|
<DL>
|
|
<DD>Fires a repaint event.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="repaint(com.mxgraph.util.mxRectangle)"><!-- --></A><H3>
|
|
repaint</H3>
|
|
<PRE>
|
|
public void <B>repaint</B>(<A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> region)</PRE>
|
|
<DL>
|
|
<DD>Fires a repaint event. The optional region is the rectangle that needs
|
|
to be repainted.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="snap(double)"><!-- --></A><H3>
|
|
snap</H3>
|
|
<PRE>
|
|
public double <B>snap</B>(double value)</PRE>
|
|
<DL>
|
|
<DD>Snaps the given numeric value to the grid if <gridEnabled> is true.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Numeric value to be snapped to the grid.
|
|
<DT><B>Returns:</B><DD>Returns the value aligned to the grid.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellGeometry(java.lang.Object)"><!-- --></A><H3>
|
|
getCellGeometry</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/model/mxGeometry.html" title="class in com.mxgraph.model">mxGeometry</A> <B>getCellGeometry</B>(<A HREF="http://download.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>
|
|
<DD>Returns the geometry for the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose geometry should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the geometry of the cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellVisible(java.lang.Object)"><!-- --></A><H3>
|
|
isCellVisible</H3>
|
|
<PRE>
|
|
public boolean <B>isCellVisible</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose visible state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the visible state of the cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellCollapsed(java.lang.Object)"><!-- --></A><H3>
|
|
isCellCollapsed</H3>
|
|
<PRE>
|
|
public boolean <B>isCellCollapsed</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose collapsed state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the collapsed state of the cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellConnectable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellConnectable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellConnectable</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose connectable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the connectable state of the cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isOrthogonal(com.mxgraph.view.mxCellState)"><!-- --></A><H3>
|
|
isOrthogonal</H3>
|
|
<PRE>
|
|
public boolean <B>isOrthogonal</B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> edge)</PRE>
|
|
<DL>
|
|
<DD>Returns true if perimeter points should be computed such that the
|
|
resulting edge has only horizontal or vertical segments.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell state that represents the edge.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLoop(com.mxgraph.view.mxCellState)"><!-- --></A><H3>
|
|
isLoop</H3>
|
|
<PRE>
|
|
public boolean <B>isLoop</B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
|
|
<DL>
|
|
<DD>Returns true if the given cell state is a loop.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>state</CODE> - <mxCellState> that represents a potential loop.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is a loop.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMultiplicities(com.mxgraph.view.mxMultiplicity[])"><!-- --></A><H3>
|
|
setMultiplicities</H3>
|
|
<PRE>
|
|
public void <B>setMultiplicities</B>(<A HREF="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</A>[] value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMultiplicities()"><!-- --></A><H3>
|
|
getMultiplicities</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxMultiplicity.html" title="class in com.mxgraph.view">mxMultiplicity</A>[] <B>getMultiplicities</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isEdgeValid(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
isEdgeValid</H3>
|
|
<PRE>
|
|
public boolean <B>isEdgeValid</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Checks if the return value of getEdgeValidationError for the given
|
|
arguments is null.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that represents the edge to validate.<DD><CODE>source</CODE> - Cell that represents the source terminal.<DD><CODE>target</CODE> - Cell that represents the target terminal.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdgeValidationError(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
getEdgeValidationError</H3>
|
|
<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> <B>getEdgeValidationError</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that represents the edge to validate.<DD><CODE>source</CODE> - Cell that represents the source terminal.<DD><CODE>target</CODE> - Cell that represents the target terminal.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="validateEdge(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
validateEdge</H3>
|
|
<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> <B>validateEdge</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Hook method for subclassers to return an error message for the given
|
|
edge and terminals. This implementation returns null.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - Cell that represents the edge to validate.<DD><CODE>source</CODE> - Cell that represents the source terminal.<DD><CODE>target</CODE> - Cell that represents the target terminal.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellValidationError(java.lang.Object)"><!-- --></A><H3>
|
|
getCellValidationError</H3>
|
|
<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> <B>getCellValidationError</B>(<A HREF="http://download.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>
|
|
<DD>Checks all multiplicities that cannot be enforced while the graph is
|
|
being modified, namely, all multiplicities that require a minimum of
|
|
1 edge.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell for which the multiplicities should be checked.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="validateCell(java.lang.Object, java.util.Hashtable)"><!-- --></A><H3>
|
|
validateCell</H3>
|
|
<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> <B>validateCell</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Hook method for subclassers to return an error message for the given
|
|
cell and validation context. This implementation returns null.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that represents the cell to validate.<DD><CODE>context</CODE> - Hashtable that represents the global validation state.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLabelsVisible()"><!-- --></A><H3>
|
|
isLabelsVisible</H3>
|
|
<PRE>
|
|
public boolean <B>isLabelsVisible</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the labelsVisible</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLabelsVisible(boolean)"><!-- --></A><H3>
|
|
setLabelsVisible</H3>
|
|
<PRE>
|
|
public void <B>setLabelsVisible</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the labelsVisible to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setHtmlLabels(boolean)"><!-- --></A><H3>
|
|
setHtmlLabels</H3>
|
|
<PRE>
|
|
public void <B>setHtmlLabels</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the htmlLabels to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isHtmlLabels()"><!-- --></A><H3>
|
|
isHtmlLabels</H3>
|
|
<PRE>
|
|
public boolean <B>isHtmlLabels</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="convertValueToString(java.lang.Object)"><!-- --></A><H3>
|
|
convertValueToString</H3>
|
|
<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> <B>convertValueToString</B>(<A HREF="http://download.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>
|
|
<DD>Returns the textual representation for the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell to be converted to a string.
|
|
<DT><B>Returns:</B><DD>Returns the textual representation of the cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLabel(java.lang.Object)"><!-- --></A><H3>
|
|
getLabel</H3>
|
|
<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> <B>getLabel</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose label should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the label for the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellLabelChanged(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
cellLabelChanged</H3>
|
|
<PRE>
|
|
public void <B>cellLabelChanged</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Sets the new label for a cell. If autoSize is true then
|
|
<cellSizeUpdated> will be called.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose label should be changed.<DD><CODE>value</CODE> - New label to be assigned.<DD><CODE>autoSize</CODE> - Specifies if cellSizeUpdated should be called.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isHtmlLabel(java.lang.Object)"><!-- --></A><H3>
|
|
isHtmlLabel</H3>
|
|
<PRE>
|
|
public boolean <B>isHtmlLabel</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the label must be rendered as HTML markup. The default
|
|
implementation returns <htmlLabels>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose label should be displayed as HTML markup.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell label is HTML markup.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getToolTipForCell(java.lang.Object)"><!-- --></A><H3>
|
|
getToolTipForCell</H3>
|
|
<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> <B>getToolTipForCell</B>(<A HREF="http://download.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>
|
|
<DD>Returns the tooltip to be used for the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getStartSize(java.lang.Object)"><!-- --></A><H3>
|
|
getStartSize</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getStartSize</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>swimlane</CODE> - <mxCell> whose start size should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the startsize for the given swimlane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getImage(com.mxgraph.view.mxCellState)"><!-- --></A><H3>
|
|
getImage</H3>
|
|
<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> <B>getImage</B>(<A HREF="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
|
|
<DL>
|
|
<DD>Returns the image URL for the given cell state. This implementation
|
|
returns the value stored under <mxConstants.STYLE_IMAGE> in the cell
|
|
style.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>state</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns the image associated with the given cell state.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBorder()"><!-- --></A><H3>
|
|
getBorder</H3>
|
|
<PRE>
|
|
public int <B>getBorder</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the value of <border>.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the border.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setBorder(int)"><!-- --></A><H3>
|
|
setBorder</H3>
|
|
<PRE>
|
|
public void <B>setBorder</B>(int value)</PRE>
|
|
<DL>
|
|
<DD>Sets the value of <border>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Positive integer that represents the border to be used.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultLoopStyle()"><!-- --></A><H3>
|
|
getDefaultLoopStyle</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</A> <B>getDefaultLoopStyle</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the default edge style used for loops.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the default loop style.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultLoopStyle(com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction)"><!-- --></A><H3>
|
|
setDefaultLoopStyle</H3>
|
|
<PRE>
|
|
public void <B>setDefaultLoopStyle</B>(<A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view">mxEdgeStyle.mxEdgeStyleFunction</A> value)</PRE>
|
|
<DL>
|
|
<DD>Sets the default style used for loops.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Default style to be used for loops.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isSwimlane(java.lang.Object)"><!-- --></A><H3>
|
|
isSwimlane</H3>
|
|
<PRE>
|
|
public boolean <B>isSwimlane</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is a swimlane. This implementation always
|
|
returns false.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that should be checked.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is a swimlane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellLocked(java.lang.Object)"><!-- --></A><H3>
|
|
isCellLocked</H3>
|
|
<PRE>
|
|
public boolean <B>isCellLocked</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose locked state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is locked.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsLocked()"><!-- --></A><H3>
|
|
isCellsLocked</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsLocked</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsLocked, the default return value for isCellLocked.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsLocked(boolean)"><!-- --></A><H3>
|
|
setCellsLocked</H3>
|
|
<PRE>
|
|
public void <B>setCellsLocked</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cellsLocked, the default return value for isCellLocked and fires a
|
|
property change event for cellsLocked.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellEditable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellEditable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellEditable</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is movable. This implementation returns editable.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose editable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is editable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsEditable()"><!-- --></A><H3>
|
|
isCellsEditable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsEditable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if editing is allowed in this graph.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns true if the graph is editable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsEditable(boolean)"><!-- --></A><H3>
|
|
setCellsEditable</H3>
|
|
<PRE>
|
|
public void <B>setCellsEditable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets if the graph is editable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellResizable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellResizable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellResizable</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is resizable. This implementation returns
|
|
cellsSizable for all cells.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose resizable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is sizable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsResizable()"><!-- --></A><H3>
|
|
isCellsResizable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsResizable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the given cell is resizable. This implementation return sizable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsResizable(boolean)"><!-- --></A><H3>
|
|
setCellsResizable</H3>
|
|
<PRE>
|
|
public void <B>setCellsResizable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets if the graph is resizable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMovableCells(java.lang.Object[])"><!-- --></A><H3>
|
|
getMovableCells</H3>
|
|
<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>[] <B>getMovableCells</B>(<A HREF="http://download.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>
|
|
<DD>Returns the cells which are movable in the given array of cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellMovable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellMovable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellMovable</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is movable. This implementation
|
|
returns movable.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose movable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is movable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsMovable()"><!-- --></A><H3>
|
|
isCellsMovable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsMovable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsMovable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsMovable(boolean)"><!-- --></A><H3>
|
|
setCellsMovable</H3>
|
|
<PRE>
|
|
public void <B>setCellsMovable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cellsMovable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isTerminalPointMovable(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
isTerminalPointMovable</H3>
|
|
<PRE>
|
|
public boolean <B>isTerminalPointMovable</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose terminal point should be moved.<DD><CODE>source</CODE> - Boolean indicating if the source or target terminal should be moved.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellBendable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellBendable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellBendable</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose bendable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is bendable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsBendable()"><!-- --></A><H3>
|
|
isCellsBendable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsBendable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsBendable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsBendable(boolean)"><!-- --></A><H3>
|
|
setCellsBendable</H3>
|
|
<PRE>
|
|
public void <B>setCellsBendable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cellsBendable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellSelectable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellSelectable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellSelectable</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is selectable. This implementation returns
|
|
<selectable>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose selectable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is selectable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsSelectable()"><!-- --></A><H3>
|
|
isCellsSelectable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsSelectable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsSelectable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsSelectable(boolean)"><!-- --></A><H3>
|
|
setCellsSelectable</H3>
|
|
<PRE>
|
|
public void <B>setCellsSelectable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cellsSelectable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDeletableCells(java.lang.Object[])"><!-- --></A><H3>
|
|
getDeletableCells</H3>
|
|
<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>[] <B>getDeletableCells</B>(<A HREF="http://download.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>
|
|
<DD>Returns the cells which are movable in the given array of cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellDeletable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellDeletable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellDeletable</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is movable. This implementation always
|
|
returns true.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose movable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is movable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsDeletable()"><!-- --></A><H3>
|
|
isCellsDeletable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsDeletable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsDeletable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsDeletable(boolean)"><!-- --></A><H3>
|
|
setCellsDeletable</H3>
|
|
<PRE>
|
|
public void <B>setCellsDeletable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cellsDeletable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCloneableCells(java.lang.Object[])"><!-- --></A><H3>
|
|
getCloneableCells</H3>
|
|
<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>[] <B>getCloneableCells</B>(<A HREF="http://download.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>
|
|
<DD>Returns the cells which are movable in the given array of cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellCloneable(java.lang.Object)"><!-- --></A><H3>
|
|
isCellCloneable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellCloneable</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsCloneable()"><!-- --></A><H3>
|
|
isCellsCloneable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsCloneable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsCloneable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsCloneable(boolean)"><!-- --></A><H3>
|
|
setCellsCloneable</H3>
|
|
<PRE>
|
|
public void <B>setCellsCloneable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Specifies if the graph should allow cloning of cells by holding down the
|
|
control key while cells are being moved. This implementation updates
|
|
cellsCloneable.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Boolean indicating if the graph should be cloneable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellDisconnectable(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
isCellDisconnectable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellDisconnectable</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose disconnectable state should be returned.<DD><CODE>terminal</CODE> - <mxCell> that represents the source or target terminal.<DD><CODE>source</CODE> - Boolean indicating if the source or target terminal is to be
|
|
disconnected.
|
|
<DT><B>Returns:</B><DD>Returns true if the given edge can be disconnected from the given
|
|
terminal.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellsDisconnectable()"><!-- --></A><H3>
|
|
isCellsDisconnectable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellsDisconnectable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cellsDisconnectable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCellsDisconnectable(boolean)"><!-- --></A><H3>
|
|
setCellsDisconnectable</H3>
|
|
<PRE>
|
|
public void <B>setCellsDisconnectable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cellsDisconnectable.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Boolean indicating if the graph should allow disconnecting of
|
|
edges.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLabelClipped(java.lang.Object)"><!-- --></A><H3>
|
|
isLabelClipped</H3>
|
|
<PRE>
|
|
public boolean <B>isLabelClipped</B>(<A HREF="http://download.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>
|
|
<DD>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".
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose label should be clipped.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell label should be clipped.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLabelsClipped()"><!-- --></A><H3>
|
|
isLabelsClipped</H3>
|
|
<PRE>
|
|
public boolean <B>isLabelsClipped</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns labelsClipped.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setLabelsClipped(boolean)"><!-- --></A><H3>
|
|
setLabelsClipped</H3>
|
|
<PRE>
|
|
public void <B>setLabelsClipped</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets labelsClipped.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isLabelMovable(java.lang.Object)"><!-- --></A><H3>
|
|
isLabelMovable</H3>
|
|
<PRE>
|
|
public boolean <B>isLabelMovable</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose label should be moved.
|
|
<DT><B>Returns:</B><DD>Returns true if the label of the given cell is movable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isVertexLabelsMovable()"><!-- --></A><H3>
|
|
isVertexLabelsMovable</H3>
|
|
<PRE>
|
|
public boolean <B>isVertexLabelsMovable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns vertexLabelsMovable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setVertexLabelsMovable(boolean)"><!-- --></A><H3>
|
|
setVertexLabelsMovable</H3>
|
|
<PRE>
|
|
public void <B>setVertexLabelsMovable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets vertexLabelsMovable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isEdgeLabelsMovable()"><!-- --></A><H3>
|
|
isEdgeLabelsMovable</H3>
|
|
<PRE>
|
|
public boolean <B>isEdgeLabelsMovable</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns edgeLabelsMovable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setEdgeLabelsMovable(boolean)"><!-- --></A><H3>
|
|
setEdgeLabelsMovable</H3>
|
|
<PRE>
|
|
public void <B>setEdgeLabelsMovable</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Returns edgeLabelsMovable.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isEnabled()"><!-- --></A><H3>
|
|
isEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the graph is <enabled>.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns true if the graph is enabled.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setEnabled(boolean)"><!-- --></A><H3>
|
|
setEnabled</H3>
|
|
<PRE>
|
|
public void <B>setEnabled</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Specifies if the graph should allow any interactions. This
|
|
implementation updates <enabled>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Boolean indicating if the graph should be enabled.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isDropEnabled()"><!-- --></A><H3>
|
|
isDropEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isDropEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the graph allows drop into other cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDropEnabled(boolean)"><!-- --></A><H3>
|
|
setDropEnabled</H3>
|
|
<PRE>
|
|
public void <B>setDropEnabled</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets dropEnabled.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isSplitEnabled()"><!-- --></A><H3>
|
|
isSplitEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isSplitEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSplitEnabled(boolean)"><!-- --></A><H3>
|
|
setSplitEnabled</H3>
|
|
<PRE>
|
|
public void <B>setSplitEnabled</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets splitEnabled.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isMultigraph()"><!-- --></A><H3>
|
|
isMultigraph</H3>
|
|
<PRE>
|
|
public boolean <B>isMultigraph</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns multigraph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMultigraph(boolean)"><!-- --></A><H3>
|
|
setMultigraph</H3>
|
|
<PRE>
|
|
public void <B>setMultigraph</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets multigraph.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isSwimlaneNesting()"><!-- --></A><H3>
|
|
isSwimlaneNesting</H3>
|
|
<PRE>
|
|
public boolean <B>isSwimlaneNesting</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns swimlaneNesting.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSwimlaneNesting(boolean)"><!-- --></A><H3>
|
|
setSwimlaneNesting</H3>
|
|
<PRE>
|
|
public void <B>setSwimlaneNesting</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets swimlaneNesting.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAllowDanglingEdges()"><!-- --></A><H3>
|
|
isAllowDanglingEdges</H3>
|
|
<PRE>
|
|
public boolean <B>isAllowDanglingEdges</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns allowDanglingEdges
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAllowDanglingEdges(boolean)"><!-- --></A><H3>
|
|
setAllowDanglingEdges</H3>
|
|
<PRE>
|
|
public void <B>setAllowDanglingEdges</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets allowDanglingEdges.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCloneInvalidEdges()"><!-- --></A><H3>
|
|
isCloneInvalidEdges</H3>
|
|
<PRE>
|
|
public boolean <B>isCloneInvalidEdges</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns cloneInvalidEdges.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCloneInvalidEdges(boolean)"><!-- --></A><H3>
|
|
setCloneInvalidEdges</H3>
|
|
<PRE>
|
|
public void <B>setCloneInvalidEdges</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets cloneInvalidEdge.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isDisconnectOnMove()"><!-- --></A><H3>
|
|
isDisconnectOnMove</H3>
|
|
<PRE>
|
|
public boolean <B>isDisconnectOnMove</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns disconnectOnMove
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDisconnectOnMove(boolean)"><!-- --></A><H3>
|
|
setDisconnectOnMove</H3>
|
|
<PRE>
|
|
public void <B>setDisconnectOnMove</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets disconnectOnMove.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAllowLoops()"><!-- --></A><H3>
|
|
isAllowLoops</H3>
|
|
<PRE>
|
|
public boolean <B>isAllowLoops</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns allowLoops.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAllowLoops(boolean)"><!-- --></A><H3>
|
|
setAllowLoops</H3>
|
|
<PRE>
|
|
public void <B>setAllowLoops</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets allowLoops.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isConnectableEdges()"><!-- --></A><H3>
|
|
isConnectableEdges</H3>
|
|
<PRE>
|
|
public boolean <B>isConnectableEdges</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns connectableEdges.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setConnectableEdges(boolean)"><!-- --></A><H3>
|
|
setConnectableEdges</H3>
|
|
<PRE>
|
|
public void <B>setConnectableEdges</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets connetableEdges.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isResetEdgesOnMove()"><!-- --></A><H3>
|
|
isResetEdgesOnMove</H3>
|
|
<PRE>
|
|
public boolean <B>isResetEdgesOnMove</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns resetEdgesOnMove.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setResetEdgesOnMove(boolean)"><!-- --></A><H3>
|
|
setResetEdgesOnMove</H3>
|
|
<PRE>
|
|
public void <B>setResetEdgesOnMove</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets resetEdgesOnMove.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isResetViewOnRootChange()"><!-- --></A><H3>
|
|
isResetViewOnRootChange</H3>
|
|
<PRE>
|
|
public boolean <B>isResetViewOnRootChange</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns resetViewOnRootChange.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setResetViewOnRootChange(boolean)"><!-- --></A><H3>
|
|
setResetViewOnRootChange</H3>
|
|
<PRE>
|
|
public void <B>setResetViewOnRootChange</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets resetEdgesOnResize.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isResetEdgesOnResize()"><!-- --></A><H3>
|
|
isResetEdgesOnResize</H3>
|
|
<PRE>
|
|
public boolean <B>isResetEdgesOnResize</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns resetEdgesOnResize.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setResetEdgesOnResize(boolean)"><!-- --></A><H3>
|
|
setResetEdgesOnResize</H3>
|
|
<PRE>
|
|
public void <B>setResetEdgesOnResize</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets resetEdgesOnResize.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isResetEdgesOnConnect()"><!-- --></A><H3>
|
|
isResetEdgesOnConnect</H3>
|
|
<PRE>
|
|
public boolean <B>isResetEdgesOnConnect</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns resetEdgesOnConnect.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setResetEdgesOnConnect(boolean)"><!-- --></A><H3>
|
|
setResetEdgesOnConnect</H3>
|
|
<PRE>
|
|
public void <B>setResetEdgesOnConnect</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets resetEdgesOnConnect.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAutoSizeCell(java.lang.Object)"><!-- --></A><H3>
|
|
isAutoSizeCell</H3>
|
|
<PRE>
|
|
public boolean <B>isAutoSizeCell</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that should be resized.
|
|
<DT><B>Returns:</B><DD>Returns true if the size of the given cell should be updated.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAutoSizeCells()"><!-- --></A><H3>
|
|
isAutoSizeCells</H3>
|
|
<PRE>
|
|
public boolean <B>isAutoSizeCells</B>()</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAutoSizeCells(boolean)"><!-- --></A><H3>
|
|
setAutoSizeCells</H3>
|
|
<PRE>
|
|
public void <B>setAutoSizeCells</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Specifies if cell sizes should be automatically updated after a label
|
|
change. This implementation sets autoSize to the given parameter.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Boolean indicating if cells should be resized
|
|
automatically.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isExtendParent(java.lang.Object)"><!-- --></A><H3>
|
|
isExtendParent</H3>
|
|
<PRE>
|
|
public boolean <B>isExtendParent</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell that has been resized.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isExtendParents()"><!-- --></A><H3>
|
|
isExtendParents</H3>
|
|
<PRE>
|
|
public boolean <B>isExtendParents</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns extendParents.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExtendParents(boolean)"><!-- --></A><H3>
|
|
setExtendParents</H3>
|
|
<PRE>
|
|
public void <B>setExtendParents</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets extendParents.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isExtendParentsOnAdd()"><!-- --></A><H3>
|
|
isExtendParentsOnAdd</H3>
|
|
<PRE>
|
|
public boolean <B>isExtendParentsOnAdd</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns extendParentsOnAdd.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setExtendParentsOnAdd(boolean)"><!-- --></A><H3>
|
|
setExtendParentsOnAdd</H3>
|
|
<PRE>
|
|
public void <B>setExtendParentsOnAdd</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets extendParentsOnAdd.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isConstrainChild(java.lang.Object)"><!-- --></A><H3>
|
|
isConstrainChild</H3>
|
|
<PRE>
|
|
public boolean <B>isConstrainChild</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isConstrainChildren()"><!-- --></A><H3>
|
|
isConstrainChildren</H3>
|
|
<PRE>
|
|
public boolean <B>isConstrainChildren</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns constrainChildren.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the keepInsideParentOnMove</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setConstrainChildren(boolean)"><!-- --></A><H3>
|
|
setConstrainChildren</H3>
|
|
<PRE>
|
|
public void <B>setConstrainChildren</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the constrainChildren to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAutoOrigin()"><!-- --></A><H3>
|
|
isAutoOrigin</H3>
|
|
<PRE>
|
|
public boolean <B>isAutoOrigin</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns autoOrigin.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAutoOrigin(boolean)"><!-- --></A><H3>
|
|
setAutoOrigin</H3>
|
|
<PRE>
|
|
public void <B>setAutoOrigin</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the autoOrigin to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOrigin()"><!-- --></A><H3>
|
|
getOrigin</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> <B>getOrigin</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns origin.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOrigin(com.mxgraph.util.mxPoint)"><!-- --></A><H3>
|
|
setOrigin</H3>
|
|
<PRE>
|
|
public void <B>setOrigin</B>(<A HREF="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</A> value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the origin to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getChangesRepaintThreshold()"><!-- --></A><H3>
|
|
getChangesRepaintThreshold</H3>
|
|
<PRE>
|
|
public int <B>getChangesRepaintThreshold</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns changesRepaintThreshold.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setChangesRepaintThreshold(int)"><!-- --></A><H3>
|
|
setChangesRepaintThreshold</H3>
|
|
<PRE>
|
|
public void <B>setChangesRepaintThreshold</B>(int value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the changesRepaintThreshold to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAllowNegativeCoordinates()"><!-- --></A><H3>
|
|
isAllowNegativeCoordinates</H3>
|
|
<PRE>
|
|
public boolean <B>isAllowNegativeCoordinates</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns isAllowNegativeCoordinates.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the allowNegativeCoordinates</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAllowNegativeCoordinates(boolean)"><!-- --></A><H3>
|
|
setAllowNegativeCoordinates</H3>
|
|
<PRE>
|
|
public void <B>setAllowNegativeCoordinates</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the allowNegativeCoordinates to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCollapseToPreferredSize()"><!-- --></A><H3>
|
|
isCollapseToPreferredSize</H3>
|
|
<PRE>
|
|
public boolean <B>isCollapseToPreferredSize</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns collapseToPreferredSize.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the collapseToPreferredSize</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCollapseToPreferredSize(boolean)"><!-- --></A><H3>
|
|
setCollapseToPreferredSize</H3>
|
|
<PRE>
|
|
public void <B>setCollapseToPreferredSize</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the collapseToPreferredSize to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isKeepEdgesInForeground()"><!-- --></A><H3>
|
|
isKeepEdgesInForeground</H3>
|
|
<PRE>
|
|
public boolean <B>isKeepEdgesInForeground</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns true if edges are rendered in the foreground.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setKeepEdgesInForeground(boolean)"><!-- --></A><H3>
|
|
setKeepEdgesInForeground</H3>
|
|
<PRE>
|
|
public void <B>setKeepEdgesInForeground</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the keepEdgesInForeground to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isKeepEdgesInBackground()"><!-- --></A><H3>
|
|
isKeepEdgesInBackground</H3>
|
|
<PRE>
|
|
public boolean <B>isKeepEdgesInBackground</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns true if edges are rendered in the background.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setKeepEdgesInBackground(boolean)"><!-- --></A><H3>
|
|
setKeepEdgesInBackground</H3>
|
|
<PRE>
|
|
public void <B>setKeepEdgesInBackground</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the keepEdgesInBackground to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isValidSource(java.lang.Object)"><!-- --></A><H3>
|
|
isValidSource</H3>
|
|
<PRE>
|
|
public boolean <B>isValidSource</B>(<A HREF="http://download.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>
|
|
<DD>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>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Object that represents a possible source or null.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is a valid source terminal.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isValidTarget(java.lang.Object)"><!-- --></A><H3>
|
|
isValidTarget</H3>
|
|
<PRE>
|
|
public boolean <B>isValidTarget</B>(<A HREF="http://download.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>
|
|
<DD>Returns isValidSource for the given cell. This is called by
|
|
isValidConnection.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Object that represents a possible target or null.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is a valid target.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isValidConnection(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
isValidConnection</H3>
|
|
<PRE>
|
|
public boolean <B>isValidConnection</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Object that represents the source cell.<DD><CODE>target</CODE> - Object that represents the target cell.
|
|
<DT><B>Returns:</B><DD>Returns true if the the connection between the given terminals
|
|
is valid.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMinimumGraphSize()"><!-- --></A><H3>
|
|
getMinimumGraphSize</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> <B>getMinimumGraphSize</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the minimum size of the diagram.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the minimum container size.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMinimumGraphSize(com.mxgraph.util.mxRectangle)"><!-- --></A><H3>
|
|
setMinimumGraphSize</H3>
|
|
<PRE>
|
|
public void <B>setMinimumGraphSize</B>(<A HREF="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</A> value)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the minimumGraphSize to set</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOverlap(java.lang.Object)"><!-- --></A><H3>
|
|
getOverlap</H3>
|
|
<PRE>
|
|
public double <B>getOverlap</B>(<A HREF="http://download.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>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns the overlapping value for the given cell inside its
|
|
parent.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultOverlap()"><!-- --></A><H3>
|
|
getDefaultOverlap</H3>
|
|
<PRE>
|
|
public double <B>getDefaultOverlap</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets defaultOverlap.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultOverlap(double)"><!-- --></A><H3>
|
|
setDefaultOverlap</H3>
|
|
<PRE>
|
|
public void <B>setDefaultOverlap</B>(double value)</PRE>
|
|
<DL>
|
|
<DD>Sets defaultOverlap.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAllowOverlapParent(java.lang.Object)"><!-- --></A><H3>
|
|
isAllowOverlapParent</H3>
|
|
<PRE>
|
|
public boolean <B>isAllowOverlapParent</B>(<A HREF="http://download.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>
|
|
<DD>Returns true if the given cell is allowed to be placed outside of the
|
|
parents area.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell may overlap its parent.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFoldableCells(java.lang.Object[], boolean)"><!-- --></A><H3>
|
|
getFoldableCells</H3>
|
|
<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>[] <B>getFoldableCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the cells which are movable in the given array of cells.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellFoldable(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
isCellFoldable</H3>
|
|
<PRE>
|
|
public boolean <B>isCellFoldable</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - <mxCell> whose expandable state should be returned.
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is expandable.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isGridEnabled()"><!-- --></A><H3>
|
|
isGridEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>isGridEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns true if the grid is enabled.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the enabled state of the grid.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGridEnabled(boolean)"><!-- --></A><H3>
|
|
setGridEnabled</H3>
|
|
<PRE>
|
|
public void <B>setGridEnabled</B>(boolean value)</PRE>
|
|
<DL>
|
|
<DD>Sets if the grid is enabled.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Specifies if the grid should be enabled.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getGridSize()"><!-- --></A><H3>
|
|
getGridSize</H3>
|
|
<PRE>
|
|
public int <B>getGridSize</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the grid size.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the grid size</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setGridSize(int)"><!-- --></A><H3>
|
|
setGridSize</H3>
|
|
<PRE>
|
|
public void <B>setGridSize</B>(int value)</PRE>
|
|
<DL>
|
|
<DD>Sets the grid size and fires a property change event for gridSize.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - New grid size to be used.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAlternateEdgeStyle()"><!-- --></A><H3>
|
|
getAlternateEdgeStyle</H3>
|
|
<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> <B>getAlternateEdgeStyle</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns alternateEdgeStyle.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAlternateEdgeStyle(java.lang.String)"><!-- --></A><H3>
|
|
setAlternateEdgeStyle</H3>
|
|
<PRE>
|
|
public void <B>setAlternateEdgeStyle</B>(<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>
|
|
<DL>
|
|
<DD>Sets alternateEdgeStyle.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isValidDropTarget(java.lang.Object, java.lang.Object[])"><!-- --></A><H3>
|
|
isValidDropTarget</H3>
|
|
<PRE>
|
|
public boolean <B>isValidDropTarget</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Object that represents the possible drop target.<DD><CODE>cells</CODE> - Objects that are going to be dropped.
|
|
<DT><B>Returns:</B><DD>Returns true if the cell is a valid drop target for the given
|
|
cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isSplitTarget(java.lang.Object, java.lang.Object[])"><!-- --></A><H3>
|
|
isSplitTarget</H3>
|
|
<PRE>
|
|
public boolean <B>isSplitTarget</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>target</CODE> - Object that represents the edge to be splitted.<DD><CODE>cells</CODE> - Array of cells to add into the given edge.
|
|
<DT><B>Returns:</B><DD>Returns true if the given edge may be splitted by the given
|
|
cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDropTarget(java.lang.Object[], java.awt.Point, java.lang.Object)"><!-- --></A><H3>
|
|
getDropTarget</H3>
|
|
<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> <B>getDropTarget</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDefaultParent()"><!-- --></A><H3>
|
|
getDefaultParent</H3>
|
|
<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> <B>getDefaultParent</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the first child of the root in the model, that is, the first or
|
|
default layer of the diagram.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the default parent for new cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDefaultParent(java.lang.Object)"><!-- --></A><H3>
|
|
setDefaultParent</H3>
|
|
<PRE>
|
|
public void <B>setDefaultParent</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Sets the default parent to be returned by getDefaultParent.
|
|
Set this to null to return the first child of the root in
|
|
getDefaultParent.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getChildVertices(java.lang.Object)"><!-- --></A><H3>
|
|
getChildVertices</H3>
|
|
<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>[] <B>getChildVertices</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the visible child vertices of the given parent.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be returned.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getChildEdges(java.lang.Object)"><!-- --></A><H3>
|
|
getChildEdges</H3>
|
|
<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>[] <B>getChildEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the visible child edges of the given parent.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be returned.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getChildCells(java.lang.Object)"><!-- --></A><H3>
|
|
getChildCells</H3>
|
|
<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>[] <B>getChildCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the visible children of the given parent.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be returned.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getChildCells(java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
getChildCells</H3>
|
|
<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>[] <B>getChildCells</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns the visible child vertices or edges in the given parent. If
|
|
vertices and edges is false, then all children are returned.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be returned.<DD><CODE>vertices</CODE> - Specifies if child vertices should be returned.<DD><CODE>edges</CODE> - Specifies if child edges should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the child vertices and edges.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getConnections(java.lang.Object)"><!-- --></A><H3>
|
|
getConnections</H3>
|
|
<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>[] <B>getConnections</B>(<A HREF="http://download.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>
|
|
<DD>Returns all visible edges connected to the given cell without loops.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose connections should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the connected edges for the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getConnections(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
getConnections</H3>
|
|
<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>[] <B>getConnections</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose connections should be returned.<DD><CODE>parent</CODE> - Optional parent of the opposite end for a connection
|
|
to be returned.
|
|
<DT><B>Returns:</B><DD>Returns the connected edges for the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getConnections(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
getConnections</H3>
|
|
<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>[] <B>getConnections</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose connections should be returned.<DD><CODE>parent</CODE> - Optional parent of the opposite end for a connection
|
|
to be returned.
|
|
<DT><B>Returns:</B><DD>Returns the connected edges for the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getIncomingEdges(java.lang.Object)"><!-- --></A><H3>
|
|
getIncomingEdges</H3>
|
|
<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>[] <B>getIncomingEdges</B>(<A HREF="http://download.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>
|
|
<DD>Returns all incoming visible edges connected to the given cell without
|
|
loops.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose incoming edges should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the incoming edges of the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getIncomingEdges(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
getIncomingEdges</H3>
|
|
<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>[] <B>getIncomingEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose incoming edges should be returned.<DD><CODE>parent</CODE> - Optional parent of the opposite end for an edge
|
|
to be returned.
|
|
<DT><B>Returns:</B><DD>Returns the incoming edges of the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOutgoingEdges(java.lang.Object)"><!-- --></A><H3>
|
|
getOutgoingEdges</H3>
|
|
<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>[] <B>getOutgoingEdges</B>(<A HREF="http://download.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>
|
|
<DD>Returns all outgoing visible edges connected to the given cell without
|
|
loops.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose outgoing edges should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the outgoing edges of the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOutgoingEdges(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
getOutgoingEdges</H3>
|
|
<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>[] <B>getOutgoingEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose outgoing edges should be returned.<DD><CODE>parent</CODE> - Optional parent of the opposite end for an edge
|
|
to be returned.
|
|
<DT><B>Returns:</B><DD>Returns the outgoing edges of the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdges(java.lang.Object)"><!-- --></A><H3>
|
|
getEdges</H3>
|
|
<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>[] <B>getEdges</B>(<A HREF="http://download.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>
|
|
<DD>Returns all visible edges connected to the given cell including loops.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose edges should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the edges of the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdges(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
getEdges</H3>
|
|
<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>[] <B>getEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns all visible edges connected to the given cell including loops.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose edges should be returned.<DD><CODE>parent</CODE> - Optional parent of the opposite end for an edge
|
|
to be returned.
|
|
<DT><B>Returns:</B><DD>Returns the edges of the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdges(java.lang.Object, java.lang.Object, boolean, boolean, boolean)"><!-- --></A><H3>
|
|
getEdges</H3>
|
|
<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>[] <B>getEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose edges should be returned.<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><CODE>incoming</CODE> - Specifies if incoming edges should be included in the
|
|
result.<DD><CODE>outgoing</CODE> - Specifies if outgoing edges should be included in the
|
|
result.<DD><CODE>includeLoops</CODE> - Specifies if loops should be included in the result.
|
|
<DT><B>Returns:</B><DD>Returns the edges connected to the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdges(java.lang.Object, java.lang.Object, boolean, boolean, boolean, boolean)"><!-- --></A><H3>
|
|
getEdges</H3>
|
|
<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>[] <B>getEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - Cell whose edges should be returned.<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><CODE>incoming</CODE> - Specifies if incoming edges should be included in the
|
|
result.<DD><CODE>outgoing</CODE> - Specifies if outgoing edges should be included in the
|
|
result.<DD><CODE>includeLoops</CODE> - Specifies if loops should be included in the result.<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>
|
|
<DT><B>Returns:</B><DD>Returns the edges connected to the given cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isValidAncestor(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
isValidAncestor</H3>
|
|
<PRE>
|
|
public boolean <B>isValidAncestor</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - the possible child cell<DD><CODE>parent</CODE> - the possible parent cell<DD><CODE>recurse</CODE> - whether or not to recurse the child ancestors
|
|
<DT><B>Returns:</B><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.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOpposites(java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
|
|
getOpposites</H3>
|
|
<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>[] <B>getOpposites</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns all distinct visible opposite cells of the terminal on the given
|
|
edges.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edges</CODE> - <DD><CODE>terminal</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns the terminals at the opposite ends of the given edges.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getOpposites(java.lang.Object[], java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
getOpposites</H3>
|
|
<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>[] <B>getOpposites</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Returns all distincts visible opposite cells for the specified terminal
|
|
on the given edges.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>edges</CODE> - Edges whose opposite terminals should be returned.<DD><CODE>terminal</CODE> - Terminal that specifies the end whose opposite should be
|
|
returned.<DD><CODE>sources</CODE> - Specifies if source terminals should be included in the
|
|
result.<DD><CODE>targets</CODE> - Specifies if target terminals should be included in the
|
|
result.
|
|
<DT><B>Returns:</B><DD>Returns the cells at the opposite ends of the given edges.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdgesBetween(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
getEdgesBetween</H3>
|
|
<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>[] <B>getEdgesBetween</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>source</CODE> - <DD><CODE>target</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns all edges between the given terminals.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdgesBetween(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
|
|
getEdgesBetween</H3>
|
|
<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>[] <B>getEdgesBetween</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>source</CODE> - <DD><CODE>target</CODE> - <DD><CODE>directed</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns all edges between the given terminals.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCellsBeyond(double, double, java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
getCellsBeyond</H3>
|
|
<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>[] <B>getCellsBeyond</B>(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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>x0</CODE> - X-coordinate of the origin.<DD><CODE>y0</CODE> - Y-coordinate of the origin.<DD><CODE>parent</CODE> - <mxCell> whose children should be checked.<DD><CODE>rightHalfpane</CODE> - Boolean indicating if the cells in the right halfpane
|
|
from the origin should be returned.<DD><CODE>bottomHalfpane</CODE> - Boolean indicating if the cells in the bottom halfpane
|
|
from the origin should be returned.
|
|
<DT><B>Returns:</B><DD>Returns the cells beyond the given halfpane.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="findTreeRoots(java.lang.Object)"><!-- --></A><H3>
|
|
findTreeRoots</H3>
|
|
<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>> <B>findTreeRoots</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be checked.
|
|
<DT><B>Returns:</B><DD>List of tree roots in parent.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="findTreeRoots(java.lang.Object, boolean)"><!-- --></A><H3>
|
|
findTreeRoots</H3>
|
|
<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>> <B>findTreeRoots</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be checked.<DD><CODE>isolate</CODE> - Specifies if edges should be ignored if the opposite
|
|
end is not a child of the given parent cell.
|
|
<DT><B>Returns:</B><DD>List of tree roots in parent.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="findTreeRoots(java.lang.Object, boolean, boolean)"><!-- --></A><H3>
|
|
findTreeRoots</H3>
|
|
<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>> <B>findTreeRoots</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Cell whose children should be checked.<DD><CODE>isolate</CODE> - Specifies if edges should be ignored if the opposite
|
|
end is not a child of the given parent cell.<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.
|
|
<DT><B>Returns:</B><DD>List of tree roots in parent.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="traverse(java.lang.Object, boolean, com.mxgraph.view.mxGraph.mxICellVisitor)"><!-- --></A><H3>
|
|
traverse</H3>
|
|
<PRE>
|
|
public void <B>traverse</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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>
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>vertex</CODE> - <DD><CODE>directed</CODE> - <DD><CODE>visitor</CODE> - </DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="traverse(java.lang.Object, boolean, com.mxgraph.view.mxGraph.mxICellVisitor, java.lang.Object, java.util.Set)"><!-- --></A><H3>
|
|
traverse</H3>
|
|
<PRE>
|
|
public void <B>traverse</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>vertex</CODE> - <mxCell> that represents the vertex where the traversal starts.<DD><CODE>directed</CODE> - Optional boolean indicating if edges should only be traversed
|
|
from source to target. Default is true.<DD><CODE>visitor</CODE> - Visitor that takes the current vertex and the incoming edge.
|
|
The traversal stops if the function returns false.<DD><CODE>edge</CODE> - Optional <mxCell> that represents the incoming edge. This is
|
|
null for the first step of the traversal.<DD><CODE>visited</CODE> - Optional array of cell paths for the visited cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSelectionModel()"><!-- --></A><H3>
|
|
getSelectionModel</H3>
|
|
<PRE>
|
|
public <A HREF="../../../com/mxgraph/view/mxGraphSelectionModel.html" title="class in com.mxgraph.view">mxGraphSelectionModel</A> <B>getSelectionModel</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSelectionCount()"><!-- --></A><H3>
|
|
getSelectionCount</H3>
|
|
<PRE>
|
|
public int <B>getSelectionCount</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCellSelected(java.lang.Object)"><!-- --></A><H3>
|
|
isCellSelected</H3>
|
|
<PRE>
|
|
public boolean <B>isCellSelected</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> -
|
|
<DT><B>Returns:</B><DD>Returns true if the given cell is selected.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isSelectionEmpty()"><!-- --></A><H3>
|
|
isSelectionEmpty</H3>
|
|
<PRE>
|
|
public boolean <B>isSelectionEmpty</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns true if the selection is empty.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="clearSelection()"><!-- --></A><H3>
|
|
clearSelection</H3>
|
|
<PRE>
|
|
public void <B>clearSelection</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSelectionCell()"><!-- --></A><H3>
|
|
getSelectionCell</H3>
|
|
<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> <B>getSelectionCell</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the selection cell.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSelectionCell(java.lang.Object)"><!-- --></A><H3>
|
|
setSelectionCell</H3>
|
|
<PRE>
|
|
public void <B>setSelectionCell</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - </DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSelectionCells()"><!-- --></A><H3>
|
|
getSelectionCells</H3>
|
|
<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>[] <B>getSelectionCells</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>Returns the selection cells.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSelectionCells(java.lang.Object[])"><!-- --></A><H3>
|
|
setSelectionCells</H3>
|
|
<PRE>
|
|
public void <B>setSelectionCells</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setSelectionCells(java.util.Collection)"><!-- --></A><H3>
|
|
setSelectionCells</H3>
|
|
<PRE>
|
|
public void <B>setSelectionCells</B>(<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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - </DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addSelectionCell(java.lang.Object)"><!-- --></A><H3>
|
|
addSelectionCell</H3>
|
|
<PRE>
|
|
public void <B>addSelectionCell</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addSelectionCells(java.lang.Object[])"><!-- --></A><H3>
|
|
addSelectionCells</H3>
|
|
<PRE>
|
|
public void <B>addSelectionCells</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeSelectionCell(java.lang.Object)"><!-- --></A><H3>
|
|
removeSelectionCell</H3>
|
|
<PRE>
|
|
public void <B>removeSelectionCell</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removeSelectionCells(java.lang.Object[])"><!-- --></A><H3>
|
|
removeSelectionCells</H3>
|
|
<PRE>
|
|
public void <B>removeSelectionCells</B>(<A HREF="http://download.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>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectNextCell()"><!-- --></A><H3>
|
|
selectNextCell</H3>
|
|
<PRE>
|
|
public void <B>selectNextCell</B>()</PRE>
|
|
<DL>
|
|
<DD>Selects the next cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectPreviousCell()"><!-- --></A><H3>
|
|
selectPreviousCell</H3>
|
|
<PRE>
|
|
public void <B>selectPreviousCell</B>()</PRE>
|
|
<DL>
|
|
<DD>Selects the previous cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectParentCell()"><!-- --></A><H3>
|
|
selectParentCell</H3>
|
|
<PRE>
|
|
public void <B>selectParentCell</B>()</PRE>
|
|
<DL>
|
|
<DD>Selects the parent cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectChildCell()"><!-- --></A><H3>
|
|
selectChildCell</H3>
|
|
<PRE>
|
|
public void <B>selectChildCell</B>()</PRE>
|
|
<DL>
|
|
<DD>Selects the first child cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectCell(boolean, boolean, boolean)"><!-- --></A><H3>
|
|
selectCell</H3>
|
|
<PRE>
|
|
public void <B>selectCell</B>(boolean isNext,
|
|
boolean isParent,
|
|
boolean isChild)</PRE>
|
|
<DL>
|
|
<DD>Selects the next, parent, first child or previous cell, if all arguments
|
|
are false.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>isNext</CODE> - <DD><CODE>isParent</CODE> - <DD><CODE>isChild</CODE> - </DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectVertices()"><!-- --></A><H3>
|
|
selectVertices</H3>
|
|
<PRE>
|
|
public void <B>selectVertices</B>()</PRE>
|
|
<DL>
|
|
<DD>Selects all vertices inside the default parent.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectVertices(java.lang.Object)"><!-- --></A><H3>
|
|
selectVertices</H3>
|
|
<PRE>
|
|
public void <B>selectVertices</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectEdges()"><!-- --></A><H3>
|
|
selectEdges</H3>
|
|
<PRE>
|
|
public void <B>selectEdges</B>()</PRE>
|
|
<DL>
|
|
<DD>Selects all vertices inside the default parent.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectEdges(java.lang.Object)"><!-- --></A><H3>
|
|
selectEdges</H3>
|
|
<PRE>
|
|
public void <B>selectEdges</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>Selects all vertices inside the given parent or the default parent
|
|
if no parent is given.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectCells(boolean, boolean)"><!-- --></A><H3>
|
|
selectCells</H3>
|
|
<PRE>
|
|
public void <B>selectCells</B>(boolean vertices,
|
|
boolean edges)</PRE>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>vertices</CODE> - Boolean indicating if vertices should be selected.<DD><CODE>edges</CODE> - Boolean indicating if edges should be selected.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectCells(boolean, boolean, java.lang.Object)"><!-- --></A><H3>
|
|
selectCells</H3>
|
|
<PRE>
|
|
public void <B>selectCells</B>(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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>vertices</CODE> - Boolean indicating if vertices should be selected.<DD><CODE>edges</CODE> - Boolean indicating if edges should be selected.<DD><CODE>parent</CODE> - Optional cell that acts as the root of the recursion.
|
|
Default is <code>defaultParent</code>.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectAll()"><!-- --></A><H3>
|
|
selectAll</H3>
|
|
<PRE>
|
|
public void <B>selectAll</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectAll(java.lang.Object)"><!-- --></A><H3>
|
|
selectAll</H3>
|
|
<PRE>
|
|
public void <B>selectAll</B>(<A HREF="http://download.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>
|
|
<DL>
|
|
<DD>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>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - Optional <mxCell> whose children should be selected.
|
|
Default is <defaultParent>.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="drawGraph(com.mxgraph.canvas.mxICanvas)"><!-- --></A><H3>
|
|
drawGraph</H3>
|
|
<PRE>
|
|
public void <B>drawGraph</B>(<A HREF="../../../com/mxgraph/canvas/mxICanvas.html" title="interface in com.mxgraph.canvas">mxICanvas</A> canvas)</PRE>
|
|
<DL>
|
|
<DD>Draws the graph onto the given canvas.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>canvas</CODE> - Canvas onto which the graph should be drawn.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="drawCell(com.mxgraph.canvas.mxICanvas, java.lang.Object)"><!-- --></A><H3>
|
|
drawCell</H3>
|
|
<PRE>
|
|
public void <B>drawCell</B>(<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>
|
|
<DL>
|
|
<DD>Draws the given cell and its descendants onto the specified canvas.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>canvas</CODE> - Canvas onto which the cell should be drawn.<DD><CODE>cell</CODE> - Cell that should be drawn onto the canvas.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="drawState(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, boolean)"><!-- --></A><H3>
|
|
drawState</H3>
|
|
<PRE>
|
|
public void <B>drawState</B>(<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>
|
|
<DL>
|
|
<DD>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.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>canvas</CODE> - Canvas onto which the cell should be drawn.<DD><CODE>state</CODE> - State of the cell to be drawn.<DD><CODE>drawLabel</CODE> - Indicates if the label should be drawn.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cellDrawn(com.mxgraph.canvas.mxICanvas, com.mxgraph.view.mxCellState, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
|
|
cellDrawn</H3>
|
|
<PRE>
|
|
protected void <B>cellDrawn</B>(<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>
|
|
<DL>
|
|
<DD>Called when a cell has been painted as the specified object, typically a
|
|
DOM node that represents the given cell graphically in a document.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLinkForCell(java.lang.Object)"><!-- --></A><H3>
|
|
getLinkForCell</H3>
|
|
<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> <B>getLinkForCell</B>(<A HREF="http://download.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>
|
|
<DD>Returns the hyperlink to be used for the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTargetForCell(java.lang.Object)"><!-- --></A><H3>
|
|
getTargetForCell</H3>
|
|
<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> <B>getTargetForCell</B>(<A HREF="http://download.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>
|
|
<DD>Returns the hyperlink to be used for the given cell.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>
|
|
addPropertyChangeListener</H3>
|
|
<PRE>
|
|
public void <B>addPropertyChangeListener</B>(<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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - <DT><B>See Also:</B><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></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"><!-- --></A><H3>
|
|
addPropertyChangeListener</H3>
|
|
<PRE>
|
|
public void <B>addPropertyChangeListener</B>(<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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - <DD><CODE>listener</CODE> - <DT><B>See Also:</B><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></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>
|
|
removePropertyChangeListener</H3>
|
|
<PRE>
|
|
public void <B>removePropertyChangeListener</B>(<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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - <DT><B>See Also:</B><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></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"><!-- --></A><H3>
|
|
removePropertyChangeListener</H3>
|
|
<PRE>
|
|
public void <B>removePropertyChangeListener</B>(<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>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - <DD><CODE>listener</CODE> - <DT><B>See Also:</B><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></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
|
|
main</H3>
|
|
<PRE>
|
|
public static void <B>main</B>(<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>
|
|
<DL>
|
|
<DD>Prints the version number on the console.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/mxGraph.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
<p><b>mxGraph 2.1.1.2</b></p></EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" title="interface in com.mxgraph.view"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../com/mxgraph/view/mxGraph.mxICellVisitor.html" title="interface in com.mxgraph.view"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?com/mxgraph/view/mxGraph.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="mxGraph.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<font size=1>Copyright (c) 2010 <a href="http://www.mxgraph.com/"
|
|
target="_blank">Gaudenz Alder, David Benson</a>. All rights reserved.</font>
|
|
</BODY>
|
|
</HTML>
|