4865 lines
206 KiB
HTML
4865 lines
206 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_171) on Fri Jun 22 14:14:34 UTC 2018 -->
|
|
<title>mxGraphComponent (mxGraph 3.9.7 API Specification)</title>
|
|
<meta name="date" content="2018-06-22">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="mxGraphComponent (mxGraph 3.9.7 API Specification)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10,"i182":10,"i183":10,"i184":10,"i185":10,"i186":10,"i187":10,"i188":10,"i189":10,"i190":10,"i191":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/mxGraphComponent.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><p><b>mxGraph 3.9.7</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?com/mxgraph/swing/mxGraphComponent.html" target="_top">Frames</a></li>
|
|
<li><a href="mxGraphComponent.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.mxgraph.swing</div>
|
|
<h2 title="Class mxGraphComponent" class="title">Class mxGraphComponent</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Component</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Container</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>javax.swing.JComponent</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>javax.swing.JScrollPane</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.mxgraph.swing.mxGraphComponent</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Printable, java.io.Serializable, javax.accessibility.Accessible, javax.swing.ScrollPaneConstants</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">mxGraphComponent</span>
|
|
extends javax.swing.JScrollPane
|
|
implements java.awt.print.Printable</pre>
|
|
<div class="block">For setting the preferred size of the viewport for scrolling, use
|
|
mxGraph.setMinimumGraphSize. This component is a combined scrollpane with an
|
|
inner mxGraphControl. The control contains the actual graph display.
|
|
|
|
To set the background color of the graph, use the following code:
|
|
|
|
<pre>
|
|
graphComponent.getViewport().setOpaque(true);
|
|
graphComponent.getViewport().setBackground(newColor);
|
|
</pre>
|
|
|
|
This class fires the following events:
|
|
|
|
mxEvent.START_EDITING fires before starting the in-place editor for an
|
|
existing cell in startEditingAtCell. The <code>cell</code> property contains
|
|
the cell that is being edit and the <code>event</code> property contains
|
|
optional EventObject which was passed to startEditingAtCell.
|
|
|
|
mxEvent.LABEL_CHANGED fires between begin- and endUpdate after the call to
|
|
mxGraph.cellLabelChanged in labelChanged. The <code>cell</code> property
|
|
contains the cell, the <code>value</code> property contains the new value for
|
|
the cell and the optional <code>event</code> property contains the
|
|
EventObject that started the edit.
|
|
|
|
mxEvent.ADD_OVERLAY and mxEvent.REMOVE_OVERLAY fire afer an overlay was added
|
|
or removed using add-/removeOverlay. The <code>cell</code> property contains
|
|
the cell for which the overlay was added or removed and the
|
|
<code>overlay</code> property contain the mxOverlay.
|
|
|
|
mxEvent.BEFORE_PAINT and mxEvent.AFTER_PAINT fire before and after the paint
|
|
method is called on the component. The <code>g</code> property contains the
|
|
graphics context which is used for painting.</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../serialized-form.html#com.mxgraph.swing.mxGraphComponent">Serialized Form</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
|
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.mxMouseRedirector.html" title="class in com.mxgraph.swing">mxGraphComponent.mxMouseRedirector</a></span></code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JScrollPane">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class javax.swing.JScrollPane</h3>
|
|
<code>javax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class javax.swing.JComponent</h3>
|
|
<code>javax.swing.JComponent.AccessibleJComponent</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Container">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
|
|
<code>java.awt.Container.AccessibleAWTContainer</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
|
|
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#antiAlias">antiAlias</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#autoExtend">autoExtend</a></span></code>
|
|
<div class="block">Whether to extend the graph bounds and scroll towards the limit of those
|
|
new bounds in the direction of mouse travel if a handler is active while
|
|
the mouse leaves the container that the graph exists in.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#autoScroll">autoScroll</a></span></code>
|
|
<div class="block">Whether or not to scroll the scrollable container the graph exists in if
|
|
a suitable handler is active and the graph bounds already exist extended
|
|
in the direction of mouse travel.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#backgroundImage">backgroundImage</a></span></code>
|
|
<div class="block">Specifies the <mxImage> to be returned by <getBackgroundImage>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html" title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#canvas">canvas</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#cellEditor">cellEditor</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#centerPage">centerPage</a></span></code>
|
|
<div class="block">Specifies if the background page should be centered by automatically
|
|
setting the translate in the view.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#centerZoom">centerZoom</a></span></code>
|
|
<div class="block">Specifies if the zoom operations should go into the center of the actual
|
|
diagram rather than going from top, left.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#collapsedIcon">collapsedIcon</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.util.Hashtable<java.lang.Object,java.awt.Component[]></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#components">components</a></span></code>
|
|
<div class="block">Maps from cells to lists of heavyweights.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title="class in com.mxgraph.swing.handler">mxConnectionHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#connectionHandler">connectionHandler</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#DEFAULT_COLLAPSED_ICON">DEFAULT_COLLAPSED_ICON</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#DEFAULT_EXPANDED_ICON">DEFAULT_EXPANDED_ICON</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#DEFAULT_PAGESCALE">DEFAULT_PAGESCALE</a></span></code>
|
|
<div class="block">Specifies the default page scale.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#DEFAULT_WARNING_ICON">DEFAULT_WARNING_ICON</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#dragEnabled">dragEnabled</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#enterStopsCellEditing">enterStopsCellEditing</a></span></code>
|
|
<div class="block">If true, pressing the enter key without pressing control will stop
|
|
editing and accept the new value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#escapeEnabled">escapeEnabled</a></span></code>
|
|
<div class="block">Specifies <escape> should be invoked when the escape key is pressed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#eventSource">eventSource</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#expandedIcon">expandedIcon</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#exportEnabled">exportEnabled</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#foldingEnabled">foldingEnabled</a></span></code>
|
|
<div class="block">Specifies if folding (collapse and expand via an image icon in the graph
|
|
should be enabled).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#graph">graph</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#graphControl">graphControl</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxGraphHandler.html" title="class in com.mxgraph.swing.handler">mxGraphHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#graphHandler">graphHandler</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#GRID_STYLE_CROSS">GRID_STYLE_CROSS</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#GRID_STYLE_DASHED">GRID_STYLE_DASHED</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#GRID_STYLE_DOT">GRID_STYLE_DOT</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#GRID_STYLE_LINE">GRID_STYLE_LINE</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#gridColor">gridColor</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#gridStyle">gridStyle</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#gridVisible">gridVisible</a></span></code>
|
|
<div class="block">Specifies if the grid is visible.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#horizontalPageCount">horizontalPageCount</a></span></code>
|
|
<div class="block">Specifies the number of pages in the horizontal direction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#importEnabled">importEnabled</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#invokesStopCellEditing">invokesStopCellEditing</a></span></code>
|
|
<div class="block">If true, when editing is to be stopped by way of selection changing, data
|
|
in diagram changing or other means stopCellEditing is invoked, and
|
|
changes are saved.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#keepSelectionVisibleOnZoom">keepSelectionVisibleOnZoom</a></span></code>
|
|
<div class="block">Specifies if the viewport should automatically contain the selection
|
|
cells after a zoom operation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.util.Hashtable<java.lang.Object,<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#overlays">overlays</a></span></code>
|
|
<div class="block">Maps from cells to lists of overlays.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageBackgroundColor">pageBackgroundColor</a></span></code>
|
|
<div class="block">Color of the background area if layout view.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageBorderColor">pageBorderColor</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageBreakColor">pageBreakColor</a></span></code>
|
|
<div class="block">Specifies the color of page breaks</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageBreaksVisible">pageBreaksVisible</a></span></code>
|
|
<div class="block">Specifies if a dashed line should be drawn between multiple pages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.print.PageFormat</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageFormat">pageFormat</a></span></code>
|
|
<div class="block">Background page format.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageScale">pageScale</a></span></code>
|
|
<div class="block">Defines the scaling for the background page metrics.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageShadowColor">pageShadowColor</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#pageVisible">pageVisible</a></span></code>
|
|
<div class="block">Specifies if the background page should be visible.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxPanningHandler.html" title="class in com.mxgraph.swing.handler">mxPanningHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#panningHandler">panningHandler</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#preferPageSize">preferPageSize</a></span></code>
|
|
<div class="block">If the pageFormat should be used to determine the minimal graph bounds
|
|
even if the page is not visible (see pageVisible).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected float</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#previewAlpha">previewAlpha</a></span></code>
|
|
<div class="block">The transparency of previewed cells from 0.0.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#repaintHandler">repaintHandler</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#scaleHandler">scaleHandler</a></span></code>
|
|
<div class="block">Resets the zoom policy if the scale is changed manually.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html" title="class in com.mxgraph.swing.handler">mxSelectionCellsHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#selectionCellsHandler">selectionCellsHandler</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#showDirtyRectangle">showDirtyRectangle</a></span></code>
|
|
<div class="block">Used for debugging the dirty region.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#swimlaneSelectionEnabled">swimlaneSelectionEnabled</a></span></code>
|
|
<div class="block">Specifies if swimlanes are selected when the mouse is released over the
|
|
swimlanes content area.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#textAntiAlias">textAntiAlias</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#tolerance">tolerance</a></span></code>
|
|
<div class="block">Specifies the tolerance for mouse clicks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#transparentSwimlaneContent">transparentSwimlaneContent</a></span></code>
|
|
<div class="block">Specifies if the content area should be transparent to events.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.image.BufferedImage</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#tripleBuffer">tripleBuffer</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#tripleBuffered">tripleBuffered</a></span></code>
|
|
<div class="block">Specifies if an image buffer should be used for painting the component.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.Graphics2D</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#tripleBufferGraphics">tripleBufferGraphics</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#updateHandler">updateHandler</a></span></code>
|
|
<div class="block">Updates the heavyweight component structure after any changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#verticalPageCount">verticalPageCount</a></span></code>
|
|
<div class="block">Specifies the number of pages in the vertical direction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.beans.PropertyChangeListener</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#viewChangeHandler">viewChangeHandler</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#warningIcon">warningIcon</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#ZOOM_POLICY_NONE">ZOOM_POLICY_NONE</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#ZOOM_POLICY_PAGE">ZOOM_POLICY_PAGE</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#ZOOM_POLICY_WIDTH">ZOOM_POLICY_WIDTH</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomFactor">zoomFactor</a></span></code>
|
|
<div class="block">Specifies the factor used for zoomIn and zoomOut.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomPolicy">zoomPolicy</a></span></code>
|
|
<div class="block">Specifies the zoom policy.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.javax.swing.JScrollPane">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class javax.swing.JScrollPane</h3>
|
|
<code>columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.javax.swing.JComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class javax.swing.JComponent</h3>
|
|
<code>listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class java.awt.Component</h3>
|
|
<code>accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.java.awt.print.Printable">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface java.awt.print.Printable</h3>
|
|
<code>NO_SUCH_PAGE, PAGE_EXISTS</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.javax.swing.ScrollPaneConstants">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface javax.swing.ScrollPaneConstants</h3>
|
|
<code>COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.java.awt.image.ImageObserver">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
|
|
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#mxGraphComponent-com.mxgraph.view.mxGraph-">mxGraphComponent</a></span>(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a> graph)</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#addCellOverlay-java.lang.Object-com.mxgraph.swing.util.mxICellOverlay-">addCellOverlay</a></span>(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay)</code>
|
|
<div class="block">Adds an overlay for the specified cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#addListener-java.lang.String-com.mxgraph.util.mxEventSource.mxIEventListener-">addListener</a></span>(java.lang.String eventName,
|
|
<a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener)</code> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#canExportCell-java.lang.Object-">canExportCell</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Returns true if the given cell can be exported via datatransfer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#canImportCell-java.lang.Object-">canImportCell</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Returns true if the given cell can be imported via datatransfer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#checkTripleBuffer--">checkTripleBuffer</a></span>()</code>
|
|
<div class="block">Checks if the triple buffer exists and creates a new one if it does not.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#clearCellOverlays--">clearCellOverlays</a></span>()</code>
|
|
<div class="block">Removes all overlays in the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#clearCellOverlays-java.lang.Object-">clearCellOverlays</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Removes all overlays in the graph for the given cell and all its
|
|
descendants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html" title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createCanvas--">createCanvas</a></span>()</code>
|
|
<div class="block">Hook for subclassers to replace the graphics canvas for rendering and and
|
|
printing.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createCellEditor--">createCellEditor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>java.awt.Component[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createComponents-com.mxgraph.view.mxCellState-">createComponents</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code>
|
|
<div class="block">Hook for subclassers to create the array of heavyweights for the given
|
|
state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title="class in com.mxgraph.swing.handler">mxConnectionHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createConnectionHandler--">createConnectionHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createGraphControl--">createGraphControl</a></span>()</code>
|
|
<div class="block">Creates the inner control that handles tooltips, preferred size and can
|
|
draw cells onto a canvas.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxGraphHandler.html" title="class in com.mxgraph.swing.handler">mxGraphHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createGraphHandler--">createGraphHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/handler/mxCellHandler.html" title="class in com.mxgraph.swing.handler">mxCellHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createHandler-com.mxgraph.view.mxCellState-">createHandler</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createHandlers--">createHandlers</a></span>()</code>
|
|
<div class="block">Creates the connection-, panning and graphhandler (in this order).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxPanningHandler.html" title="class in com.mxgraph.swing.handler">mxPanningHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createPanningHandler--">createPanningHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html" title="class in com.mxgraph.swing.handler">mxSelectionCellsHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createSelectionCellsHandler--">createSelectionCellsHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>protected javax.swing.TransferHandler</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createTransferHandler--">createTransferHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#createTripleBuffer-int-int-">createTripleBuffer</a></span>(int width,
|
|
int height)</code>
|
|
<div class="block">Creates the tripleBufferGraphics and tripleBuffer for the given dimension
|
|
and draws the complete graph onto the triplebuffer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#destroyTripleBuffer--">destroyTripleBuffer</a></span>()</code>
|
|
<div class="block">Destroys the tripleBuffer and tripleBufferGraphics objects.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#escape-java.awt.event.KeyEvent-">escape</a></span>(java.awt.event.KeyEvent e)</code>
|
|
<div class="block">Callback to process an escape keystroke.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getBackgroundImage--">getBackgroundImage</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html" title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCanvas--">getCanvas</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCellAt-int-int-">getCellAt</a></span>(int x,
|
|
int y)</code> </td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCellAt-int-int-boolean-">getCellAt</a></span>(int x,
|
|
int y,
|
|
boolean hitSwimlaneContent)</code> </td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCellAt-int-int-boolean-java.lang.Object-">getCellAt</a></span>(int x,
|
|
int y,
|
|
boolean hitSwimlaneContent,
|
|
java.lang.Object parent)</code>
|
|
<div class="block">Returns the bottom-most cell that intersects the given point (x, y) in
|
|
the cell hierarchy starting at the given parent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCellEditor--">getCellEditor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCellOverlays-java.lang.Object-">getCellOverlays</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Returns the array of overlays for the given cell or null, if no overlays
|
|
are defined.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCells-java.awt.Rectangle-">getCells</a></span>(java.awt.Rectangle rect)</code>
|
|
<div class="block">Returns the cells inside the given rectangle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getCells-java.awt.Rectangle-java.lang.Object-">getCells</a></span>(java.awt.Rectangle rect,
|
|
java.lang.Object parent)</code>
|
|
<div class="block">Returns the children of the given parent that are contained in the given
|
|
rectangle (x, y, width, height).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title="class in com.mxgraph.swing.handler">mxConnectionHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getConnectionHandler--">getConnectionHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getEditingValue-java.lang.Object-java.util.EventObject-">getEditingValue</a></span>(java.lang.Object cell,
|
|
java.util.EventObject trigger)</code> </td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getExportableCells-java.lang.Object:A-">getExportableCells</a></span>(java.lang.Object[] cells)</code>
|
|
<div class="block">Returns all cells which may be exported via datatransfer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getFoldingIcon-com.mxgraph.view.mxCellState-">getFoldingIcon</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code>
|
|
<div class="block">Returns the icon used to display the collapsed state of the specified
|
|
cell state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>java.awt.Rectangle</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getFoldingIconBounds-com.mxgraph.view.mxCellState-javax.swing.ImageIcon-">getFoldingIconBounds</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
javax.swing.ImageIcon icon)</code> </td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getGraph--">getGraph</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getGraphControl--">getGraphControl</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/handler/mxGraphHandler.html" title="class in com.mxgraph.swing.handler">mxGraphHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getGraphHandler--">getGraphHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code>java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getGridColor--">getGridColor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getGridStyle--">getGridStyle</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getHorizontalPageBorder--">getHorizontalPageBorder</a></span>()</code>
|
|
<div class="block">Returns the horizontal border between the page and the control.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getHorizontalPageCount--">getHorizontalPageCount</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getImportableCells-java.lang.Object:A-">getImportableCells</a></span>(java.lang.Object[] cells)</code>
|
|
<div class="block">Returns all cells which may be imported via datatransfer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getLayoutAreaSize--">getLayoutAreaSize</a></span>()</code>
|
|
<div class="block">Returns the size of the area that layouts can operate in.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code>java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageBackgroundColor--">getPageBackgroundColor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code>java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageBorderColor--">getPageBorderColor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code>java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageBreakColor--">getPageBreakColor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code>java.awt.print.PageFormat</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageFormat--">getPageFormat</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i48" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageScale--">getPageScale</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i49" class="rowColor">
|
|
<td class="colFirst"><code>java.awt.Color</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageShadowColor--">getPageShadowColor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPageTranslate-double-">getPageTranslate</a></span>(double scale)</code>
|
|
<div class="block">Should be called by a hook inside mxGraphView/mxGraph</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i51" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/handler/mxPanningHandler.html" title="class in com.mxgraph.swing.handler">mxPanningHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPanningHandler--">getPanningHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i52" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPointForEvent-java.awt.event.MouseEvent-">getPointForEvent</a></span>(java.awt.event.MouseEvent e)</code>
|
|
<div class="block">Returns an mxPoint representing the given event in the unscaled,
|
|
non-translated coordinate space and applies the grid.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i53" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPointForEvent-java.awt.event.MouseEvent-boolean-">getPointForEvent</a></span>(java.awt.event.MouseEvent e,
|
|
boolean addOffset)</code>
|
|
<div class="block">Returns an mxPoint representing the given event in the unscaled,
|
|
non-translated coordinate space and applies the grid.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i54" class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.Dimension</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPreferredSizeForPage--">getPreferredSizeForPage</a></span>()</code>
|
|
<div class="block">Returns the (unscaled) preferred size for the current page format (scaled
|
|
by pageScale).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i55" class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getPreviewAlpha--">getPreviewAlpha</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i56" class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.Dimension</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getScaledPreferredSizeForGraph--">getScaledPreferredSizeForGraph</a></span>()</code>
|
|
<div class="block">Returns the scaled preferred size for the current graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i57" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html" title="class in com.mxgraph.swing.handler">mxSelectionCellsHandler</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getSelectionCellsHandler--">getSelectionCellsHandler</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i58" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getTolerance--">getTolerance</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i59" class="rowColor">
|
|
<td class="colFirst"><code>java.awt.image.BufferedImage</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getTripleBuffer--">getTripleBuffer</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i60" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getVerticalPageBorder--">getVerticalPageBorder</a></span>()</code>
|
|
<div class="block">Returns the vertical border between the page and the control.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i61" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getVerticalPageCount--">getVerticalPageCount</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i62" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getZoomFactor--">getZoomFactor</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i63" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#getZoomPolicy--">getZoomPolicy</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i64" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#hitFoldingIcon-java.lang.Object-int-int-">hitFoldingIcon</a></span>(java.lang.Object cell,
|
|
int x,
|
|
int y)</code> </td>
|
|
</tr>
|
|
<tr id="i65" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#importCells-java.lang.Object:A-double-double-java.lang.Object-java.awt.Point-">importCells</a></span>(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
java.lang.Object target,
|
|
java.awt.Point location)</code>
|
|
<div class="block">Clones and inserts the given cells into the graph using the move method
|
|
and returns the inserted cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i66" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#insertComponent-com.mxgraph.view.mxCellState-java.awt.Component-">insertComponent</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
java.awt.Component c)</code> </td>
|
|
</tr>
|
|
<tr id="i67" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#installDoubleClickHandler--">installDoubleClickHandler</a></span>()</code>
|
|
<div class="block">Adds handling of edit and stop-edit events after all other handlers have
|
|
been installed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i68" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#installFocusHandler--">installFocusHandler</a></span>()</code>
|
|
<div class="block">installs a handler to set the focus to the container.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i69" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#installKeyHandler--">installKeyHandler</a></span>()</code>
|
|
<div class="block">Handles escape keystrokes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i70" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#installResizeHandler--">installResizeHandler</a></span>()</code>
|
|
<div class="block">Applies the zoom policy if the size of the component changes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i71" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isAntiAlias--">isAntiAlias</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i72" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isAutoExtend--">isAutoExtend</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i73" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isAutoScroll--">isAutoScroll</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i74" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isCenterPage--">isCenterPage</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i75" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isCenterZoom--">isCenterZoom</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i76" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isCloneEvent-java.awt.event.MouseEvent-">isCloneEvent</a></span>(java.awt.event.MouseEvent event)</code> </td>
|
|
</tr>
|
|
<tr id="i77" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isConnectable--">isConnectable</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i78" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isConstrainedEvent-java.awt.event.MouseEvent-">isConstrainedEvent</a></span>(java.awt.event.MouseEvent event)</code>
|
|
<div class="block">Note: This is not used during drag and drop operations due to limitations
|
|
of the underlying API.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i79" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isDragEnabled--">isDragEnabled</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i80" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isEditEvent-java.awt.event.MouseEvent-">isEditEvent</a></span>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr id="i81" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isEditing--">isEditing</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i82" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isEnterStopsCellEditing--">isEnterStopsCellEditing</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i83" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isEscapeEnabled--">isEscapeEnabled</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i84" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isEventsEnabled--">isEventsEnabled</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i85" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isExportEnabled--">isExportEnabled</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i86" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isFoldingEnabled--">isFoldingEnabled</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i87" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isForceMarqueeEvent-java.awt.event.MouseEvent-">isForceMarqueeEvent</a></span>(java.awt.event.MouseEvent event)</code>
|
|
<div class="block">Note: This is not used during drag and drop operations due to limitations
|
|
of the underlying API.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i88" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isForceTripleBuffered--">isForceTripleBuffered</a></span>()</code>
|
|
<div class="block">Hook for dynamic triple buffering condition.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i89" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isGridEnabledEvent-java.awt.event.MouseEvent-">isGridEnabledEvent</a></span>(java.awt.event.MouseEvent event)</code> </td>
|
|
</tr>
|
|
<tr id="i90" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isGridVisible--">isGridVisible</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i91" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isImportEnabled--">isImportEnabled</a></span>()</code>
|
|
<div class="block">Returns importEnabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i92" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isInvokesStopCellEditing--">isInvokesStopCellEditing</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i93" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isKeepSelectionVisibleOnZoom--">isKeepSelectionVisibleOnZoom</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i94" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isPageBreaksVisible--">isPageBreaksVisible</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i95" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isPageVisible--">isPageVisible</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i96" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isPanning--">isPanning</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i97" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isPanningEvent-java.awt.event.MouseEvent-">isPanningEvent</a></span>(java.awt.event.MouseEvent event)</code>
|
|
<div class="block">Note: This is not used during drag and drop operations due to limitations
|
|
of the underlying API.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i98" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isPreferPageSize--">isPreferPageSize</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i99" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isSignificant-double-double-">isSignificant</a></span>(double dx,
|
|
double dy)</code>
|
|
<div class="block">Returns true if the absolute value of one of the given parameters is
|
|
greater than the tolerance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i100" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isSwimlaneSelectionEnabled--">isSwimlaneSelectionEnabled</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i101" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isTextAntiAlias--">isTextAntiAlias</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i102" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isToggleEvent-java.awt.event.MouseEvent-">isToggleEvent</a></span>(java.awt.event.MouseEvent event)</code> </td>
|
|
</tr>
|
|
<tr id="i103" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#isTripleBuffered--">isTripleBuffered</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i104" class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#labelChanged-java.lang.Object-java.lang.Object-java.util.EventObject-">labelChanged</a></span>(java.lang.Object cell,
|
|
java.lang.Object value,
|
|
java.util.EventObject evt)</code>
|
|
<div class="block">Sets the label of the specified cell to the given value using
|
|
mxGraph.cellLabelChanged and fires mxEvent.LABEL_CHANGED while the
|
|
transaction is in progress.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i105" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#maintainScrollBar-boolean-double-boolean-">maintainScrollBar</a></span>(boolean horizontal,
|
|
double factor,
|
|
boolean center)</code> </td>
|
|
</tr>
|
|
<tr id="i106" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#paintBackground-java.awt.Graphics-">paintBackground</a></span>(java.awt.Graphics g)</code> </td>
|
|
</tr>
|
|
<tr id="i107" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#paintBackgroundImage-java.awt.Graphics-">paintBackgroundImage</a></span>(java.awt.Graphics g)</code> </td>
|
|
</tr>
|
|
<tr id="i108" class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.Rectangle</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#paintBackgroundPage-java.awt.Graphics-">paintBackgroundPage</a></span>(java.awt.Graphics g)</code> </td>
|
|
</tr>
|
|
<tr id="i109" class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#paintGrid-java.awt.Graphics-">paintGrid</a></span>(java.awt.Graphics g)</code>
|
|
<div class="block">Paints the grid onto the given graphics object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i110" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#print-java.awt.Graphics-java.awt.print.PageFormat-int-">print</a></span>(java.awt.Graphics g,
|
|
java.awt.print.PageFormat printFormat,
|
|
int page)</code>
|
|
<div class="block">Prints the specified page on the specified graphics using
|
|
<code>pageFormat</code> for the page format.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i111" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#redraw-com.mxgraph.view.mxCellState-">redraw</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</code>
|
|
<div class="block">Updates the buffer (if one exists) and repaints the given cell state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i112" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#refresh--">refresh</a></span>()</code>
|
|
<div class="block">Refreshes the display and handles.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i113" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeAllComponents-java.util.Hashtable-">removeAllComponents</a></span>(java.util.Hashtable<java.lang.Object,java.awt.Component[]> map)</code> </td>
|
|
</tr>
|
|
<tr id="i114" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeAllOverlays-java.util.Hashtable-">removeAllOverlays</a></span>(java.util.Hashtable<java.lang.Object,<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]> map)</code> </td>
|
|
</tr>
|
|
<tr id="i115" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeCellOverlay-java.lang.Object-com.mxgraph.swing.util.mxICellOverlay-">removeCellOverlay</a></span>(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay)</code>
|
|
<div class="block">Removes and returns the given overlay from the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i116" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeCellOverlayComponent-com.mxgraph.swing.util.mxICellOverlay-java.lang.Object-">removeCellOverlayComponent</a></span>(<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay,
|
|
java.lang.Object cell)</code>
|
|
<div class="block">Notified when an overlay has been removed from the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i117" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeCellOverlays-java.lang.Object-">removeCellOverlays</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Removes all overlays from the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i118" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeComponent-java.awt.Component-java.lang.Object-">removeComponent</a></span>(java.awt.Component c,
|
|
java.lang.Object cell)</code> </td>
|
|
</tr>
|
|
<tr id="i119" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeListener-com.mxgraph.util.mxEventSource.mxIEventListener-">removeListener</a></span>(<a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener)</code> </td>
|
|
</tr>
|
|
<tr id="i120" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#removeListener-com.mxgraph.util.mxEventSource.mxIEventListener-java.lang.String-">removeListener</a></span>(<a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener,
|
|
java.lang.String eventName)</code> </td>
|
|
</tr>
|
|
<tr id="i121" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#repaintTripleBuffer-java.awt.Rectangle-">repaintTripleBuffer</a></span>(java.awt.Rectangle dirty)</code>
|
|
<div class="block">Clears and repaints the triple buffer at the given rectangle or repaints
|
|
the complete buffer if no rectangle is specified.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i122" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#scrollCellToVisible-java.lang.Object-">scrollCellToVisible</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Scrolls the graph so that it shows the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i123" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#scrollCellToVisible-java.lang.Object-boolean-">scrollCellToVisible</a></span>(java.lang.Object cell,
|
|
boolean center)</code>
|
|
<div class="block">Scrolls the graph so that it shows the given cell.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i124" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#scrollToCenter-boolean-">scrollToCenter</a></span>(boolean horizontal)</code> </td>
|
|
</tr>
|
|
<tr id="i125" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#selectCellForEvent-java.lang.Object-java.awt.event.MouseEvent-">selectCellForEvent</a></span>(java.lang.Object cell,
|
|
java.awt.event.MouseEvent e)</code>
|
|
<div class="block">Selects the cell for the given event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i126" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#selectCellsForEvent-java.lang.Object:A-java.awt.event.MouseEvent-">selectCellsForEvent</a></span>(java.lang.Object[] cells,
|
|
java.awt.event.MouseEvent event)</code>
|
|
<div class="block">Selects the cells for the given event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i127" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#selectRegion-java.awt.Rectangle-java.awt.event.MouseEvent-">selectRegion</a></span>(java.awt.Rectangle rect,
|
|
java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr id="i128" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setAntiAlias-boolean-">setAntiAlias</a></span>(boolean value)</code>
|
|
<div class="block">Fires a property change event for <code>antiAlias</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i129" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setAutoExtend-boolean-">setAutoExtend</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i130" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setAutoScroll-boolean-">setAutoScroll</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i131" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setBackgroundImage-javax.swing.ImageIcon-">setBackgroundImage</a></span>(javax.swing.ImageIcon value)</code> </td>
|
|
</tr>
|
|
<tr id="i132" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setCellEditor-com.mxgraph.swing.view.mxICellEditor-">setCellEditor</a></span>(<a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a> value)</code> </td>
|
|
</tr>
|
|
<tr id="i133" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setCellWarning-java.lang.Object-java.lang.String-">setCellWarning</a></span>(java.lang.Object cell,
|
|
java.lang.String warning)</code>
|
|
<div class="block">Creates an overlay for the given cell using the warning and image or
|
|
warningImage and returns the new overlay.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i134" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setCellWarning-java.lang.Object-java.lang.String-javax.swing.ImageIcon-">setCellWarning</a></span>(java.lang.Object cell,
|
|
java.lang.String warning,
|
|
javax.swing.ImageIcon icon)</code>
|
|
<div class="block">Creates an overlay for the given cell using the warning and image or
|
|
warningImage and returns the new overlay.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i135" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setCellWarning-java.lang.Object-java.lang.String-javax.swing.ImageIcon-boolean-">setCellWarning</a></span>(java.lang.Object cell,
|
|
java.lang.String warning,
|
|
javax.swing.ImageIcon icon,
|
|
boolean select)</code>
|
|
<div class="block">Creates an overlay for the given cell using the warning and image or
|
|
warningImage and returns the new overlay.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i136" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setCenterPage-boolean-">setCenterPage</a></span>(boolean value)</code>
|
|
<div class="block">zoomAndCenter should be called if this is set to true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i137" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setCenterZoom-boolean-">setCenterZoom</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i138" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setConnectable-boolean-">setConnectable</a></span>(boolean connectable)</code> </td>
|
|
</tr>
|
|
<tr id="i139" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setDragEnabled-boolean-">setDragEnabled</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i140" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setEnterStopsCellEditing-boolean-">setEnterStopsCellEditing</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i141" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setEscapeEnabled-boolean-">setEscapeEnabled</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i142" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setEventsEnabled-boolean-">setEventsEnabled</a></span>(boolean eventsEnabled)</code> </td>
|
|
</tr>
|
|
<tr id="i143" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setExportEnabled-boolean-">setExportEnabled</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i144" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setFoldingEnabled-boolean-">setFoldingEnabled</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i145" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setGraph-com.mxgraph.view.mxGraph-">setGraph</a></span>(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a> value)</code> </td>
|
|
</tr>
|
|
<tr id="i146" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setGridColor-java.awt.Color-">setGridColor</a></span>(java.awt.Color value)</code>
|
|
<div class="block">Fires a property change event for <code>gridColor</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i147" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setGridStyle-int-">setGridStyle</a></span>(int value)</code>
|
|
<div class="block">Fires a property change event for <code>gridStyle</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i148" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setGridVisible-boolean-">setGridVisible</a></span>(boolean value)</code>
|
|
<div class="block">Fires a property change event for <code>gridVisible</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i149" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setHorizontalPageCount-int-">setHorizontalPageCount</a></span>(int value)</code> </td>
|
|
</tr>
|
|
<tr id="i150" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setImportEnabled-boolean-">setImportEnabled</a></span>(boolean value)</code>
|
|
<div class="block">Sets importEnabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i151" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setInvokesStopCellEditing-boolean-">setInvokesStopCellEditing</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i152" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setKeepSelectionVisibleOnZoom-boolean-">setKeepSelectionVisibleOnZoom</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i153" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageBackgroundColor-java.awt.Color-">setPageBackgroundColor</a></span>(java.awt.Color value)</code>
|
|
<div class="block">Sets the color that appears behind the page.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i154" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageBorderColor-java.awt.Color-">setPageBorderColor</a></span>(java.awt.Color value)</code> </td>
|
|
</tr>
|
|
<tr id="i155" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageBreakColor-java.awt.Color-">setPageBreakColor</a></span>(java.awt.Color pageBreakColor)</code> </td>
|
|
</tr>
|
|
<tr id="i156" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageBreaksVisible-boolean-">setPageBreaksVisible</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i157" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageFormat-java.awt.print.PageFormat-">setPageFormat</a></span>(java.awt.print.PageFormat value)</code> </td>
|
|
</tr>
|
|
<tr id="i158" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageScale-double-">setPageScale</a></span>(double value)</code> </td>
|
|
</tr>
|
|
<tr id="i159" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageShadowColor-java.awt.Color-">setPageShadowColor</a></span>(java.awt.Color value)</code> </td>
|
|
</tr>
|
|
<tr id="i160" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPageVisible-boolean-">setPageVisible</a></span>(boolean value)</code>
|
|
<div class="block">Fires a property change event for <code>pageVisible</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i161" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPanning-boolean-">setPanning</a></span>(boolean enabled)</code> </td>
|
|
</tr>
|
|
<tr id="i162" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPreferPageSize-boolean-">setPreferPageSize</a></span>(boolean value)</code>
|
|
<div class="block">Fires a property change event for <code>preferPageSize</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i163" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setPreviewAlpha-float-">setPreviewAlpha</a></span>(float value)</code> </td>
|
|
</tr>
|
|
<tr id="i164" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setSwimlaneSelectionEnabled-boolean-">setSwimlaneSelectionEnabled</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i165" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setTextAntiAlias-boolean-">setTextAntiAlias</a></span>(boolean value)</code>
|
|
<div class="block">Fires a property change event for <code>textAntiAlias</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i166" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setTolerance-int-">setTolerance</a></span>(int value)</code> </td>
|
|
</tr>
|
|
<tr id="i167" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setToolTips-boolean-">setToolTips</a></span>(boolean enabled)</code> </td>
|
|
</tr>
|
|
<tr id="i168" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setTripleBuffered-boolean-">setTripleBuffered</a></span>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr id="i169" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setVerticalPageCount-int-">setVerticalPageCount</a></span>(int value)</code> </td>
|
|
</tr>
|
|
<tr id="i170" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setZoomFactor-double-">setZoomFactor</a></span>(double value)</code> </td>
|
|
</tr>
|
|
<tr id="i171" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#setZoomPolicy-int-">setZoomPolicy</a></span>(int value)</code> </td>
|
|
</tr>
|
|
<tr id="i172" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#snapScaledPoint-com.mxgraph.util.mxPoint-">snapScaledPoint</a></span>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> pt)</code> </td>
|
|
</tr>
|
|
<tr id="i173" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#snapScaledPoint-com.mxgraph.util.mxPoint-double-double-">snapScaledPoint</a></span>(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> pt,
|
|
double dx,
|
|
double dy)</code> </td>
|
|
</tr>
|
|
<tr id="i174" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#startEditing--">startEditing</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i175" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#startEditingAtCell-java.lang.Object-">startEditingAtCell</a></span>(java.lang.Object cell)</code> </td>
|
|
</tr>
|
|
<tr id="i176" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#startEditingAtCell-java.lang.Object-java.util.EventObject-">startEditingAtCell</a></span>(java.lang.Object cell,
|
|
java.util.EventObject evt)</code> </td>
|
|
</tr>
|
|
<tr id="i177" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#stopEditing-boolean-">stopEditing</a></span>(boolean cancel)</code> </td>
|
|
</tr>
|
|
<tr id="i178" class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#updateCellOverlayComponent-com.mxgraph.view.mxCellState-com.mxgraph.swing.util.mxICellOverlay-">updateCellOverlayComponent</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay)</code>
|
|
<div class="block">Notified when an overlay has been removed from the graph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i179" class="rowColor">
|
|
<td class="colFirst"><code>java.util.Hashtable<java.lang.Object,<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#updateCellOverlays-java.lang.Object-">updateCellOverlays</a></span>(java.lang.Object cell)</code>
|
|
<div class="block">Returns a hashtable with all entries from the overlays variable where a
|
|
cell still exists in the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i180" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#updateComponent-com.mxgraph.view.mxCellState-java.awt.Component-">updateComponent</a></span>(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
java.awt.Component c)</code> </td>
|
|
</tr>
|
|
<tr id="i181" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#updateComponents--">updateComponents</a></span>()</code> </td>
|
|
</tr>
|
|
<tr id="i182" class="altColor">
|
|
<td class="colFirst"><code>java.util.Hashtable<java.lang.Object,java.awt.Component[]></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#updateComponents-java.lang.Object-">updateComponents</a></span>(java.lang.Object cell)</code> </td>
|
|
</tr>
|
|
<tr id="i183" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#validateGraph--">validateGraph</a></span>()</code>
|
|
<div class="block">Validates the graph by validating each descendant of the given cell or
|
|
the root of the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i184" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#validateGraph-java.lang.Object-java.util.Hashtable-">validateGraph</a></span>(java.lang.Object cell,
|
|
java.util.Hashtable<java.lang.Object,java.lang.Object> context)</code>
|
|
<div class="block">Validates the graph by validating each descendant of the given cell or
|
|
the root of the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i185" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoom-boolean-boolean-">zoom</a></span>(boolean page,
|
|
boolean center)</code> </td>
|
|
</tr>
|
|
<tr id="i186" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoom-double-">zoom</a></span>(double factor)</code> </td>
|
|
</tr>
|
|
<tr id="i187" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomActual--">zoomActual</a></span>()</code>
|
|
<div class="block">Function: zoomActual
|
|
|
|
Resets the zoom and panning in the view.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i188" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomAndCenter--">zoomAndCenter</a></span>()</code>
|
|
<div class="block">Invoked after the component was resized to update the zoom if the zoom
|
|
policy is not none and/or update the translation of the diagram if
|
|
pageVisible and centerPage are true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i189" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomIn--">zoomIn</a></span>()</code>
|
|
<div class="block">Zooms into the graph by zoomFactor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i190" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomOut--">zoomOut</a></span>()</code>
|
|
<div class="block">Function: zoomOut
|
|
|
|
Zooms out of the graph by <zoomFactor>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i191" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/swing/mxGraphComponent.html#zoomTo-double-boolean-">zoomTo</a></span>(double newScale,
|
|
boolean center)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.javax.swing.JScrollPane">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class javax.swing.JScrollPane</h3>
|
|
<code>createHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUI</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.javax.swing.JComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class javax.swing.JComponent</h3>
|
|
<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Container">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Container</h3>
|
|
<code>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTree</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Component</h3>
|
|
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="GRID_STYLE_DOT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GRID_STYLE_DOT</h4>
|
|
<pre>public static final int GRID_STYLE_DOT</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.GRID_STYLE_DOT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GRID_STYLE_CROSS">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GRID_STYLE_CROSS</h4>
|
|
<pre>public static final int GRID_STYLE_CROSS</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.GRID_STYLE_CROSS">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GRID_STYLE_LINE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GRID_STYLE_LINE</h4>
|
|
<pre>public static final int GRID_STYLE_LINE</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.GRID_STYLE_LINE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GRID_STYLE_DASHED">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GRID_STYLE_DASHED</h4>
|
|
<pre>public static final int GRID_STYLE_DASHED</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.GRID_STYLE_DASHED">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ZOOM_POLICY_NONE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ZOOM_POLICY_NONE</h4>
|
|
<pre>public static final int ZOOM_POLICY_NONE</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.ZOOM_POLICY_NONE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ZOOM_POLICY_PAGE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ZOOM_POLICY_PAGE</h4>
|
|
<pre>public static final int ZOOM_POLICY_PAGE</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.ZOOM_POLICY_PAGE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ZOOM_POLICY_WIDTH">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ZOOM_POLICY_WIDTH</h4>
|
|
<pre>public static final int ZOOM_POLICY_WIDTH</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.ZOOM_POLICY_WIDTH">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="DEFAULT_EXPANDED_ICON">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DEFAULT_EXPANDED_ICON</h4>
|
|
<pre>public static javax.swing.ImageIcon DEFAULT_EXPANDED_ICON</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DEFAULT_COLLAPSED_ICON">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DEFAULT_COLLAPSED_ICON</h4>
|
|
<pre>public static javax.swing.ImageIcon DEFAULT_COLLAPSED_ICON</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DEFAULT_WARNING_ICON">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DEFAULT_WARNING_ICON</h4>
|
|
<pre>public static javax.swing.ImageIcon DEFAULT_WARNING_ICON</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="DEFAULT_PAGESCALE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DEFAULT_PAGESCALE</h4>
|
|
<pre>public static final double DEFAULT_PAGESCALE</pre>
|
|
<div class="block">Specifies the default page scale. Default is 1.4</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.mxgraph.swing.mxGraphComponent.DEFAULT_PAGESCALE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="graph">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>graph</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a> graph</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="graphControl">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>graphControl</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a> graphControl</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="eventSource">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>eventSource</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a> eventSource</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="cellEditor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellEditor</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a> cellEditor</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="connectionHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>connectionHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title="class in com.mxgraph.swing.handler">mxConnectionHandler</a> connectionHandler</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="panningHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>panningHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxPanningHandler.html" title="class in com.mxgraph.swing.handler">mxPanningHandler</a> panningHandler</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="selectionCellsHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectionCellsHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html" title="class in com.mxgraph.swing.handler">mxSelectionCellsHandler</a> selectionCellsHandler</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="graphHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>graphHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxGraphHandler.html" title="class in com.mxgraph.swing.handler">mxGraphHandler</a> graphHandler</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="previewAlpha">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>previewAlpha</h4>
|
|
<pre>protected float previewAlpha</pre>
|
|
<div class="block">The transparency of previewed cells from 0.0. to 0.1. 0.0 indicates
|
|
transparent, 1.0 indicates opaque. Default is 1.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="backgroundImage">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>backgroundImage</h4>
|
|
<pre>protected javax.swing.ImageIcon backgroundImage</pre>
|
|
<div class="block">Specifies the <mxImage> to be returned by <getBackgroundImage>. Default
|
|
is null.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pageFormat">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageFormat</h4>
|
|
<pre>protected java.awt.print.PageFormat pageFormat</pre>
|
|
<div class="block">Background page format.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="canvas">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canvas</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html" title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a> canvas</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="tripleBuffer">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>tripleBuffer</h4>
|
|
<pre>protected java.awt.image.BufferedImage tripleBuffer</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="tripleBufferGraphics">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>tripleBufferGraphics</h4>
|
|
<pre>protected java.awt.Graphics2D tripleBufferGraphics</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="pageScale">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageScale</h4>
|
|
<pre>protected double pageScale</pre>
|
|
<div class="block">Defines the scaling for the background page metrics. Default is
|
|
<a href="../../../com/mxgraph/swing/mxGraphComponent.html#DEFAULT_PAGESCALE"><code>DEFAULT_PAGESCALE</code></a>.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pageVisible">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageVisible</h4>
|
|
<pre>protected boolean pageVisible</pre>
|
|
<div class="block">Specifies if the background page should be visible. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="preferPageSize">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>preferPageSize</h4>
|
|
<pre>protected boolean preferPageSize</pre>
|
|
<div class="block">If the pageFormat should be used to determine the minimal graph bounds
|
|
even if the page is not visible (see pageVisible). Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pageBreaksVisible">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageBreaksVisible</h4>
|
|
<pre>protected boolean pageBreaksVisible</pre>
|
|
<div class="block">Specifies if a dashed line should be drawn between multiple pages.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pageBreakColor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageBreakColor</h4>
|
|
<pre>protected java.awt.Color pageBreakColor</pre>
|
|
<div class="block">Specifies the color of page breaks</div>
|
|
</li>
|
|
</ul>
|
|
<a name="horizontalPageCount">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>horizontalPageCount</h4>
|
|
<pre>protected int horizontalPageCount</pre>
|
|
<div class="block">Specifies the number of pages in the horizontal direction.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="verticalPageCount">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>verticalPageCount</h4>
|
|
<pre>protected int verticalPageCount</pre>
|
|
<div class="block">Specifies the number of pages in the vertical direction.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="centerPage">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>centerPage</h4>
|
|
<pre>protected boolean centerPage</pre>
|
|
<div class="block">Specifies if the background page should be centered by automatically
|
|
setting the translate in the view. Default is true. This does only apply
|
|
if pageVisible is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pageBackgroundColor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageBackgroundColor</h4>
|
|
<pre>protected java.awt.Color pageBackgroundColor</pre>
|
|
<div class="block">Color of the background area if layout view.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="pageShadowColor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageShadowColor</h4>
|
|
<pre>protected java.awt.Color pageShadowColor</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="pageBorderColor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>pageBorderColor</h4>
|
|
<pre>protected java.awt.Color pageBorderColor</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="gridVisible">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridVisible</h4>
|
|
<pre>protected boolean gridVisible</pre>
|
|
<div class="block">Specifies if the grid is visible. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="gridColor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridColor</h4>
|
|
<pre>protected java.awt.Color gridColor</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="autoScroll">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoScroll</h4>
|
|
<pre>protected boolean autoScroll</pre>
|
|
<div class="block">Whether or not to scroll the scrollable container the graph exists in if
|
|
a suitable handler is active and the graph bounds already exist extended
|
|
in the direction of mouse travel.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="autoExtend">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>autoExtend</h4>
|
|
<pre>protected boolean autoExtend</pre>
|
|
<div class="block">Whether to extend the graph bounds and scroll towards the limit of those
|
|
new bounds in the direction of mouse travel if a handler is active while
|
|
the mouse leaves the container that the graph exists in.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="dragEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dragEnabled</h4>
|
|
<pre>protected boolean dragEnabled</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="importEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>importEnabled</h4>
|
|
<pre>protected boolean importEnabled</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="exportEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>exportEnabled</h4>
|
|
<pre>protected boolean exportEnabled</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="foldingEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>foldingEnabled</h4>
|
|
<pre>protected boolean foldingEnabled</pre>
|
|
<div class="block">Specifies if folding (collapse and expand via an image icon in the graph
|
|
should be enabled). Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="tolerance">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>tolerance</h4>
|
|
<pre>protected int tolerance</pre>
|
|
<div class="block">Specifies the tolerance for mouse clicks. Default is 4.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="swimlaneSelectionEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>swimlaneSelectionEnabled</h4>
|
|
<pre>protected boolean swimlaneSelectionEnabled</pre>
|
|
<div class="block">Specifies if swimlanes are selected when the mouse is released over the
|
|
swimlanes content area. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="transparentSwimlaneContent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>transparentSwimlaneContent</h4>
|
|
<pre>protected boolean transparentSwimlaneContent</pre>
|
|
<div class="block">Specifies if the content area should be transparent to events. Default is
|
|
true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="gridStyle">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridStyle</h4>
|
|
<pre>protected int gridStyle</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="expandedIcon">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>expandedIcon</h4>
|
|
<pre>protected javax.swing.ImageIcon expandedIcon</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="collapsedIcon">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>collapsedIcon</h4>
|
|
<pre>protected javax.swing.ImageIcon collapsedIcon</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="warningIcon">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>warningIcon</h4>
|
|
<pre>protected javax.swing.ImageIcon warningIcon</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="antiAlias">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>antiAlias</h4>
|
|
<pre>protected boolean antiAlias</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="textAntiAlias">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>textAntiAlias</h4>
|
|
<pre>protected boolean textAntiAlias</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="escapeEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>escapeEnabled</h4>
|
|
<pre>protected boolean escapeEnabled</pre>
|
|
<div class="block">Specifies <escape> should be invoked when the escape key is pressed.
|
|
Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="invokesStopCellEditing">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>invokesStopCellEditing</h4>
|
|
<pre>protected boolean invokesStopCellEditing</pre>
|
|
<div class="block">If true, when editing is to be stopped by way of selection changing, data
|
|
in diagram changing or other means stopCellEditing is invoked, and
|
|
changes are saved. This is implemented in a mouse listener in this class.
|
|
Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="enterStopsCellEditing">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enterStopsCellEditing</h4>
|
|
<pre>protected boolean enterStopsCellEditing</pre>
|
|
<div class="block">If true, pressing the enter key without pressing control will stop
|
|
editing and accept the new value. This is used in <mxKeyHandler> to stop
|
|
cell editing. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomPolicy">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomPolicy</h4>
|
|
<pre>protected int zoomPolicy</pre>
|
|
<div class="block">Specifies the zoom policy. Default is ZOOM_POLICY_PAGE. The zoom policy
|
|
does only apply if pageVisible is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomFactor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomFactor</h4>
|
|
<pre>protected double zoomFactor</pre>
|
|
<div class="block">Specifies the factor used for zoomIn and zoomOut. Default is 1.2 (120%).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="keepSelectionVisibleOnZoom">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keepSelectionVisibleOnZoom</h4>
|
|
<pre>protected boolean keepSelectionVisibleOnZoom</pre>
|
|
<div class="block">Specifies if the viewport should automatically contain the selection
|
|
cells after a zoom operation. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="centerZoom">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>centerZoom</h4>
|
|
<pre>protected boolean centerZoom</pre>
|
|
<div class="block">Specifies if the zoom operations should go into the center of the actual
|
|
diagram rather than going from top, left. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="tripleBuffered">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>tripleBuffered</h4>
|
|
<pre>protected boolean tripleBuffered</pre>
|
|
<div class="block">Specifies if an image buffer should be used for painting the component.
|
|
Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="showDirtyRectangle">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>showDirtyRectangle</h4>
|
|
<pre>public boolean showDirtyRectangle</pre>
|
|
<div class="block">Used for debugging the dirty region.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="components">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>components</h4>
|
|
<pre>protected java.util.Hashtable<java.lang.Object,java.awt.Component[]> components</pre>
|
|
<div class="block">Maps from cells to lists of heavyweights.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="overlays">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>overlays</h4>
|
|
<pre>protected java.util.Hashtable<java.lang.Object,<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]> overlays</pre>
|
|
<div class="block">Maps from cells to lists of overlays.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> updateHandler</pre>
|
|
<div class="block">Updates the heavyweight component structure after any changes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="repaintHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaintHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> repaintHandler</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="viewChangeHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>viewChangeHandler</h4>
|
|
<pre>protected java.beans.PropertyChangeListener viewChangeHandler</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="scaleHandler">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>scaleHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> scaleHandler</pre>
|
|
<div class="block">Resets the zoom policy if the scale is changed manually.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="mxGraphComponent-com.mxgraph.view.mxGraph-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>mxGraphComponent</h4>
|
|
<pre>public mxGraphComponent(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a> graph)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>graph</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="installFocusHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>installFocusHandler</h4>
|
|
<pre>protected void installFocusHandler()</pre>
|
|
<div class="block">installs a handler to set the focus to the container.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="installKeyHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>installKeyHandler</h4>
|
|
<pre>protected void installKeyHandler()</pre>
|
|
<div class="block">Handles escape keystrokes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="installResizeHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>installResizeHandler</h4>
|
|
<pre>protected void installResizeHandler()</pre>
|
|
<div class="block">Applies the zoom policy if the size of the component changes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="installDoubleClickHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>installDoubleClickHandler</h4>
|
|
<pre>protected void installDoubleClickHandler()</pre>
|
|
<div class="block">Adds handling of edit and stop-edit events after all other handlers have
|
|
been installed.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createCellEditor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createCellEditor</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a> createCellEditor()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setGraph-com.mxgraph.view.mxGraph-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGraph</h4>
|
|
<pre>public void setGraph(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a> value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraph--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraph</h4>
|
|
<pre>public <a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a> getGraph()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the object that contains the graph.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createGraphControl--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createGraphControl</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a> createGraphControl()</pre>
|
|
<div class="block">Creates the inner control that handles tooltips, preferred size and can
|
|
draw cells onto a canvas.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphControl--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphControl</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing">mxGraphComponent.mxGraphControl</a> getGraphControl()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the control that renders the graph.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createHandlers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createHandlers</h4>
|
|
<pre>protected void createHandlers()</pre>
|
|
<div class="block">Creates the connection-, panning and graphhandler (in this order).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createTransferHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createTransferHandler</h4>
|
|
<pre>protected javax.swing.TransferHandler createTransferHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createSelectionCellsHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createSelectionCellsHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html" title="class in com.mxgraph.swing.handler">mxSelectionCellsHandler</a> createSelectionCellsHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createGraphHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createGraphHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxGraphHandler.html" title="class in com.mxgraph.swing.handler">mxGraphHandler</a> createGraphHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getSelectionCellsHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSelectionCellsHandler</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html" title="class in com.mxgraph.swing.handler">mxSelectionCellsHandler</a> getSelectionCellsHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphHandler</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/handler/mxGraphHandler.html" title="class in com.mxgraph.swing.handler">mxGraphHandler</a> getGraphHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createConnectionHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createConnectionHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title="class in com.mxgraph.swing.handler">mxConnectionHandler</a> createConnectionHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getConnectionHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getConnectionHandler</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/handler/mxConnectionHandler.html" title="class in com.mxgraph.swing.handler">mxConnectionHandler</a> getConnectionHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createPanningHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createPanningHandler</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/swing/handler/mxPanningHandler.html" title="class in com.mxgraph.swing.handler">mxPanningHandler</a> createPanningHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPanningHandler--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPanningHandler</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/handler/mxPanningHandler.html" title="class in com.mxgraph.swing.handler">mxPanningHandler</a> getPanningHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isEditing--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEditing</h4>
|
|
<pre>public boolean isEditing()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellEditor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellEditor</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a> getCellEditor()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellEditor-com.mxgraph.swing.view.mxICellEditor-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellEditor</h4>
|
|
<pre>public void setCellEditor(<a href="../../../com/mxgraph/swing/view/mxICellEditor.html" title="interface in com.mxgraph.swing.view">mxICellEditor</a> value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTolerance--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTolerance</h4>
|
|
<pre>public int getTolerance()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the tolerance</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTolerance-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTolerance</h4>
|
|
<pre>public void setTolerance(int value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the tolerance to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageFormat--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageFormat</h4>
|
|
<pre>public java.awt.print.PageFormat getPageFormat()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageFormat-java.awt.print.PageFormat-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageFormat</h4>
|
|
<pre>public void setPageFormat(java.awt.print.PageFormat value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageScale--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageScale</h4>
|
|
<pre>public double getPageScale()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageScale-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageScale</h4>
|
|
<pre>public void setPageScale(double value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getLayoutAreaSize--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLayoutAreaSize</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> getLayoutAreaSize()</pre>
|
|
<div class="block">Returns the size of the area that layouts can operate in.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getBackgroundImage--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBackgroundImage</h4>
|
|
<pre>public javax.swing.ImageIcon getBackgroundImage()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setBackgroundImage-javax.swing.ImageIcon-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBackgroundImage</h4>
|
|
<pre>public void setBackgroundImage(javax.swing.ImageIcon value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isPageVisible--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPageVisible</h4>
|
|
<pre>public boolean isPageVisible()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the pageVisible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageVisible-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageVisible</h4>
|
|
<pre>public void setPageVisible(boolean value)</pre>
|
|
<div class="block">Fires a property change event for <code>pageVisible</code>. zoomAndCenter
|
|
should be called if this is set to true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the pageVisible to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isPreferPageSize--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPreferPageSize</h4>
|
|
<pre>public boolean isPreferPageSize()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the preferPageSize</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPreferPageSize-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPreferPageSize</h4>
|
|
<pre>public void setPreferPageSize(boolean value)</pre>
|
|
<div class="block">Fires a property change event for <code>preferPageSize</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the preferPageSize to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isPageBreaksVisible--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPageBreaksVisible</h4>
|
|
<pre>public boolean isPageBreaksVisible()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the pageBreaksVisible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageBreaksVisible-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageBreaksVisible</h4>
|
|
<pre>public void setPageBreaksVisible(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the pageBreaksVisible to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageBreakColor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageBreakColor</h4>
|
|
<pre>public java.awt.Color getPageBreakColor()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the pageBreakColor</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageBreakColor-java.awt.Color-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageBreakColor</h4>
|
|
<pre>public void setPageBreakColor(java.awt.Color pageBreakColor)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>pageBreakColor</code> - the pageBreakColor to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setHorizontalPageCount-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setHorizontalPageCount</h4>
|
|
<pre>public void setHorizontalPageCount(int value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the horizontalPageCount to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getHorizontalPageCount--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHorizontalPageCount</h4>
|
|
<pre>public int getHorizontalPageCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setVerticalPageCount-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVerticalPageCount</h4>
|
|
<pre>public void setVerticalPageCount(int value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the verticalPageCount to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getVerticalPageCount--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getVerticalPageCount</h4>
|
|
<pre>public int getVerticalPageCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isCenterPage--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCenterPage</h4>
|
|
<pre>public boolean isCenterPage()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the centerPage</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCenterPage-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCenterPage</h4>
|
|
<pre>public void setCenterPage(boolean value)</pre>
|
|
<div class="block">zoomAndCenter should be called if this is set to true.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the centerPage to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageBackgroundColor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageBackgroundColor</h4>
|
|
<pre>public java.awt.Color getPageBackgroundColor()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the pageBackgroundColor</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageBackgroundColor-java.awt.Color-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageBackgroundColor</h4>
|
|
<pre>public void setPageBackgroundColor(java.awt.Color value)</pre>
|
|
<div class="block">Sets the color that appears behind the page.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the pageBackgroundColor to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageShadowColor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageShadowColor</h4>
|
|
<pre>public java.awt.Color getPageShadowColor()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the pageShadowColor</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageShadowColor-java.awt.Color-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageShadowColor</h4>
|
|
<pre>public void setPageShadowColor(java.awt.Color value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the pageShadowColor to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageBorderColor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageBorderColor</h4>
|
|
<pre>public java.awt.Color getPageBorderColor()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the pageShadowColor</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPageBorderColor-java.awt.Color-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPageBorderColor</h4>
|
|
<pre>public void setPageBorderColor(java.awt.Color value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the pageBorderColor to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isKeepSelectionVisibleOnZoom--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isKeepSelectionVisibleOnZoom</h4>
|
|
<pre>public boolean isKeepSelectionVisibleOnZoom()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the keepSelectionVisibleOnZoom</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setKeepSelectionVisibleOnZoom-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setKeepSelectionVisibleOnZoom</h4>
|
|
<pre>public void setKeepSelectionVisibleOnZoom(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the keepSelectionVisibleOnZoom to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getZoomFactor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getZoomFactor</h4>
|
|
<pre>public double getZoomFactor()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the zoomFactor</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setZoomFactor-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setZoomFactor</h4>
|
|
<pre>public void setZoomFactor(double value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the zoomFactor to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isCenterZoom--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCenterZoom</h4>
|
|
<pre>public boolean isCenterZoom()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the centerZoom</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCenterZoom-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCenterZoom</h4>
|
|
<pre>public void setCenterZoom(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the centerZoom to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setZoomPolicy-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setZoomPolicy</h4>
|
|
<pre>public void setZoomPolicy(int value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getZoomPolicy--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getZoomPolicy</h4>
|
|
<pre>public int getZoomPolicy()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="escape-java.awt.event.KeyEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>escape</h4>
|
|
<pre>public void escape(java.awt.event.KeyEvent e)</pre>
|
|
<div class="block">Callback to process an escape keystroke.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>e</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="importCells-java.lang.Object:A-double-double-java.lang.Object-java.awt.Point-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>importCells</h4>
|
|
<pre>public java.lang.Object[] importCells(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
java.lang.Object target,
|
|
java.awt.Point location)</pre>
|
|
<div class="block">Clones and inserts the given cells into the graph using the move method
|
|
and returns the inserted cells. This shortcut is used if cells are
|
|
inserted via datatransfer.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="refresh--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>refresh</h4>
|
|
<pre>public void refresh()</pre>
|
|
<div class="block">Refreshes the display and handles.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPointForEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPointForEvent</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getPointForEvent(java.awt.event.MouseEvent e)</pre>
|
|
<div class="block">Returns an mxPoint representing the given event in the unscaled,
|
|
non-translated coordinate space and applies the grid.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPointForEvent-java.awt.event.MouseEvent-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPointForEvent</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getPointForEvent(java.awt.event.MouseEvent e,
|
|
boolean addOffset)</pre>
|
|
<div class="block">Returns an mxPoint representing the given event in the unscaled,
|
|
non-translated coordinate space and applies the grid.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="startEditing--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startEditing</h4>
|
|
<pre>public void startEditing()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="startEditingAtCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startEditingAtCell</h4>
|
|
<pre>public void startEditingAtCell(java.lang.Object cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="startEditingAtCell-java.lang.Object-java.util.EventObject-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startEditingAtCell</h4>
|
|
<pre>public void startEditingAtCell(java.lang.Object cell,
|
|
java.util.EventObject evt)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getEditingValue-java.lang.Object-java.util.EventObject-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEditingValue</h4>
|
|
<pre>public java.lang.String getEditingValue(java.lang.Object cell,
|
|
java.util.EventObject trigger)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="stopEditing-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>stopEditing</h4>
|
|
<pre>public void stopEditing(boolean cancel)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="labelChanged-java.lang.Object-java.lang.Object-java.util.EventObject-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelChanged</h4>
|
|
<pre>public java.lang.Object labelChanged(java.lang.Object cell,
|
|
java.lang.Object value,
|
|
java.util.EventObject evt)</pre>
|
|
<div class="block">Sets the label of the specified cell to the given value using
|
|
mxGraph.cellLabelChanged and fires mxEvent.LABEL_CHANGED while the
|
|
transaction is in progress. Returns the cell whose label was changed.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose label should be changed.</dd>
|
|
<dd><code>value</code> - New value of the label.</dd>
|
|
<dd><code>evt</code> - Optional event that triggered the change.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPreferredSizeForPage--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPreferredSizeForPage</h4>
|
|
<pre>protected java.awt.Dimension getPreferredSizeForPage()</pre>
|
|
<div class="block">Returns the (unscaled) preferred size for the current page format (scaled
|
|
by pageScale).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getVerticalPageBorder--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getVerticalPageBorder</h4>
|
|
<pre>public int getVerticalPageBorder()</pre>
|
|
<div class="block">Returns the vertical border between the page and the control.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getHorizontalPageBorder--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHorizontalPageBorder</h4>
|
|
<pre>public int getHorizontalPageBorder()</pre>
|
|
<div class="block">Returns the horizontal border between the page and the control.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getScaledPreferredSizeForGraph--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getScaledPreferredSizeForGraph</h4>
|
|
<pre>protected java.awt.Dimension getScaledPreferredSizeForGraph()</pre>
|
|
<div class="block">Returns the scaled preferred size for the current graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPageTranslate-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPageTranslate</h4>
|
|
<pre>protected <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> getPageTranslate(double scale)</pre>
|
|
<div class="block">Should be called by a hook inside mxGraphView/mxGraph</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomAndCenter--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomAndCenter</h4>
|
|
<pre>public void zoomAndCenter()</pre>
|
|
<div class="block">Invoked after the component was resized to update the zoom if the zoom
|
|
policy is not none and/or update the translation of the diagram if
|
|
pageVisible and centerPage are true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomIn--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomIn</h4>
|
|
<pre>public void zoomIn()</pre>
|
|
<div class="block">Zooms into the graph by zoomFactor.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomOut--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomOut</h4>
|
|
<pre>public void zoomOut()</pre>
|
|
<div class="block">Function: zoomOut
|
|
|
|
Zooms out of the graph by <zoomFactor>.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoom-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoom</h4>
|
|
<pre>public void zoom(double factor)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomTo-double-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomTo</h4>
|
|
<pre>public void zoomTo(double newScale,
|
|
boolean center)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="zoomActual--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoomActual</h4>
|
|
<pre>public void zoomActual()</pre>
|
|
<div class="block">Function: zoomActual
|
|
|
|
Resets the zoom and panning in the view.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="zoom-boolean-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>zoom</h4>
|
|
<pre>public void zoom(boolean page,
|
|
boolean center)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="maintainScrollBar-boolean-double-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>maintainScrollBar</h4>
|
|
<pre>protected void maintainScrollBar(boolean horizontal,
|
|
double factor,
|
|
boolean center)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="scrollToCenter-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>scrollToCenter</h4>
|
|
<pre>public void scrollToCenter(boolean horizontal)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="scrollCellToVisible-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>scrollCellToVisible</h4>
|
|
<pre>public void scrollCellToVisible(java.lang.Object cell)</pre>
|
|
<div class="block">Scrolls the graph so that it shows the given cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="scrollCellToVisible-java.lang.Object-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>scrollCellToVisible</h4>
|
|
<pre>public void scrollCellToVisible(java.lang.Object cell,
|
|
boolean center)</pre>
|
|
<div class="block">Scrolls the graph so that it shows the given cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellAt-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellAt</h4>
|
|
<pre>public java.lang.Object getCellAt(int x,
|
|
int y)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x</code> - </dd>
|
|
<dd><code>y</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cell at the given location.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellAt-int-int-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellAt</h4>
|
|
<pre>public java.lang.Object getCellAt(int x,
|
|
int y,
|
|
boolean hitSwimlaneContent)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x</code> - </dd>
|
|
<dd><code>y</code> - </dd>
|
|
<dd><code>hitSwimlaneContent</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cell at the given location.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellAt-int-int-boolean-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellAt</h4>
|
|
<pre>public java.lang.Object getCellAt(int x,
|
|
int y,
|
|
boolean hitSwimlaneContent,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Returns the bottom-most cell that intersects the given point (x, y) in
|
|
the cell hierarchy starting at the given parent.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x</code> - X-coordinate of the location to be checked.</dd>
|
|
<dd><code>y</code> - Y-coordinate of the location to be checked.</dd>
|
|
<dd><code>parent</code> - <mxCell> that should be used as the root of the recursion.
|
|
Default is <defaultParent>.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the child at the given location.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSwimlaneSelectionEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSwimlaneSelectionEnabled</h4>
|
|
<pre>public void setSwimlaneSelectionEnabled(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isSwimlaneSelectionEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSwimlaneSelectionEnabled</h4>
|
|
<pre>public boolean isSwimlaneSelectionEnabled()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="selectRegion-java.awt.Rectangle-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectRegion</h4>
|
|
<pre>public java.lang.Object[] selectRegion(java.awt.Rectangle rect,
|
|
java.awt.event.MouseEvent e)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getCells-java.awt.Rectangle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCells</h4>
|
|
<pre>public java.lang.Object[] getCells(java.awt.Rectangle rect)</pre>
|
|
<div class="block">Returns the cells inside the given rectangle.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the cells inside the given rectangle.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCells-java.awt.Rectangle-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCells</h4>
|
|
<pre>public java.lang.Object[] getCells(java.awt.Rectangle rect,
|
|
java.lang.Object parent)</pre>
|
|
<div class="block">Returns the children of the given parent that are contained in the given
|
|
rectangle (x, y, width, height). The result is added to the optional
|
|
result array, which is returned from the function. If no result array is
|
|
specified then a new array is created and returned.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the children inside the given rectangle.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCellsForEvent-java.lang.Object:A-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCellsForEvent</h4>
|
|
<pre>public void selectCellsForEvent(java.lang.Object[] cells,
|
|
java.awt.event.MouseEvent event)</pre>
|
|
<div class="block">Selects the cells for the given event.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectCellForEvent-java.lang.Object-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectCellForEvent</h4>
|
|
<pre>public void selectCellForEvent(java.lang.Object cell,
|
|
java.awt.event.MouseEvent e)</pre>
|
|
<div class="block">Selects the cell for the given event.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSignificant-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSignificant</h4>
|
|
<pre>public boolean isSignificant(double dx,
|
|
double dy)</pre>
|
|
<div class="block">Returns true if the absolute value of one of the given parameters is
|
|
greater than the tolerance.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getFoldingIcon-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFoldingIcon</h4>
|
|
<pre>public javax.swing.ImageIcon getFoldingIcon(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Returns the icon used to display the collapsed state of the specified
|
|
cell state. This returns null for all edges.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getFoldingIconBounds-com.mxgraph.view.mxCellState-javax.swing.ImageIcon-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFoldingIconBounds</h4>
|
|
<pre>public java.awt.Rectangle getFoldingIconBounds(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
javax.swing.ImageIcon icon)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="hitFoldingIcon-java.lang.Object-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hitFoldingIcon</h4>
|
|
<pre>public boolean hitFoldingIcon(java.lang.Object cell,
|
|
int x,
|
|
int y)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setToolTips-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setToolTips</h4>
|
|
<pre>public void setToolTips(boolean enabled)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enabled</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isConnectable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConnectable</h4>
|
|
<pre>public boolean isConnectable()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setConnectable-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setConnectable</h4>
|
|
<pre>public void setConnectable(boolean connectable)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>connectable</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isPanning--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPanning</h4>
|
|
<pre>public boolean isPanning()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPanning-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPanning</h4>
|
|
<pre>public void setPanning(boolean enabled)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enabled</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoScroll--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoScroll</h4>
|
|
<pre>public boolean isAutoScroll()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the autoScroll</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoScroll-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoScroll</h4>
|
|
<pre>public void setAutoScroll(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the autoScroll to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isAutoExtend--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAutoExtend</h4>
|
|
<pre>public boolean isAutoExtend()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the autoExtend</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAutoExtend-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAutoExtend</h4>
|
|
<pre>public void setAutoExtend(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the autoExtend to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isEscapeEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEscapeEnabled</h4>
|
|
<pre>public boolean isEscapeEnabled()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the escapeEnabled</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setEscapeEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEscapeEnabled</h4>
|
|
<pre>public void setEscapeEnabled(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the escapeEnabled to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isInvokesStopCellEditing--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isInvokesStopCellEditing</h4>
|
|
<pre>public boolean isInvokesStopCellEditing()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the escapeEnabled</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setInvokesStopCellEditing-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setInvokesStopCellEditing</h4>
|
|
<pre>public void setInvokesStopCellEditing(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the invokesStopCellEditing to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isEnterStopsCellEditing--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEnterStopsCellEditing</h4>
|
|
<pre>public boolean isEnterStopsCellEditing()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the enterStopsCellEditing</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setEnterStopsCellEditing-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEnterStopsCellEditing</h4>
|
|
<pre>public void setEnterStopsCellEditing(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the enterStopsCellEditing to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isDragEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isDragEnabled</h4>
|
|
<pre>public boolean isDragEnabled()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the dragEnabled</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDragEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDragEnabled</h4>
|
|
<pre>public void setDragEnabled(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the dragEnabled to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isGridVisible--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isGridVisible</h4>
|
|
<pre>public boolean isGridVisible()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the gridVisible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGridVisible-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGridVisible</h4>
|
|
<pre>public void setGridVisible(boolean value)</pre>
|
|
<div class="block">Fires a property change event for <code>gridVisible</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the gridVisible to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isAntiAlias--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAntiAlias</h4>
|
|
<pre>public boolean isAntiAlias()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the gridVisible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAntiAlias-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAntiAlias</h4>
|
|
<pre>public void setAntiAlias(boolean value)</pre>
|
|
<div class="block">Fires a property change event for <code>antiAlias</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the antiAlias to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isTextAntiAlias--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isTextAntiAlias</h4>
|
|
<pre>public boolean isTextAntiAlias()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the gridVisible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTextAntiAlias-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTextAntiAlias</h4>
|
|
<pre>public void setTextAntiAlias(boolean value)</pre>
|
|
<div class="block">Fires a property change event for <code>textAntiAlias</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the textAntiAlias to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPreviewAlpha--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPreviewAlpha</h4>
|
|
<pre>public float getPreviewAlpha()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPreviewAlpha-float-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPreviewAlpha</h4>
|
|
<pre>public void setPreviewAlpha(float value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isTripleBuffered--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isTripleBuffered</h4>
|
|
<pre>public boolean isTripleBuffered()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the tripleBuffered</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isForceTripleBuffered--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isForceTripleBuffered</h4>
|
|
<pre>public boolean isForceTripleBuffered()</pre>
|
|
<div class="block">Hook for dynamic triple buffering condition.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setTripleBuffered-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTripleBuffered</h4>
|
|
<pre>public void setTripleBuffered(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the tripleBuffered to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGridColor--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGridColor</h4>
|
|
<pre>public java.awt.Color getGridColor()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the gridColor</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGridColor-java.awt.Color-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGridColor</h4>
|
|
<pre>public void setGridColor(java.awt.Color value)</pre>
|
|
<div class="block">Fires a property change event for <code>gridColor</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the gridColor to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGridStyle--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGridStyle</h4>
|
|
<pre>public int getGridStyle()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the gridStyle</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGridStyle-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGridStyle</h4>
|
|
<pre>public void setGridStyle(int value)</pre>
|
|
<div class="block">Fires a property change event for <code>gridStyle</code>.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the gridStyle to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isImportEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isImportEnabled</h4>
|
|
<pre>public boolean isImportEnabled()</pre>
|
|
<div class="block">Returns importEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setImportEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImportEnabled</h4>
|
|
<pre>public void setImportEnabled(boolean value)</pre>
|
|
<div class="block">Sets importEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getImportableCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImportableCells</h4>
|
|
<pre>public java.lang.Object[] getImportableCells(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns all cells which may be imported via datatransfer.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="canImportCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canImportCell</h4>
|
|
<pre>public boolean canImportCell(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell can be imported via datatransfer. This
|
|
returns importEnabled.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isExportEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isExportEnabled</h4>
|
|
<pre>public boolean isExportEnabled()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the exportEnabled</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setExportEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setExportEnabled</h4>
|
|
<pre>public void setExportEnabled(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the exportEnabled to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getExportableCells-java.lang.Object:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getExportableCells</h4>
|
|
<pre>public java.lang.Object[] getExportableCells(java.lang.Object[] cells)</pre>
|
|
<div class="block">Returns all cells which may be exported via datatransfer.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="canExportCell-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canExportCell</h4>
|
|
<pre>public boolean canExportCell(java.lang.Object cell)</pre>
|
|
<div class="block">Returns true if the given cell can be exported via datatransfer.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isFoldingEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isFoldingEnabled</h4>
|
|
<pre>public boolean isFoldingEnabled()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the foldingEnabled</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setFoldingEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setFoldingEnabled</h4>
|
|
<pre>public void setFoldingEnabled(boolean value)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>value</code> - the foldingEnabled to set</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isEditEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEditEvent</h4>
|
|
<pre>public boolean isEditEvent(java.awt.event.MouseEvent e)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isCloneEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCloneEvent</h4>
|
|
<pre>public boolean isCloneEvent(java.awt.event.MouseEvent event)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>event</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given event should toggle selected cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isToggleEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isToggleEvent</h4>
|
|
<pre>public boolean isToggleEvent(java.awt.event.MouseEvent event)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>event</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given event should toggle selected cells.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isGridEnabledEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isGridEnabledEvent</h4>
|
|
<pre>public boolean isGridEnabledEvent(java.awt.event.MouseEvent event)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>event</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given event allows the grid to be applied.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isPanningEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPanningEvent</h4>
|
|
<pre>public boolean isPanningEvent(java.awt.event.MouseEvent event)</pre>
|
|
<div class="block">Note: This is not used during drag and drop operations due to limitations
|
|
of the underlying API. To enable this for move operations set dragEnabled
|
|
to false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>event</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given event is a panning event.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isConstrainedEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isConstrainedEvent</h4>
|
|
<pre>public boolean isConstrainedEvent(java.awt.event.MouseEvent event)</pre>
|
|
<div class="block">Note: This is not used during drag and drop operations due to limitations
|
|
of the underlying API. To enable this for move operations set dragEnabled
|
|
to false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>event</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given event is constrained.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isForceMarqueeEvent-java.awt.event.MouseEvent-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isForceMarqueeEvent</h4>
|
|
<pre>public boolean isForceMarqueeEvent(java.awt.event.MouseEvent event)</pre>
|
|
<div class="block">Note: This is not used during drag and drop operations due to limitations
|
|
of the underlying API. To enable this for move operations set dragEnabled
|
|
to false.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>event</code> - </dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if the given event is constrained.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="snapScaledPoint-com.mxgraph.util.mxPoint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>snapScaledPoint</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> snapScaledPoint(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> pt)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="snapScaledPoint-com.mxgraph.util.mxPoint-double-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>snapScaledPoint</h4>
|
|
<pre>public <a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> snapScaledPoint(<a href="../../../com/mxgraph/util/mxPoint.html" title="class in com.mxgraph.util">mxPoint</a> pt,
|
|
double dx,
|
|
double dy)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="print-java.awt.Graphics-java.awt.print.PageFormat-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>print</h4>
|
|
<pre>public int print(java.awt.Graphics g,
|
|
java.awt.print.PageFormat printFormat,
|
|
int page)</pre>
|
|
<div class="block">Prints the specified page on the specified graphics using
|
|
<code>pageFormat</code> for the page format.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code>print</code> in interface <code>java.awt.print.Printable</code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>g</code> - The graphics to paint the graph on.</dd>
|
|
<dd><code>printFormat</code> - The page format to use for printing.</dd>
|
|
<dd><code>page</code> - The page to print</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns <code>Printable.PAGE_EXISTS</code> or
|
|
<code>Printable.NO_SUCH_PAGE</code>.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCanvas--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCanvas</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html" title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a> getCanvas()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getTripleBuffer--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTripleBuffer</h4>
|
|
<pre>public java.awt.image.BufferedImage getTripleBuffer()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createCanvas--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createCanvas</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/view/mxInteractiveCanvas.html" title="class in com.mxgraph.swing.view">mxInteractiveCanvas</a> createCanvas()</pre>
|
|
<div class="block">Hook for subclassers to replace the graphics canvas for rendering and and
|
|
printing. This must be overridden to return a custom canvas if there are
|
|
any custom shapes.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createHandler-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createHandler</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/handler/mxCellHandler.html" title="class in com.mxgraph.swing.handler">mxCellHandler</a> createHandler(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>state</code> - Cell state for which a handler should be created.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns the handler to be used for the given cell state.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="createComponents-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createComponents</h4>
|
|
<pre>public java.awt.Component[] createComponents(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Hook for subclassers to create the array of heavyweights for the given
|
|
state.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="insertComponent-com.mxgraph.view.mxCellState-java.awt.Component-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>insertComponent</h4>
|
|
<pre>public void insertComponent(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
java.awt.Component c)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeComponent-java.awt.Component-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeComponent</h4>
|
|
<pre>public void removeComponent(java.awt.Component c,
|
|
java.lang.Object cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="updateComponent-com.mxgraph.view.mxCellState-java.awt.Component-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateComponent</h4>
|
|
<pre>public void updateComponent(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
java.awt.Component c)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="updateComponents--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateComponents</h4>
|
|
<pre>public void updateComponents()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeAllComponents-java.util.Hashtable-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeAllComponents</h4>
|
|
<pre>public void removeAllComponents(java.util.Hashtable<java.lang.Object,java.awt.Component[]> map)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="removeAllOverlays-java.util.Hashtable-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeAllOverlays</h4>
|
|
<pre>public void removeAllOverlays(java.util.Hashtable<java.lang.Object,<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]> map)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="updateComponents-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateComponents</h4>
|
|
<pre>public java.util.Hashtable<java.lang.Object,java.awt.Component[]> updateComponents(java.lang.Object cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="validateGraph--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>validateGraph</h4>
|
|
<pre>public java.lang.String validateGraph()</pre>
|
|
<div class="block">Validates the graph by validating each descendant of the given cell or
|
|
the root of the model. Context is an object that contains the validation
|
|
state for the complete validation run. The validation errors are attached
|
|
to their cells using <setWarning>. This function returns true if no
|
|
validation errors exist in the graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="validateGraph-java.lang.Object-java.util.Hashtable-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>validateGraph</h4>
|
|
<pre>public java.lang.String validateGraph(java.lang.Object cell,
|
|
java.util.Hashtable<java.lang.Object,java.lang.Object> context)</pre>
|
|
<div class="block">Validates the graph by validating each descendant of the given cell or
|
|
the root of the model. Context is an object that contains the validation
|
|
state for the complete validation run. The validation errors are attached
|
|
to their cells using <setWarning>. This function returns true if no
|
|
validation errors exist in the graph.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell to start the validation recursion.</dd>
|
|
<dd><code>context</code> - Object that represents the global validation state.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addCellOverlay-java.lang.Object-com.mxgraph.swing.util.mxICellOverlay-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addCellOverlay</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> addCellOverlay(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay)</pre>
|
|
<div class="block">Adds an overlay for the specified cell. This method fires an addoverlay
|
|
event and returns the new overlay.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell to add the overlay for.</dd>
|
|
<dd><code>overlay</code> - Overlay to be added for the cell.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCellOverlays-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCellOverlays</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[] getCellOverlays(java.lang.Object cell)</pre>
|
|
<div class="block">Returns the array of overlays for the given cell or null, if no overlays
|
|
are defined.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose overlays should be returned.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellOverlay-java.lang.Object-com.mxgraph.swing.util.mxICellOverlay-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellOverlay</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> removeCellOverlay(java.lang.Object cell,
|
|
<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay)</pre>
|
|
<div class="block">Removes and returns the given overlay from the given cell. This method
|
|
fires a remove overlay event. If no overlay is given, then all overlays
|
|
are removed using removeOverlays.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose overlay should be removed.</dd>
|
|
<dd><code>overlay</code> - Optional overlay to be removed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellOverlays-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellOverlays</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[] removeCellOverlays(java.lang.Object cell)</pre>
|
|
<div class="block">Removes all overlays from the given cell. This method fires a
|
|
removeoverlay event for each removed overlay and returns the array of
|
|
overlays that was removed from the cell.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose overlays should be removed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellOverlayComponent-com.mxgraph.swing.util.mxICellOverlay-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellOverlayComponent</h4>
|
|
<pre>protected void removeCellOverlayComponent(<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay,
|
|
java.lang.Object cell)</pre>
|
|
<div class="block">Notified when an overlay has been removed from the graph. This
|
|
implementation removes the given overlay from its parent if it is a
|
|
component inside a component hierarchy.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateCellOverlayComponent-com.mxgraph.view.mxCellState-com.mxgraph.swing.util.mxICellOverlay-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateCellOverlayComponent</h4>
|
|
<pre>protected void updateCellOverlayComponent(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state,
|
|
<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> overlay)</pre>
|
|
<div class="block">Notified when an overlay has been removed from the graph. This
|
|
implementation removes the given overlay from its parent if it is a
|
|
component inside a component hierarchy.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="clearCellOverlays--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearCellOverlays</h4>
|
|
<pre>public void clearCellOverlays()</pre>
|
|
<div class="block">Removes all overlays in the graph.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="clearCellOverlays-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearCellOverlays</h4>
|
|
<pre>public void clearCellOverlays(java.lang.Object cell)</pre>
|
|
<div class="block">Removes all overlays in the graph for the given cell and all its
|
|
descendants. If no cell is specified then all overlays are removed from
|
|
the graph. This implementation uses removeOverlays to remove the overlays
|
|
from the individual cells.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Optional cell that represents the root of the subtree to
|
|
remove the overlays from. Default is the root in the model.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellWarning-java.lang.Object-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellWarning</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> setCellWarning(java.lang.Object cell,
|
|
java.lang.String warning)</pre>
|
|
<div class="block">Creates an overlay for the given cell using the warning and image or
|
|
warningImage and returns the new overlay. If the warning is null or a
|
|
zero length string, then all overlays are removed from the cell instead.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose warning should be set.</dd>
|
|
<dd><code>warning</code> - String that represents the warning to be displayed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellWarning-java.lang.Object-java.lang.String-javax.swing.ImageIcon-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellWarning</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> setCellWarning(java.lang.Object cell,
|
|
java.lang.String warning,
|
|
javax.swing.ImageIcon icon)</pre>
|
|
<div class="block">Creates an overlay for the given cell using the warning and image or
|
|
warningImage and returns the new overlay. If the warning is null or a
|
|
zero length string, then all overlays are removed from the cell instead.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose warning should be set.</dd>
|
|
<dd><code>warning</code> - String that represents the warning to be displayed.</dd>
|
|
<dd><code>icon</code> - Optional image to be used for the overlay. Default is
|
|
warningImageBasename.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCellWarning-java.lang.Object-java.lang.String-javax.swing.ImageIcon-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCellWarning</h4>
|
|
<pre>public <a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a> setCellWarning(java.lang.Object cell,
|
|
java.lang.String warning,
|
|
javax.swing.ImageIcon icon,
|
|
boolean select)</pre>
|
|
<div class="block">Creates an overlay for the given cell using the warning and image or
|
|
warningImage and returns the new overlay. If the warning is null or a
|
|
zero length string, then all overlays are removed from the cell instead.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>cell</code> - Cell whose warning should be set.</dd>
|
|
<dd><code>warning</code> - String that represents the warning to be displayed.</dd>
|
|
<dd><code>icon</code> - Optional image to be used for the overlay. Default is
|
|
warningImageBasename.</dd>
|
|
<dd><code>select</code> - Optional boolean indicating if a click on the overlay should
|
|
select the corresponding cell. Default is false.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateCellOverlays-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateCellOverlays</h4>
|
|
<pre>public java.util.Hashtable<java.lang.Object,<a href="../../../com/mxgraph/swing/util/mxICellOverlay.html" title="interface in com.mxgraph.swing.util">mxICellOverlay</a>[]> updateCellOverlays(java.lang.Object cell)</pre>
|
|
<div class="block">Returns a hashtable with all entries from the overlays variable where a
|
|
cell still exists in the model. The entries are removed from the global
|
|
hashtable so that the remaining entries reflect those whose cell have
|
|
been removed from the model. If no state is available for a given cell
|
|
then its overlays are temporarly removed from the rendering control, but
|
|
kept in the result.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="paintBackground-java.awt.Graphics-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paintBackground</h4>
|
|
<pre>protected void paintBackground(java.awt.Graphics g)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paintBackgroundPage-java.awt.Graphics-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paintBackgroundPage</h4>
|
|
<pre>protected java.awt.Rectangle paintBackgroundPage(java.awt.Graphics g)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paintBackgroundImage-java.awt.Graphics-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paintBackgroundImage</h4>
|
|
<pre>protected void paintBackgroundImage(java.awt.Graphics g)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="paintGrid-java.awt.Graphics-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paintGrid</h4>
|
|
<pre>protected void paintGrid(java.awt.Graphics g)</pre>
|
|
<div class="block">Paints the grid onto the given graphics object.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="redraw-com.mxgraph.view.mxCellState-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>redraw</h4>
|
|
<pre>public void redraw(<a href="../../../com/mxgraph/view/mxCellState.html" title="class in com.mxgraph.view">mxCellState</a> state)</pre>
|
|
<div class="block">Updates the buffer (if one exists) and repaints the given cell state.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="checkTripleBuffer--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>checkTripleBuffer</h4>
|
|
<pre>public void checkTripleBuffer()</pre>
|
|
<div class="block">Checks if the triple buffer exists and creates a new one if it does not.
|
|
Also compares the size of the buffer with the size of the graph and drops
|
|
the buffer if it has a different size.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="createTripleBuffer-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createTripleBuffer</h4>
|
|
<pre>protected void createTripleBuffer(int width,
|
|
int height)</pre>
|
|
<div class="block">Creates the tripleBufferGraphics and tripleBuffer for the given dimension
|
|
and draws the complete graph onto the triplebuffer.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>width</code> - </dd>
|
|
<dd><code>height</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="destroyTripleBuffer--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>destroyTripleBuffer</h4>
|
|
<pre>public void destroyTripleBuffer()</pre>
|
|
<div class="block">Destroys the tripleBuffer and tripleBufferGraphics objects.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="repaintTripleBuffer-java.awt.Rectangle-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaintTripleBuffer</h4>
|
|
<pre>public void repaintTripleBuffer(java.awt.Rectangle dirty)</pre>
|
|
<div class="block">Clears and repaints the triple buffer at the given rectangle or repaints
|
|
the complete buffer if no rectangle is specified.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>dirty</code> - </dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isEventsEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEventsEnabled</h4>
|
|
<pre>public boolean isEventsEnabled()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Returns true if event dispatching is enabled in the event source.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../com/mxgraph/util/mxEventSource.html#isEventsEnabled--"><code>mxEventSource.isEventsEnabled()</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setEventsEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEventsEnabled</h4>
|
|
<pre>public void setEventsEnabled(boolean eventsEnabled)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>eventsEnabled</code> - </dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../com/mxgraph/util/mxEventSource.html#setEventsEnabled-boolean-"><code>mxEventSource.setEventsEnabled(boolean)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addListener-java.lang.String-com.mxgraph.util.mxEventSource.mxIEventListener-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addListener</h4>
|
|
<pre>public void addListener(java.lang.String eventName,
|
|
<a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>eventName</code> - </dd>
|
|
<dd><code>listener</code> - </dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../com/mxgraph/util/mxEventSource.html#addListener-java.lang.String-com.mxgraph.util.mxEventSource.mxIEventListener-"><code>mxEventSource.addListener(java.lang.String,
|
|
com.mxgraph.util.mxEventSource.mxIEventListener)</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeListener-com.mxgraph.util.mxEventSource.mxIEventListener-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeListener</h4>
|
|
<pre>public void removeListener(<a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>listener</code> - Listener instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeListener-com.mxgraph.util.mxEventSource.mxIEventListener-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>removeListener</h4>
|
|
<pre>public void removeListener(<a href="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener,
|
|
java.lang.String eventName)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>eventName</code> - Name of the event.</dd>
|
|
<dd><code>listener</code> - Listener instance.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/mxGraphComponent.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><p><b>mxGraph 3.9.7</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../com/mxgraph/swing/mxGraphComponent.mxGraphControl.html" title="class in com.mxgraph.swing"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?com/mxgraph/swing/mxGraphComponent.html" target="_top">Frames</a></li>
|
|
<li><a href="mxGraphComponent.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
|
|
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
|
|
</body>
|
|
</html>
|