<li><ahref="../../../../com/mxgraph/swing/handler/mxKeyboardHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/swing/handler/mxPanningHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Next Class</span></a></li>
<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.swing.handler.mxMovePreview</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxMovePreview</span>
extends <ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></pre>
<divclass="block">Connection handler creates new connections between cells. This control is used to display the connector
icon, while the preview is used to draw the line.</div>
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><ahref="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
<divclass="block">Specifies if connected, unselected edges should be included in the
preview.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
<divclass="block">Specifies if the selection cells handler should be hidden while the
preview is visible.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a></code></td>
<divclass="block">Specifies if the placeholder rectangle should be used for all
previews.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</a></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[]</code></td>
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<h3>Fields inherited from class com.mxgraph.util.<ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#mxMovePreview(com.mxgraph.swing.mxGraphComponent)">mxMovePreview</a></strong>(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</code>
<divclass="block">Constructs a new rubberband selection for the given graph component.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</a></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#getCells(com.mxgraph.view.mxCellState)">getCells</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> initialState)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<divclass="block">FIXME: Cells should be assigned outside of getPreviewStates</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#getPlaceholderBounds(com.mxgraph.view.mxCellState)">getPlaceholderBounds</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> startState)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[]</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#isCellOpaque(java.lang.Object)">isCellOpaque</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#paint(java.awt.Graphics)">paint</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> g)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#repaint(com.mxgraph.util.mxRectangle)">repaint</a></strong>(<ahref="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> dirty)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#start(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState)">start</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</a> e,
<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Sets the translation of the preview.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</a> e,
double dx,
double dy,
boolean clone,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxMovePreview.html#update(java.awt.event.MouseEvent, double, double, boolean)">update</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</a> e,
double dx,
double dy,
boolean clone)</code>
<divclass="block">Sets the translation of the preview.</div>
<h3>Methods inherited from class com.mxgraph.util.<ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<pre>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent</pre>
</li>
</ul>
<aname="threshold">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>threshold</h4>
<pre>protected int threshold</pre>
<divclass="block">Maximum number of cells to preview individually. Default is 200.</div>
<divclass="block">Specifies if the selection cells handler should be hidden while the
preview is visible. Default is false.</div>
</li>
</ul>
<aname="startState">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>startState</h4>
<pre>protected transient <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> startState</pre>
</li>
</ul>
<aname="previewStates">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>previewStates</h4>
<pre>protected transient <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[] previewStates</pre>
</li>
</ul>
<aname="movingCells">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>movingCells</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] movingCells</pre>
</li>
</ul>
<aname="initialPlaceholder">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>initialPlaceholder</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> initialPlaceholder</pre>
</li>
</ul>
<aname="placeholder">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>placeholder</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> placeholder</pre>
</li>
</ul>
<aname="lastDirty">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>lastDirty</h4>
<pre>protected transient <ahref="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> lastDirty</pre>
</li>
</ul>
<aname="preview">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>preview</h4>
<pre>protected transient <ahref="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</a> preview</pre>
<pre>public mxMovePreview(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</pre>
<divclass="block">Constructs a new rubberband selection for the given graph component.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graphComponent</code> - Component that contains the rubberband.</dd></dl>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getMovingCells()</pre>
<divclass="block">FIXME: Cells should be assigned outside of getPreviewStates</div>
</li>
</ul>
<aname="getCells(com.mxgraph.view.mxCellState)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCells</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] getCells(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> initialState)</pre>
</li>
</ul>
<aname="getPreviewStates()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPreviewStates</h4>
<pre>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[] getPreviewStates()</pre>
<divclass="block">Returns the states that are affected by the move operation.</div>
</li>
</ul>
<aname="isCellOpaque(java.lang.Object)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isCellOpaque</h4>
<pre>protected boolean isCellOpaque(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell)</pre>
<pre>public void start(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</a> e,
<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Sets the translation of the preview.</div>
<pre>protected <ahref="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> getPlaceholderBounds(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> startState)</pre>
</li>
</ul>
<aname="createCellStatePreview()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createCellStatePreview</h4>
<pre>public <ahref="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</a> createCellStatePreview()</pre>
<pre>public void update(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</a> e,
double dx,
double dy,
boolean clone)</pre>
<divclass="block">Sets the translation of the preview.</div>
</li>
</ul>
<aname="repaint(com.mxgraph.util.mxRectangle)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>repaint</h4>
<pre>protected void repaint(<ahref="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</a> dirty)</pre>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] stop(boolean commit,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</a> e,
double dx,
double dy,
boolean clone,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> target)</pre>
</li>
</ul>
<aname="paint(java.awt.Graphics)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>paint</h4>
<pre>public void paint(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</a> g)</pre>
<li><ahref="../../../../com/mxgraph/swing/handler/mxKeyboardHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/swing/handler/mxPanningHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Next Class</span></a></li>