Implements a basic animation in JavaScript.
mxAnimation | Implements a basic animation in JavaScript. |
Functions | |
mxAnimation | Constructs an animation. |
Variables | |
delay | Specifies the delay between the animation steps. |
thread | Reference to the thread while the animation is running. |
Functions | |
startAnimation | Starts the animation by repeatedly invoking updateAnimation. |
updateAnimation | Hook for subclassers to implement the animation. |
stopAnimation | Stops the animation by deleting the timer and fires an mxEvent.DONE. |
function mxAnimation( delay )
Constructs an animation.
graph | Reference to the enclosing mxGraph. |
mxAnimation.prototype.stopAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
Constructs an animation.
function mxAnimation( delay )
Specifies the delay between the animation steps.
mxAnimation.prototype.delay
Reference to the thread while the animation is running.
mxAnimation.prototype.thread
Starts the animation by repeatedly invoking updateAnimation.
mxAnimation.prototype.startAnimation = function()
Hook for subclassers to implement the animation.
mxAnimation.prototype.updateAnimation = function()
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxAnimation.prototype.stopAnimation = function()