/** * Stops the animation by deleting the timer and fires mxEvent.DONE. */ public void stopAnimation() { if (timer != null) { timer.stop(); timer = null; fireEvent(new mxEventObject(mxEvent.DONE)); } }
/** * Stops the animation by deleting the timer and fires mxEvent.DONE. */ public void stopAnimation() { if (timer != null) { timer.stop(); timer = null; fireEvent(new mxEventObject(mxEvent.DONE)); } }
/** * 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. */ public void updateAnimation() { fireEvent(new mxEventObject(mxEvent.EXECUTE)); }
/** * 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. */ public void updateAnimation() { fireEvent(new mxEventObject(mxEvent.EXECUTE)); }