1514 lines
59 KiB
HTML
1514 lines
59 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Mon Nov 10 04:00:03 EST 2014 -->
|
|
<title>mxGraphHandler (mxGraph 3.1.1.1 API Specification)</title>
|
|
<meta name="date" content="2014-11-10">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="mxGraphHandler (mxGraph 3.1.1.1 API Specification)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/mxGraphHandler.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><em><p><b>mxGraph 3.1.1.1</b></p></em></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/mxgraph/swing/handler/mxElbowEdgeHandler.html" title="class in com.mxgraph.swing.handler"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/mxgraph/swing/handler/mxGraphTransferHandler.html" title="class in com.mxgraph.swing.handler"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/mxgraph/swing/handler/mxGraphHandler.html" target="_top">Frames</a></li>
|
|
<li><a href="mxGraphHandler.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>Nested | </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.handler</div>
|
|
<h2 title="Class mxGraphHandler" class="title">Class mxGraphHandler</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">com.mxgraph.swing.util.mxMouseAdapter</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.mxgraph.swing.handler.mxGraphHandler</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>java.awt.dnd.DropTargetListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">mxGraphHandler</span>
|
|
extends <a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">mxMouseAdapter</a>
|
|
implements java.awt.dnd.DropTargetListener</pre>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#bbox">bbox</a></strong></code>
|
|
<div class="block">Scaled, translated bounding box of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#canImport">canImport</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.Object</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#cell">cell</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#cellBounds">cellBounds</a></strong></code>
|
|
<div class="block">Scaled, translated bounds of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#cells">cells</a></strong></code>
|
|
<div class="block">Holds the cells that are being moved by this handler.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#centerPreview">centerPreview</a></strong></code>
|
|
<div class="block">Specifies if the preview should be centered around the mouse cursor if there
|
|
was no mouse click to define the offset within the shape (eg.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#cloneEnabled">cloneEnabled</a></strong></code>
|
|
<div class="block">Specifies if cloning by control-drag is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#constrainedEvent">constrainedEvent</a></strong></code>
|
|
<div class="block">Workaround for shift-key-state not correct in mouseReleased.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.dnd.DropTarget</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#currentDropTarget">currentDropTarget</a></strong></code>
|
|
<div class="block">Reference to the current drop target.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.awt.Cursor</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#DEFAULT_CURSOR">DEFAULT_CURSOR</a></strong></code>
|
|
<div class="block">Default is Cursor.DEFAULT_CURSOR.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#dragCells">dragCells</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected javax.swing.ImageIcon</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#dragImage">dragImage</a></strong></code>
|
|
<div class="block">Holds the image that is being used for the preview.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#enabled">enabled</a></strong></code>
|
|
<div class="block">Specifies if the handler is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Point</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#first">first</a></strong></code>
|
|
<div class="block">Holds the start location of the mouse gesture.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.awt.Cursor</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#FOLD_CURSOR">FOLD_CURSOR</a></strong></code>
|
|
<div class="block">Default is Cursor.HAND_CURSOR.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/swing/mxGraphComponent.html" title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#graphComponent">graphComponent</a></strong></code>
|
|
<div class="block">Reference to the enclosing graph component.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#gridEnabledEvent">gridEnabledEvent</a></strong></code>
|
|
<div class="block">Workaround for alt-key-state not correct in mouseReleased.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#imagePreview">imagePreview</a></strong></code>
|
|
<div class="block">Specifies if an image should be used for preview.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.lang.Object</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#initialCell">initialCell</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#keepOnTop">keepOnTop</a></strong></code>
|
|
<div class="block">Specifies if this handler should be painted on top of all other components.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#livePreview">livePreview</a></strong></code>
|
|
<div class="block">Specifies if live preview should be used if possible.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#marker">marker</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#markerEnabled">markerEnabled</a></strong></code>
|
|
<div class="block">Specifies if the cell marker should be called (for splitting edges and
|
|
dropping cells into groups).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static java.awt.Cursor</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#MOVE_CURSOR">MOVE_CURSOR</a></strong></code>
|
|
<div class="block">Default is Cursor.MOVE_CURSOR.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#moveEnabled">moveEnabled</a></strong></code>
|
|
<div class="block">Specifies if moving is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/swing/handler/mxMovePreview.html" title="class in com.mxgraph.swing.handler">mxMovePreview</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#movePreview">movePreview</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected java.awt.Rectangle</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#previewBounds">previewBounds</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#removeCellsFromParent">removeCellsFromParent</a></strong></code>
|
|
<div class="block">Specifies if cells may be moved out of their parents.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#selectEnabled">selectEnabled</a></strong></code>
|
|
<div class="block">Specifies if moving is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#transferBounds">transferBounds</a></strong></code>
|
|
<div class="block">Unscaled, untranslated bounding box of the selection cells.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#visible">visible</a></strong></code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#mxGraphHandler(com.mxgraph.swing.mxGraphComponent)">mxGraphHandler</a></strong>(<a href="../../../../com/mxgraph/swing/mxGraphComponent.html" title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.awt.Point</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#convertPoint(java.awt.Point)">convertPoint</a></strong>(java.awt.Point pt)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.event.MouseEvent</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#createEvent(java.awt.dnd.DropTargetEvent)">createEvent</a></strong>(java.awt.dnd.DropTargetEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#createMarker()">createMarker</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/swing/handler/mxMovePreview.html" title="class in com.mxgraph.swing.handler">mxMovePreview</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#createMovePreview()">createMovePreview</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#dragEnter(java.awt.dnd.DropTargetDragEvent)">dragEnter</a></strong>(java.awt.dnd.DropTargetDragEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#dragExit(java.awt.dnd.DropTargetEvent)">dragExit</a></strong>(java.awt.dnd.DropTargetEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#dragOver(java.awt.dnd.DropTargetDragEvent)">dragOver</a></strong>(java.awt.dnd.DropTargetDragEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#drop(java.awt.dnd.DropTargetDropEvent)">drop</a></strong>(java.awt.dnd.DropTargetDropEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#dropActionChanged(java.awt.dnd.DropTargetDragEvent)">dropActionChanged</a></strong>(java.awt.dnd.DropTargetDragEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#fold(java.lang.Object)">fold</a></strong>(java.lang.Object cell)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.Object[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getCells(java.lang.Object)">getCells</a></strong>(java.lang.Object initialCell)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Cursor</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getCursor(java.awt.event.MouseEvent)">getCursor</a></strong>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected static javax.swing.JComponent</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getDropTarget(java.awt.dnd.DropTargetEvent)">getDropTarget</a></strong>(java.awt.dnd.DropTargetEvent e)</code>
|
|
<div class="block">Helper method to return the component for a drop target event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/mxgraph/swing/mxGraphComponent.html" title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getGraphComponent()">getGraphComponent</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected static <a href="../../../../com/mxgraph/swing/handler/mxGraphTransferHandler.html" title="class in com.mxgraph.swing.handler">mxGraphTransferHandler</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getGraphTransferHandler(java.awt.dnd.DropTargetEvent)">getGraphTransferHandler</a></strong>(java.awt.dnd.DropTargetEvent e)</code>
|
|
<div class="block">Helper method to return the component for a drop target event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getMarker()">getMarker</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/mxgraph/swing/handler/mxMovePreview.html" title="class in com.mxgraph.swing.handler">mxMovePreview</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getMovePreview()">getMovePreview</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.awt.Point</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#getPreviewLocation(java.awt.event.MouseEvent, boolean)">getPreviewLocation</a></strong>(java.awt.event.MouseEvent e,
|
|
boolean gridEnabled)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#installDragGestureHandler()">installDragGestureHandler</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#installDropTargetHandler()">installDropTargetHandler</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isCenterPreview()">isCenterPreview</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isCloneEnabled()">isCloneEnabled</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isEnabled()">isEnabled</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isImagePreview()">isImagePreview</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isLivePreview()">isLivePreview</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isMarkerEnabled()">isMarkerEnabled</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isMoveEnabled()">isMoveEnabled</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isRemoveCellsFromParent()">isRemoveCellsFromParent</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isSelectEnabled()">isSelectEnabled</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#isVisible()">isVisible</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</a></strong>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</a></strong>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</a></strong>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</a></strong>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#moveCells(java.lang.Object[], double, double, java.lang.Object, java.awt.event.MouseEvent)">moveCells</a></strong>(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
java.lang.Object target,
|
|
java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#paint(java.awt.Graphics)">paint</a></strong>(java.awt.Graphics g)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#reset()">reset</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setCenterPreview(boolean)">setCenterPreview</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setCloneEnabled(boolean)">setCloneEnabled</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setEnabled(boolean)">setEnabled</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setImagePreview(boolean)">setImagePreview</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setLivePreview(boolean)">setLivePreview</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setMarker(com.mxgraph.swing.handler.mxCellMarker)">setMarker</a></strong>(<a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a> value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setMarkerEnabled(boolean)">setMarkerEnabled</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setMoveEnabled(boolean)">setMoveEnabled</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setPreviewBounds(java.awt.Rectangle)">setPreviewBounds</a></strong>(java.awt.Rectangle bounds)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setRemoveCellsFromParent(boolean)">setRemoveCellsFromParent</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setSelectEnabled(boolean)">setSelectEnabled</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#setVisible(boolean)">setVisible</a></strong>(boolean value)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#shouldRemoveCellFromParent(java.lang.Object, java.lang.Object[], java.awt.event.MouseEvent)">shouldRemoveCellFromParent</a></strong>(java.lang.Object parent,
|
|
java.lang.Object[] cells,
|
|
java.awt.event.MouseEvent e)</code>
|
|
<div class="block">Returns true if the given cells should be removed from the parent for the specified
|
|
mousereleased event.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#start(java.awt.event.MouseEvent)">start</a></strong>(java.awt.event.MouseEvent e)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/mxgraph/swing/handler/mxGraphHandler.html#updateDragImage(java.lang.Object[])">updateDragImage</a></strong>(java.lang.Object[] cells)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_com.mxgraph.swing.util.mxMouseAdapter">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class com.mxgraph.swing.util.<a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">mxMouseAdapter</a></h3>
|
|
<code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</a>, <a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</a>, <a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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="DEFAULT_CURSOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DEFAULT_CURSOR</h4>
|
|
<pre>public static java.awt.Cursor DEFAULT_CURSOR</pre>
|
|
<div class="block">Default is Cursor.DEFAULT_CURSOR.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="MOVE_CURSOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>MOVE_CURSOR</h4>
|
|
<pre>public static java.awt.Cursor MOVE_CURSOR</pre>
|
|
<div class="block">Default is Cursor.MOVE_CURSOR.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="FOLD_CURSOR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>FOLD_CURSOR</h4>
|
|
<pre>public static java.awt.Cursor FOLD_CURSOR</pre>
|
|
<div class="block">Default is Cursor.HAND_CURSOR.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="graphComponent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>graphComponent</h4>
|
|
<pre>protected <a href="../../../../com/mxgraph/swing/mxGraphComponent.html" title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent</pre>
|
|
<div class="block">Reference to the enclosing graph component.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="enabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enabled</h4>
|
|
<pre>protected boolean enabled</pre>
|
|
<div class="block">Specifies if the handler is enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cloneEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cloneEnabled</h4>
|
|
<pre>protected boolean cloneEnabled</pre>
|
|
<div class="block">Specifies if cloning by control-drag is enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="moveEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveEnabled</h4>
|
|
<pre>protected boolean moveEnabled</pre>
|
|
<div class="block">Specifies if moving is enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="selectEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>selectEnabled</h4>
|
|
<pre>protected boolean selectEnabled</pre>
|
|
<div class="block">Specifies if moving is enabled. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="markerEnabled">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>markerEnabled</h4>
|
|
<pre>protected boolean markerEnabled</pre>
|
|
<div class="block">Specifies if the cell marker should be called (for splitting edges and
|
|
dropping cells into groups). Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeCellsFromParent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeCellsFromParent</h4>
|
|
<pre>protected boolean removeCellsFromParent</pre>
|
|
<div class="block">Specifies if cells may be moved out of their parents. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="movePreview">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>movePreview</h4>
|
|
<pre>protected <a href="../../../../com/mxgraph/swing/handler/mxMovePreview.html" title="class in com.mxgraph.swing.handler">mxMovePreview</a> movePreview</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="livePreview">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>livePreview</h4>
|
|
<pre>protected boolean livePreview</pre>
|
|
<div class="block">Specifies if live preview should be used if possible. Default is false.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="imagePreview">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>imagePreview</h4>
|
|
<pre>protected boolean imagePreview</pre>
|
|
<div class="block">Specifies if an image should be used for preview. Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="centerPreview">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>centerPreview</h4>
|
|
<pre>protected boolean centerPreview</pre>
|
|
<div class="block">Specifies if the preview should be centered around the mouse cursor if there
|
|
was no mouse click to define the offset within the shape (eg. drag from
|
|
external source). Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="keepOnTop">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>keepOnTop</h4>
|
|
<pre>protected boolean keepOnTop</pre>
|
|
<div class="block">Specifies if this handler should be painted on top of all other components.
|
|
Default is true.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cells">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cells</h4>
|
|
<pre>protected transient java.lang.Object[] cells</pre>
|
|
<div class="block">Holds the cells that are being moved by this handler.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="dragImage">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dragImage</h4>
|
|
<pre>protected transient javax.swing.ImageIcon dragImage</pre>
|
|
<div class="block">Holds the image that is being used for the preview.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="first">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>first</h4>
|
|
<pre>protected transient java.awt.Point first</pre>
|
|
<div class="block">Holds the start location of the mouse gesture.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="cell">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cell</h4>
|
|
<pre>protected transient java.lang.Object cell</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="initialCell">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>initialCell</h4>
|
|
<pre>protected transient java.lang.Object initialCell</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="dragCells">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dragCells</h4>
|
|
<pre>protected transient java.lang.Object[] dragCells</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="marker">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>marker</h4>
|
|
<pre>protected transient <a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a> marker</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="canImport">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canImport</h4>
|
|
<pre>protected transient boolean canImport</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="cellBounds">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>cellBounds</h4>
|
|
<pre>protected transient <a href="../../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> cellBounds</pre>
|
|
<div class="block">Scaled, translated bounds of the selection cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="bbox">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bbox</h4>
|
|
<pre>protected transient <a href="../../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> bbox</pre>
|
|
<div class="block">Scaled, translated bounding box of the selection cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="transferBounds">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>transferBounds</h4>
|
|
<pre>protected transient <a href="../../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a> transferBounds</pre>
|
|
<div class="block">Unscaled, untranslated bounding box of the selection cells.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="visible">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>visible</h4>
|
|
<pre>protected transient boolean visible</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="previewBounds">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>previewBounds</h4>
|
|
<pre>protected transient java.awt.Rectangle previewBounds</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="gridEnabledEvent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>gridEnabledEvent</h4>
|
|
<pre>protected transient boolean gridEnabledEvent</pre>
|
|
<div class="block">Workaround for alt-key-state not correct in mouseReleased. Note: State
|
|
of the alt-key is not available during drag-and-drop.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="constrainedEvent">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>constrainedEvent</h4>
|
|
<pre>protected transient boolean constrainedEvent</pre>
|
|
<div class="block">Workaround for shift-key-state not correct in mouseReleased.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="currentDropTarget">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>currentDropTarget</h4>
|
|
<pre>protected transient java.awt.dnd.DropTarget currentDropTarget</pre>
|
|
<div class="block">Reference to the current drop target.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="mxGraphHandler(com.mxgraph.swing.mxGraphComponent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>mxGraphHandler</h4>
|
|
<pre>public mxGraphHandler(<a href="../../../../com/mxgraph/swing/mxGraphComponent.html" title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>graphComponent</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="installDragGestureHandler()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>installDragGestureHandler</h4>
|
|
<pre>protected void installDragGestureHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="installDropTargetHandler()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>installDropTargetHandler</h4>
|
|
<pre>protected void installDropTargetHandler()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isVisible()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isVisible</h4>
|
|
<pre>public boolean isVisible()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setVisible(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setVisible</h4>
|
|
<pre>public void setVisible(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setPreviewBounds(java.awt.Rectangle)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPreviewBounds</h4>
|
|
<pre>public void setPreviewBounds(java.awt.Rectangle bounds)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createMovePreview()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createMovePreview</h4>
|
|
<pre>protected <a href="../../../../com/mxgraph/swing/handler/mxMovePreview.html" title="class in com.mxgraph.swing.handler">mxMovePreview</a> createMovePreview()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getMovePreview()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMovePreview</h4>
|
|
<pre>public <a href="../../../../com/mxgraph/swing/handler/mxMovePreview.html" title="class in com.mxgraph.swing.handler">mxMovePreview</a> getMovePreview()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createMarker()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createMarker</h4>
|
|
<pre>protected <a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a> createMarker()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphComponent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphComponent</h4>
|
|
<pre>public <a href="../../../../com/mxgraph/swing/mxGraphComponent.html" title="class in com.mxgraph.swing">mxGraphComponent</a> getGraphComponent()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEnabled</h4>
|
|
<pre>public boolean isEnabled()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEnabled</h4>
|
|
<pre>public void setEnabled(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isCloneEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCloneEnabled</h4>
|
|
<pre>public boolean isCloneEnabled()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setCloneEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCloneEnabled</h4>
|
|
<pre>public void setCloneEnabled(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isMoveEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMoveEnabled</h4>
|
|
<pre>public boolean isMoveEnabled()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMoveEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMoveEnabled</h4>
|
|
<pre>public void setMoveEnabled(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isMarkerEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMarkerEnabled</h4>
|
|
<pre>public boolean isMarkerEnabled()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMarkerEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMarkerEnabled</h4>
|
|
<pre>public void setMarkerEnabled(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getMarker()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMarker</h4>
|
|
<pre>public <a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a> getMarker()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMarker(com.mxgraph.swing.handler.mxCellMarker)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMarker</h4>
|
|
<pre>public void setMarker(<a href="../../../../com/mxgraph/swing/handler/mxCellMarker.html" title="class in com.mxgraph.swing.handler">mxCellMarker</a> value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isSelectEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSelectEnabled</h4>
|
|
<pre>public boolean isSelectEnabled()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setSelectEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSelectEnabled</h4>
|
|
<pre>public void setSelectEnabled(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isRemoveCellsFromParent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isRemoveCellsFromParent</h4>
|
|
<pre>public boolean isRemoveCellsFromParent()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setRemoveCellsFromParent(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setRemoveCellsFromParent</h4>
|
|
<pre>public void setRemoveCellsFromParent(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isLivePreview()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isLivePreview</h4>
|
|
<pre>public boolean isLivePreview()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setLivePreview(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLivePreview</h4>
|
|
<pre>public void setLivePreview(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isImagePreview()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isImagePreview</h4>
|
|
<pre>public boolean isImagePreview()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setImagePreview(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setImagePreview</h4>
|
|
<pre>public void setImagePreview(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isCenterPreview()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isCenterPreview</h4>
|
|
<pre>public boolean isCenterPreview()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setCenterPreview(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCenterPreview</h4>
|
|
<pre>public void setCenterPreview(boolean value)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="updateDragImage(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateDragImage</h4>
|
|
<pre>public void updateDragImage(java.lang.Object[] cells)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="mouseMoved(java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mouseMoved</h4>
|
|
<pre>public void mouseMoved(java.awt.event.MouseEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>mouseMoved</code> in interface <code>java.awt.event.MouseMotionListener</code></dd>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</a></code> in class <code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">mxMouseAdapter</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCursor(java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCursor</h4>
|
|
<pre>protected java.awt.Cursor getCursor(java.awt.event.MouseEvent e)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="dragEnter(java.awt.dnd.DropTargetDragEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dragEnter</h4>
|
|
<pre>public void dragEnter(java.awt.dnd.DropTargetDragEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>dragEnter</code> in interface <code>java.awt.dnd.DropTargetListener</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="mousePressed(java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mousePressed</h4>
|
|
<pre>public void mousePressed(java.awt.event.MouseEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>mousePressed</code> in interface <code>java.awt.event.MouseListener</code></dd>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</a></code> in class <code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">mxMouseAdapter</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCells(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCells</h4>
|
|
<pre>public java.lang.Object[] getCells(java.lang.Object initialCell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="start(java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>start</h4>
|
|
<pre>public void start(java.awt.event.MouseEvent e)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="dropActionChanged(java.awt.dnd.DropTargetDragEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dropActionChanged</h4>
|
|
<pre>public void dropActionChanged(java.awt.dnd.DropTargetDragEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>dropActionChanged</code> in interface <code>java.awt.dnd.DropTargetListener</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="dragOver(java.awt.dnd.DropTargetDragEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dragOver</h4>
|
|
<pre>public void dragOver(java.awt.dnd.DropTargetDragEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>dragOver</code> in interface <code>java.awt.dnd.DropTargetListener</code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="convertPoint(java.awt.Point)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>convertPoint</h4>
|
|
<pre>public java.awt.Point convertPoint(java.awt.Point pt)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="mouseDragged(java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mouseDragged</h4>
|
|
<pre>public void mouseDragged(java.awt.event.MouseEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>mouseDragged</code> in interface <code>java.awt.event.MouseMotionListener</code></dd>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</a></code> in class <code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">mxMouseAdapter</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPreviewLocation(java.awt.event.MouseEvent, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPreviewLocation</h4>
|
|
<pre>protected java.awt.Point getPreviewLocation(java.awt.event.MouseEvent e,
|
|
boolean gridEnabled)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="dragExit(java.awt.dnd.DropTargetEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dragExit</h4>
|
|
<pre>public void dragExit(java.awt.dnd.DropTargetEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>dragExit</code> in interface <code>java.awt.dnd.DropTargetListener</code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="drop(java.awt.dnd.DropTargetDropEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>drop</h4>
|
|
<pre>public void drop(java.awt.dnd.DropTargetDropEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>drop</code> in interface <code>java.awt.dnd.DropTargetListener</code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="mouseReleased(java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mouseReleased</h4>
|
|
<pre>public void mouseReleased(java.awt.event.MouseEvent e)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>mouseReleased</code> in interface <code>java.awt.event.MouseListener</code></dd>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</a></code> in class <code><a href="../../../../com/mxgraph/swing/util/mxMouseAdapter.html" title="class in com.mxgraph.swing.util">mxMouseAdapter</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="fold(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>fold</h4>
|
|
<pre>protected void fold(java.lang.Object cell)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="reset()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>reset</h4>
|
|
<pre>public void reset()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="shouldRemoveCellFromParent(java.lang.Object, java.lang.Object[], java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>shouldRemoveCellFromParent</h4>
|
|
<pre>protected boolean shouldRemoveCellFromParent(java.lang.Object parent,
|
|
java.lang.Object[] cells,
|
|
java.awt.event.MouseEvent e)</pre>
|
|
<div class="block">Returns true if the given cells should be removed from the parent for the specified
|
|
mousereleased event.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="moveCells(java.lang.Object[], double, double, java.lang.Object, java.awt.event.MouseEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>moveCells</h4>
|
|
<pre>protected void moveCells(java.lang.Object[] cells,
|
|
double dx,
|
|
double dy,
|
|
java.lang.Object target,
|
|
java.awt.event.MouseEvent e)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dx</code> - </dd><dd><code>dy</code> - </dd><dd><code>e</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="paint(java.awt.Graphics)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paint</h4>
|
|
<pre>public void paint(java.awt.Graphics g)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="createEvent(java.awt.dnd.DropTargetEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>createEvent</h4>
|
|
<pre>protected java.awt.event.MouseEvent createEvent(java.awt.dnd.DropTargetEvent e)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getGraphTransferHandler(java.awt.dnd.DropTargetEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGraphTransferHandler</h4>
|
|
<pre>protected static final <a href="../../../../com/mxgraph/swing/handler/mxGraphTransferHandler.html" title="class in com.mxgraph.swing.handler">mxGraphTransferHandler</a> getGraphTransferHandler(java.awt.dnd.DropTargetEvent e)</pre>
|
|
<div class="block">Helper method to return the component for a drop target event.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDropTarget(java.awt.dnd.DropTargetEvent)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getDropTarget</h4>
|
|
<pre>protected static final javax.swing.JComponent getDropTarget(java.awt.dnd.DropTargetEvent e)</pre>
|
|
<div class="block">Helper method to return the component for a drop target event.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/mxGraphHandler.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><em><p><b>mxGraph 3.1.1.1</b></p></em></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../com/mxgraph/swing/handler/mxElbowEdgeHandler.html" title="class in com.mxgraph.swing.handler"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../com/mxgraph/swing/handler/mxGraphTransferHandler.html" title="class in com.mxgraph.swing.handler"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/mxgraph/swing/handler/mxGraphHandler.html" target="_top">Frames</a></li>
|
|
<li><a href="mxGraphHandler.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>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><font size=1>Copyright (c) 2010 <a href="http://www.mxgraph.com/"
|
|
target="_blank">Gaudenz Alder, David Benson</a>. All rights reserved.</font></small></p>
|
|
</body>
|
|
</html>
|