<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 "><B>com.mxgraph.swing.view.mxCellStatePreview</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxCellStatePreview</B><DT>extends <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></DL>
</PRE>
<P>
Represents the current state of a cell in a given graph view.
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>,<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#mxCellStatePreview(com.mxgraph.swing.mxGraphComponent, boolean)">mxCellStatePreview</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
boolean cloned)</CODE>
<BR>
Constructs a new state preview.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#addEdges(com.mxgraph.view.mxCellState)">addEdges</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>,<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#getOpacityForCell(java.lang.Object)">getOpacityForCell</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>
<CODE> <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#moveState(com.mxgraph.view.mxCellState, double, double)">moveState</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.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/view/mxCellStatePreview.html#paintPreview(com.mxgraph.canvas.mxGraphics2DCanvas)">paintPreview</A></B>(<AHREF="../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</A> canvas)</CODE>
<BR>
Draws the preview using the graphics canvas.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#paintPreviewState(com.mxgraph.canvas.mxGraphics2DCanvas, com.mxgraph.view.mxCellState)">paintPreviewState</A></B>(<AHREF="../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</A> canvas,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<BR>
Draws the preview using the graphics canvas.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#restore(java.util.List)">restore</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>> snapshot)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#restoreState(com.mxgraph.view.mxCellState, com.mxgraph.view.mxCellState)">restoreState</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> from)</CODE>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html#snapshot(com.mxgraph.view.mxCellState)">snapshot</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<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="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>,<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>><B>deltas</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="count"><!----></A><H3>
count</H3>
<PRE>
protected int <B>count</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="graphComponent"><!----></A><H3>
graphComponent</H3>
<PRE>
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="cloned"><!----></A><H3>
cloned</H3>
<PRE>
protected boolean <B>cloned</B></PRE>
<DL>
<DD>Specifies if cell states should be cloned or changed in-place.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="opacity"><!----></A><H3>
opacity</H3>
<PRE>
protected float <B>opacity</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="cellStates"><!----></A><H3>
cellStates</H3>
<PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>><B>cellStates</B></PRE>
public <B>mxCellStatePreview</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
boolean cloned)</PRE>
<DL>
<DD>Constructs a new state preview. The paint handler to invoke the paint
public void <B>setCloned</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isEmpty()"><!----></A><H3>
isEmpty</H3>
<PRE>
public boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getCount()"><!----></A><H3>
getCount</H3>
<PRE>
public int <B>getCount</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getDeltas()"><!----></A><H3>
getDeltas</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>,<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>><B>getDeltas</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setOpacity(float)"><!----></A><H3>
setOpacity</H3>
<PRE>
public void <B>setOpacity</B>(float value)</PRE>
public <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>moveState</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
public <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>moveState</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
double dx,
double dy,
boolean add,
boolean includeEdges)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="show()"><!----></A><H3>
show</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>show</B>()</PRE>
<DL>
<DD>Returns a dirty rectangle to be repainted in mxGraphControl.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="restore(java.util.List)"><!----></A><H3>
restore</H3>
<PRE>
public void <B>restore</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>> snapshot)</PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A>><B>snapshot</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
protected void <B>translateState</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> parentState,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
protected <AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>revalidateState</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> parentState,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
public void <B>addEdges</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</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>
protected float <B>getOpacityForCell</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>
protected void <B>paintPreview</B>(<AHREF="../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</A> canvas)</PRE>
protected void <B>paintPreviewState</B>(<AHREF="../../../../com/mxgraph/canvas/mxGraphics2DCanvas.html"title="class in com.mxgraph.canvas">mxGraphics2DCanvas</A> canvas,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>