<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 "><AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html"title="class in com.mxgraph.swing.util">com.mxgraph.swing.util.mxAnimation</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.swing.util.mxMorphing</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxMorphing</B><DT>extends <AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html"title="class in com.mxgraph.swing.util">mxAnimation</A></DL>
<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="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/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/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<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>,<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</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.swing.util.<AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html"title="class in com.mxgraph.swing.util">mxAnimation</A></B></TH>
<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/util/mxMorphing.html#mxMorphing(com.mxgraph.swing.mxGraphComponent)">mxMorphing</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</CODE>
<BR>
Constructs a new morphing instance for the given graph.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.html#mxMorphing(com.mxgraph.swing.mxGraphComponent, int, double, int)">mxMorphing</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
int steps,
double ease,
int delay)</CODE>
<BR>
Constructs a new morphing instance for the given graph.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.html#animateCell(java.lang.Object, com.mxgraph.swing.view.mxCellStatePreview, boolean)">animateCell</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,
<AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A> move,
boolean recurse)</CODE>
<BR>
Animates the given cell state using moveState.</TD>
<CODE>protected <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.html#getDelta(com.mxgraph.view.mxCellState)">getDelta</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<BR>
Returns the vector between the current rendered state and the future
location of the state after the display will be updated.</TD>
<CODE>protected <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.html#getOriginForCell(java.lang.Object)">getOriginForCell</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>
<BR>
Returns the top, left corner of the given cell.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.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/util/mxMorphing.html#setCells(java.lang.Object[])">setCells</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>[] value)</CODE>
<BR>
Optional array of cells to be animated.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.html#show(com.mxgraph.swing.view.mxCellStatePreview)">show</A></B>(<AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A> preview)</CODE>
<BR>
Shows the changes in the given mxCellStatePreview.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/util/mxMorphing.html#stopRecursion(com.mxgraph.view.mxCellState, com.mxgraph.util.mxPoint)">stopRecursion</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> delta)</CODE>
<BR>
Returns true if the animation should not recursively find more
deltas for children if the given parent state has been animated.</TD>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.swing.util.<AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html"title="class in com.mxgraph.swing.util">mxAnimation</A></B></TH>
<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>
<DD>Reference to the enclosing graph instance.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="steps"><!----></A><H3>
steps</H3>
<PRE>
protected int <B>steps</B></PRE>
<DL>
<DD>Specifies the maximum number of steps for the morphing. Default is
6.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="step"><!----></A><H3>
step</H3>
<PRE>
protected int <B>step</B></PRE>
<DL>
<DD>Counts the current number of steps of the animation.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="ease"><!----></A><H3>
ease</H3>
<PRE>
protected double <B>ease</B></PRE>
<DL>
<DD>Ease-off for movement towards the given vector. Larger values are
slower and smoother. Default is 1.5.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="origins"><!----></A><H3>
origins</H3>
<PRE>
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="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>,<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A>><B>origins</B></PRE>
<DL>
<DD>Maps from cells to origins.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="cells"><!----></A><H3>
cells</H3>
<PRE>
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>[] <B>cells</B></PRE>
<DL>
<DD>Optional array of cells to limit the animation to.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="dirty"><!----></A><H3>
dirty</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/util/mxRectangle.html"title="class in com.mxgraph.util">mxRectangle</A><B>dirty</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>mxMorphing</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</PRE>
<DL>
<DD>Constructs a new morphing instance for the given graph.
public <B>mxMorphing</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
int steps,
double ease,
int delay)</PRE>
<DL>
<DD>Constructs a new morphing instance for the given graph.
public void <B>setCells</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>[] value)</PRE>
<DL>
<DD>Optional array of cells to be animated. If this is not specified
then all cells are checked and animated if they have been moved
in the current transaction.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="updateAnimation()"><!----></A><H3>
updateAnimation</H3>
<PRE>
public void <B>updateAnimation</B>()</PRE>
<DL>
<DD>Animation step.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html#updateAnimation()">updateAnimation</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html"title="class in com.mxgraph.swing.util">mxAnimation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="stopAnimation()"><!----></A><H3>
stopAnimation</H3>
<PRE>
public void <B>stopAnimation</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html#stopAnimation()">mxAnimation</A></CODE></B></DD>
<DD>Stops the animation by deleting the timer and fires mxEvent.DONE.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html#stopAnimation()">stopAnimation</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/swing/util/mxAnimation.html"title="class in com.mxgraph.swing.util">mxAnimation</A></CODE></DL>
protected void <B>show</B>(<AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A> preview)</PRE>
<DL>
<DD>Shows the changes in the given mxCellStatePreview.
protected void <B>animateCell</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,
<AHREF="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view">mxCellStatePreview</A> move,
boolean recurse)</PRE>
<DL>
<DD>Animates the given cell state using moveState.
protected boolean <B>stopRecursion</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A> delta)</PRE>
<DL>
<DD>Returns true if the animation should not recursively find more
deltas for children if the given parent state has been animated.
protected <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>getDelta</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
<DL>
<DD>Returns the vector between the current rendered state and the future
location of the state after the display will be updated.
protected <AHREF="../../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</A><B>getOriginForCell</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>
<DL>
<DD>Returns the top, left corner of the given cell.
<P>
<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>