2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
< HTML >
< HEAD >
2014-03-14 13:24:50 +00:00
<!-- Generated by javadoc (build 1.6.0_43) on Fri Mar 14 13:14:28 GMT 2014 -->
2012-05-21 20:32:26 +00:00
< TITLE >
2014-03-14 13:24:50 +00:00
mxAnimation (mxGraph 2.5.0.3 API Specification)
2012-05-21 20:32:26 +00:00
< / TITLE >
2014-03-14 13:24:50 +00:00
< META NAME = "date" CONTENT = "2014-03-14" >
2012-05-21 20:32:26 +00:00
< LINK REL = "stylesheet" TYPE = "text/css" HREF = "../../../../stylesheet.css" TITLE = "Style" >
< SCRIPT type = "text/javascript" >
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
2014-03-14 13:24:50 +00:00
parent.document.title="mxAnimation (mxGraph 2.5.0.3 API Specification)";
2012-05-21 20:32:26 +00:00
}
}
< / SCRIPT >
< NOSCRIPT >
< / NOSCRIPT >
< / HEAD >
< BODY BGCOLOR = "white" onload = "windowTitle();" >
< HR >
<!-- ========= START OF TOP NAVBAR ======= -->
< A NAME = "navbar_top" > <!-- --> < / A >
< A HREF = "#skip-navbar_top" title = "Skip navigation links" > < / A >
< TABLE BORDER = "0" WIDTH = "100%" CELLPADDING = "1" CELLSPACING = "0" SUMMARY = "" >
< TR >
< TD COLSPAN = 2 BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" >
< A NAME = "navbar_top_firstrow" > <!-- --> < / A >
< TABLE BORDER = "0" CELLPADDING = "0" CELLSPACING = "3" SUMMARY = "" >
< TR ALIGN = "center" VALIGN = "top" >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../overview-summary.html" > < FONT CLASS = "NavBarFont1" > < B > Overview< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "package-summary.html" > < FONT CLASS = "NavBarFont1" > < B > Package< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#FFFFFF" CLASS = "NavBarCell1Rev" > < FONT CLASS = "NavBarFont1Rev" > < B > Class< / B > < / FONT > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "class-use/mxAnimation.html" > < FONT CLASS = "NavBarFont1" > < B > Use< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "package-tree.html" > < FONT CLASS = "NavBarFont1" > < B > Tree< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../deprecated-list.html" > < FONT CLASS = "NavBarFont1" > < B > Deprecated< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../index-all.html" > < FONT CLASS = "NavBarFont1" > < B > Index< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../help-doc.html" > < FONT CLASS = "NavBarFont1" > < B > Help< / B > < / FONT > < / A > < / TD >
< / TR >
< / TABLE >
< / TD >
< TD ALIGN = "right" VALIGN = "top" ROWSPAN = 3 > < EM >
2014-03-14 13:24:50 +00:00
< p > < b > mxGraph 2.5.0.3< / b > < / p > < / EM >
2012-05-21 20:32:26 +00:00
< / TD >
< / TR >
< TR >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
PREV CLASS
< A HREF = "../../../../com/mxgraph/swing/util/mxCellOverlay.html" title = "class in com.mxgraph.swing.util" > < B > NEXT CLASS< / B > < / A > < / FONT > < / TD >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
< A HREF = "../../../../index.html?com/mxgraph/swing/util/mxAnimation.html" target = "_top" > < B > FRAMES< / B > < / A >
< A HREF = "mxAnimation.html" target = "_top" > < B > NO FRAMES< / B > < / A >
< SCRIPT type = "text/javascript" >
<!--
if(window==top) {
document.writeln('< A HREF = "../../../../allclasses-noframe.html" > < B > All Classes< / B > < / A > ');
}
//-->
< / SCRIPT >
< NOSCRIPT >
< A HREF = "../../../../allclasses-noframe.html" > < B > All Classes< / B > < / A >
< / NOSCRIPT >
< / FONT > < / TD >
< / TR >
< TR >
< TD VALIGN = "top" CLASS = "NavBarCell3" > < FONT SIZE = "-2" >
SUMMARY: < A HREF = "#nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource" > NESTED< / A > | < A HREF = "#field_summary" > FIELD< / A > | < A HREF = "#constructor_summary" > CONSTR< / A > | < A HREF = "#method_summary" > METHOD< / A > < / FONT > < / TD >
< TD VALIGN = "top" CLASS = "NavBarCell3" > < FONT SIZE = "-2" >
DETAIL: < A HREF = "#field_detail" > FIELD< / A > | < A HREF = "#constructor_detail" > CONSTR< / A > | < A HREF = "#method_detail" > METHOD< / A > < / FONT > < / TD >
< / TR >
< / TABLE >
< A NAME = "skip-navbar_top" > < / A >
<!-- ========= END OF TOP NAVBAR ========= -->
< HR >
<!-- ======== START OF CLASS DATA ======== -->
< H2 >
< FONT SIZE = "-1" >
com.mxgraph.swing.util< / FONT >
< BR >
Class mxAnimation< / H2 >
< PRE >
< A HREF = "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 >
< IMG SRC = "../../../../resources/inherit.gif" ALT = "extended by " > < A HREF = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > com.mxgraph.util.mxEventSource< / A >
< IMG SRC = "../../../../resources/inherit.gif" ALT = "extended by " > < B > com.mxgraph.swing.util.mxAnimation< / B >
< / PRE >
< DL >
< DT > < B > Direct Known Subclasses:< / B > < DD > < A HREF = "../../../../com/mxgraph/swing/util/mxMorphing.html" title = "class in com.mxgraph.swing.util" > mxMorphing< / A > < / DD >
< / DL >
< HR >
< DL >
< DT > < PRE > public class < B > mxAnimation< / B > < DT > extends < A HREF = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / A > < / DL >
< / PRE >
< P >
Baseclass for all timer-based animations. Fires mxEvent.DONE when the
stopAnimation method is called. Implement updateAnimation for the
actual animation or listen to mxEvent.EXECUTE.
< P >
< P >
< HR >
< P >
<!-- ======== NESTED CLASS SUMMARY ======== -->
< A NAME = "nested_class_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Nested Class Summary< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Nested classes/interfaces inherited from class com.mxgraph.util.< A HREF = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / A > < / B > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title = "interface in com.mxgraph.util" > mxEventSource.mxIEventListener< / A > < / CODE > < / TD >
< / TR >
< / TABLE >
<!-- =========== FIELD SUMMARY =========== -->
< A NAME = "field_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Field Summary< / B > < / FONT > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > static int< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#DEFAULT_DELAY" > DEFAULT_DELAY< / A > < / B > < / CODE >
< BR >
Specifies the default delay for animations in ms.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > protected int< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#delay" > delay< / A > < / B > < / CODE >
< BR >
Default is DEFAULT_DELAY.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > protected < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/Timer.html?is-external=true" title = "class or interface in javax.swing" > Timer< / A > < / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#timer" > timer< / A > < / B > < / CODE >
< BR >
Time instance that is used for timing the animation.< / TD >
< / TR >
< / TABLE >
< A NAME = "fields_inherited_from_class_com.mxgraph.util.mxEventSource" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Fields inherited from class com.mxgraph.util.< A HREF = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / A > < / B > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#eventListeners" > eventListeners< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#eventsEnabled" > eventsEnabled< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#eventSource" > eventSource< / A > < / CODE > < / TD >
< / TR >
< / TABLE >
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
< A NAME = "constructor_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Constructor Summary< / B > < / FONT > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#mxAnimation()" > mxAnimation< / A > < / B > ()< / CODE >
< BR >
Constructs a new animation instance with the given repaint delay.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#mxAnimation(int)" > mxAnimation< / A > < / B > (int delay)< / CODE >
< BR >
Constructs a new animation instance with the given repaint delay.< / TD >
< / TR >
< / TABLE >
<!-- ========== METHOD SUMMARY =========== -->
< A NAME = "method_summary" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "2" > < FONT SIZE = "+2" >
< B > Method Summary< / B > < / FONT > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > int< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#getDelay()" > getDelay< / A > < / B > ()< / CODE >
< BR >
Returns the delay for the animation.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
2014-02-19 14:19:38 +00:00
< CODE > boolean< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#isRunning()" > isRunning< / A > < / B > ()< / CODE >
< BR >
Returns true if the animation is running.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
2012-05-21 20:32:26 +00:00
< CODE > void< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#setDelay(int)" > setDelay< / A > < / B > (int value)< / CODE >
< BR >
Sets the delay for the animation.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > void< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#startAnimation()" > startAnimation< / A > < / B > ()< / CODE >
< BR >
Starts the animation by repeatedly invoking updateAnimation.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > void< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#stopAnimation()" > stopAnimation< / A > < / B > ()< / CODE >
< BR >
Stops the animation by deleting the timer and fires mxEvent.DONE.< / TD >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD ALIGN = "right" VALIGN = "top" WIDTH = "1%" > < FONT SIZE = "-1" >
< CODE > void< / CODE > < / FONT > < / TD >
< TD > < CODE > < B > < A HREF = "../../../../com/mxgraph/swing/util/mxAnimation.html#updateAnimation()" > updateAnimation< / A > < / B > ()< / CODE >
< BR >
Hook for subclassers to implement the animation.< / TD >
< / TR >
< / TABLE >
< A NAME = "methods_inherited_from_class_com.mxgraph.util.mxEventSource" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Methods inherited from class com.mxgraph.util.< A HREF = "../../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / A > < / B > < / TH >
< / TR >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#addListener(java.lang.String, com.mxgraph.util.mxEventSource.mxIEventListener)" > addListener< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject)" > fireEvent< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject, java.lang.Object)" > fireEvent< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#getEventSource()" > getEventSource< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#isEventsEnabled()" > isEventsEnabled< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)" > removeListener< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener, java.lang.String)" > removeListener< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#setEventsEnabled(boolean)" > setEventsEnabled< / A > , < A HREF = "../../../../com/mxgraph/util/mxEventSource.html#setEventSource(java.lang.Object)" > setEventSource< / A > < / CODE > < / TD >
< / TR >
< / TABLE >
< A NAME = "methods_inherited_from_class_java.lang.Object" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#EEEEFF" CLASS = "TableSubHeadingColor" >
< TH ALIGN = "left" > < B > Methods inherited from class java.lang.< A HREF = "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 >
< TR BGCOLOR = "white" CLASS = "TableRowColor" >
< TD > < CODE > < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 > , < A HREF = "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 >
< / TR >
< / TABLE >
< P >
<!-- ============ FIELD DETAIL =========== -->
< A NAME = "field_detail" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "1" > < FONT SIZE = "+2" >
< B > Field Detail< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "DEFAULT_DELAY" > <!-- --> < / A > < H3 >
DEFAULT_DELAY< / H3 >
< PRE >
public static int < B > DEFAULT_DELAY< / B > < / PRE >
< DL >
< DD > Specifies the default delay for animations in ms. Default is 20.
< P >
< DL >
< / DL >
< / DL >
< HR >
< A NAME = "delay" > <!-- --> < / A > < H3 >
delay< / H3 >
< PRE >
protected int < B > delay< / B > < / PRE >
< DL >
< DD > Default is DEFAULT_DELAY.
< P >
< DL >
< / DL >
< / DL >
< HR >
< A NAME = "timer" > <!-- --> < / A > < H3 >
timer< / H3 >
< PRE >
protected < A HREF = "http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/Timer.html?is-external=true" title = "class or interface in javax.swing" > Timer< / A > < B > timer< / B > < / PRE >
< DL >
< DD > Time instance that is used for timing the animation.
< P >
< DL >
< / DL >
< / DL >
<!-- ========= CONSTRUCTOR DETAIL ======== -->
< A NAME = "constructor_detail" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "1" > < FONT SIZE = "+2" >
< B > Constructor Detail< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "mxAnimation()" > <!-- --> < / A > < H3 >
mxAnimation< / H3 >
< PRE >
public < B > mxAnimation< / B > ()< / PRE >
< DL >
< DD > Constructs a new animation instance with the given repaint delay.
< P >
< / DL >
< HR >
< A NAME = "mxAnimation(int)" > <!-- --> < / A > < H3 >
mxAnimation< / H3 >
< PRE >
public < B > mxAnimation< / B > (int delay)< / PRE >
< DL >
< DD > Constructs a new animation instance with the given repaint delay.
< P >
< / DL >
<!-- ============ METHOD DETAIL ========== -->
< A NAME = "method_detail" > <!-- --> < / A >
< TABLE BORDER = "1" WIDTH = "100%" CELLPADDING = "3" CELLSPACING = "0" SUMMARY = "" >
< TR BGCOLOR = "#CCCCFF" CLASS = "TableHeadingColor" >
< TH ALIGN = "left" COLSPAN = "1" > < FONT SIZE = "+2" >
< B > Method Detail< / B > < / FONT > < / TH >
< / TR >
< / TABLE >
< A NAME = "getDelay()" > <!-- --> < / A > < H3 >
getDelay< / H3 >
< PRE >
public int < B > getDelay< / B > ()< / PRE >
< DL >
< DD > Returns the delay for the animation.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "setDelay(int)" > <!-- --> < / A > < H3 >
setDelay< / H3 >
< PRE >
public void < B > setDelay< / B > (int value)< / PRE >
< DL >
< DD > Sets the delay for the animation.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
< HR >
2014-02-19 14:19:38 +00:00
< A NAME = "isRunning()" > <!-- --> < / A > < H3 >
isRunning< / H3 >
< PRE >
public boolean < B > isRunning< / B > ()< / PRE >
< DL >
< DD > Returns true if the animation is running.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
< HR >
2012-05-21 20:32:26 +00:00
< A NAME = "startAnimation()" > <!-- --> < / A > < H3 >
startAnimation< / H3 >
< PRE >
public void < B > startAnimation< / B > ()< / PRE >
< DL >
< DD > Starts the animation by repeatedly invoking updateAnimation.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "updateAnimation()" > <!-- --> < / A > < H3 >
updateAnimation< / H3 >
< PRE >
public void < B > updateAnimation< / B > ()< / PRE >
< DL >
< DD > Hook for subclassers to implement the animation. Invoke stopAnimation
when finished, startAnimation to resume. This is called whenever the
timer fires and fires an mxEvent.EXECUTE event with no properties.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
< HR >
< A NAME = "stopAnimation()" > <!-- --> < / A > < H3 >
stopAnimation< / H3 >
< PRE >
public void < B > stopAnimation< / B > ()< / PRE >
< DL >
< DD > Stops the animation by deleting the timer and fires mxEvent.DONE.
< P >
< DD > < DL >
< / DL >
< / DD >
< / DL >
<!-- ========= END OF CLASS DATA ========= -->
< HR >
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< A NAME = "navbar_bottom" > <!-- --> < / A >
< A HREF = "#skip-navbar_bottom" title = "Skip navigation links" > < / A >
< TABLE BORDER = "0" WIDTH = "100%" CELLPADDING = "1" CELLSPACING = "0" SUMMARY = "" >
< TR >
< TD COLSPAN = 2 BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" >
< A NAME = "navbar_bottom_firstrow" > <!-- --> < / A >
< TABLE BORDER = "0" CELLPADDING = "0" CELLSPACING = "3" SUMMARY = "" >
< TR ALIGN = "center" VALIGN = "top" >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../overview-summary.html" > < FONT CLASS = "NavBarFont1" > < B > Overview< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "package-summary.html" > < FONT CLASS = "NavBarFont1" > < B > Package< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#FFFFFF" CLASS = "NavBarCell1Rev" > < FONT CLASS = "NavBarFont1Rev" > < B > Class< / B > < / FONT > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "class-use/mxAnimation.html" > < FONT CLASS = "NavBarFont1" > < B > Use< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "package-tree.html" > < FONT CLASS = "NavBarFont1" > < B > Tree< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../deprecated-list.html" > < FONT CLASS = "NavBarFont1" > < B > Deprecated< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../index-all.html" > < FONT CLASS = "NavBarFont1" > < B > Index< / B > < / FONT > < / A > < / TD >
< TD BGCOLOR = "#EEEEFF" CLASS = "NavBarCell1" > < A HREF = "../../../../help-doc.html" > < FONT CLASS = "NavBarFont1" > < B > Help< / B > < / FONT > < / A > < / TD >
< / TR >
< / TABLE >
< / TD >
< TD ALIGN = "right" VALIGN = "top" ROWSPAN = 3 > < EM >
2014-03-14 13:24:50 +00:00
< p > < b > mxGraph 2.5.0.3< / b > < / p > < / EM >
2012-05-21 20:32:26 +00:00
< / TD >
< / TR >
< TR >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
PREV CLASS
< A HREF = "../../../../com/mxgraph/swing/util/mxCellOverlay.html" title = "class in com.mxgraph.swing.util" > < B > NEXT CLASS< / B > < / A > < / FONT > < / TD >
< TD BGCOLOR = "white" CLASS = "NavBarCell2" > < FONT SIZE = "-2" >
< A HREF = "../../../../index.html?com/mxgraph/swing/util/mxAnimation.html" target = "_top" > < B > FRAMES< / B > < / A >
< A HREF = "mxAnimation.html" target = "_top" > < B > NO FRAMES< / B > < / A >
< SCRIPT type = "text/javascript" >
<!--
if(window==top) {
document.writeln('< A HREF = "../../../../allclasses-noframe.html" > < B > All Classes< / B > < / A > ');
}
//-->
< / SCRIPT >
< NOSCRIPT >
< A HREF = "../../../../allclasses-noframe.html" > < B > All Classes< / B > < / A >
< / NOSCRIPT >
< / FONT > < / TD >
< / TR >
< TR >
< TD VALIGN = "top" CLASS = "NavBarCell3" > < FONT SIZE = "-2" >
SUMMARY: < A HREF = "#nested_classes_inherited_from_class_com.mxgraph.util.mxEventSource" > NESTED< / A > | < A HREF = "#field_summary" > FIELD< / A > | < A HREF = "#constructor_summary" > CONSTR< / A > | < A HREF = "#method_summary" > METHOD< / A > < / FONT > < / TD >
< TD VALIGN = "top" CLASS = "NavBarCell3" > < FONT SIZE = "-2" >
DETAIL: < A HREF = "#field_detail" > FIELD< / A > | < A HREF = "#constructor_detail" > CONSTR< / A > | < A HREF = "#method_detail" > METHOD< / A > < / FONT > < / TD >
< / TR >
< / TABLE >
< A NAME = "skip-navbar_bottom" > < / A >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
< HR >
< font size = 1 > Copyright (c) 2010 < a href = "http://www.mxgraph.com/"
target="_blank">Gaudenz Alder, David Benson< / a > . All rights reserved.< / font >
< / BODY >
< / HTML >