org.overlord.sramp.ui.client.animation
Class AbstractAnimation
java.lang.Object
com.google.gwt.animation.client.Animation
org.overlord.sramp.ui.client.animation.AbstractAnimation
- Direct Known Subclasses:
- FadeOutAnimation, MoveAnimation
public abstract class AbstractAnimation
- extends com.google.gwt.animation.client.Animation
Base class for animations.
- Author:
- eric.wittmann@redhat.com
|
Constructor Summary |
AbstractAnimation(com.google.gwt.user.client.ui.Widget targetWidget)
Constructor. |
| Methods inherited from class com.google.gwt.animation.client.Animation |
cancel, interpolate, onUpdate, run, run, run, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnimation
public AbstractAnimation(com.google.gwt.user.client.ui.Widget targetWidget)
- Constructor.
- Parameters:
targetWidget -
isCancelled
public boolean isCancelled()
- Returns:
- the cancelled
setCancelled
public void setCancelled(boolean cancelled)
- Parameters:
cancelled - the cancelled to set
onStart
protected final void onStart()
- Overrides:
onStart in class com.google.gwt.animation.client.Animation
- See Also:
Animation.onStart()
onCancel
protected final void onCancel()
- Overrides:
onCancel in class com.google.gwt.animation.client.Animation
- See Also:
Animation.onCancel()
doOnCancel
protected void doOnCancel()
- Called when the animation is cancelled.
onComplete
protected final void onComplete()
- Overrides:
onComplete in class com.google.gwt.animation.client.Animation
- See Also:
Animation.onComplete()
doOnComplete
protected void doOnComplete()
- Called when the animation completes. This method is *not* called when the
animation is cancelled.
isRunning
public boolean isRunning()
- Returns:
- the running
setRunning
public void setRunning(boolean running)
- Parameters:
running - the running to set
getTargetWidget
public com.google.gwt.user.client.ui.Widget getTargetWidget()
- Returns:
- the targetWidget
setTargetWidget
public void setTargetWidget(com.google.gwt.user.client.ui.Widget targetWidget)
- Parameters:
targetWidget - the targetWidget to set
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.