<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>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.swing.handler.mxMovePreview</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxMovePreview</B><DT>extends <AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></DL>
</PRE>
<P>
Connection handler creates new connections between cells. This control is used to display the connector
<THALIGN="left"><B>Nested classes/interfaces inherited from class com.mxgraph.util.<AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A></CODE></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A></CODE></FONT></TD>
<THALIGN="left"><B>Fields inherited from class com.mxgraph.util.<AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#mxMovePreview(com.mxgraph.swing.mxGraphComponent)">mxMovePreview</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</CODE>
<BR>
Constructs a new rubberband selection for the given graph component.</TD>
<CODE> <AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A></CODE></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#getCells(com.mxgraph.view.mxCellState)">getCells</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> initialState)</CODE>
<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></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#getPlaceholderBounds(com.mxgraph.view.mxCellState)">getPlaceholderBounds</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> startState)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#isCellOpaque(java.lang.Object)">isCellOpaque</A></B>(<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><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#paint(java.awt.Graphics)">paint</A></B>(<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><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#repaint(com.mxgraph.util.mxRectangle)">repaint</A></B>(<AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> dirty)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#start(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState)">start</A></B>(<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>
<BR>
Sets the translation of the preview.</TD>
<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></FONT></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><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxMovePreview.html#update(java.awt.event.MouseEvent, double, double, boolean)">update</A></B>(<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>
<BR>
Sets the translation of the preview.</TD>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.util.<AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
<THALIGN="left"><B>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></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><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></TD>
protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A><B>graphComponent</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="threshold"><!----></A><H3>
threshold</H3>
<PRE>
protected int <B>threshold</B></PRE>
<DL>
<DD>Maximum number of cells to preview individually. Default is 200.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="placeholderPreview"><!----></A><H3>
placeholderPreview</H3>
<PRE>
protected boolean <B>placeholderPreview</B></PRE>
<DL>
<DD>Specifies if the placeholder rectangle should be used for all
previews. Default is false. This overrides all other preview
settings if true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="clonePreview"><!----></A><H3>
clonePreview</H3>
<PRE>
protected boolean <B>clonePreview</B></PRE>
<DL>
<DD>Specifies if the preview should use clones of the original shapes.
Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="contextPreview"><!----></A><H3>
contextPreview</H3>
<PRE>
protected boolean <B>contextPreview</B></PRE>
<DL>
<DD>Specifies if connected, unselected edges should be included in the
preview. Default is true. This should not be used if cloning is
<DD>Specifies if the selection cells handler should be hidden while the
preview is visible. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="startState"><!----></A><H3>
startState</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>startState</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="previewStates"><!----></A><H3>
previewStates</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>[] <B>previewStates</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="movingCells"><!----></A><H3>
movingCells</H3>
<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>[] <B>movingCells</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="initialPlaceholder"><!----></A><H3>
initialPlaceholder</H3>
<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><B>initialPlaceholder</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="placeholder"><!----></A><H3>
placeholder</H3>
<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><B>placeholder</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="lastDirty"><!----></A><H3>
lastDirty</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>lastDirty</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="preview"><!----></A><H3>
preview</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A><B>preview</B></PRE>
public <B>mxMovePreview</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</PRE>
<DL>
<DD>Constructs a new rubberband selection for the given graph component.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>graphComponent</CODE> - Component that contains the rubberband.</DL>
public void <B>setHideSelectionHandler</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isActive()"><!----></A><H3>
isActive</H3>
<PRE>
public boolean <B>isActive</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getMovingCells()"><!----></A><H3>
getMovingCells</H3>
<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>[] <B>getMovingCells</B>()</PRE>
<DL>
<DD>FIXME: Cells should be assigned outside of getPreviewStates
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>[] <B>getCells</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> initialState)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getPreviewStates()"><!----></A><H3>
getPreviewStates</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>[] <B>getPreviewStates</B>()</PRE>
<DL>
<DD>Returns the states that are affected by the move operation.
protected boolean <B>isCellOpaque</B>(<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>
public void <B>start</B>(<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>
protected <AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>getPlaceholderBounds</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> startState)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="createCellStatePreview()"><!----></A><H3>
createCellStatePreview</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A><B>createCellStatePreview</B>()</PRE>
public void <B>update</B>(<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,
protected void <B>repaint</B>(<AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A> dirty)</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>[] <B>stop</B>(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>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="paint(java.awt.Graphics)"><!----></A><H3>
paint</H3>
<PRE>
public void <B>paint</B>(<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>