|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.miginfocom.ashape.animation.Animator
com.miginfocom.ashape.animation.OverrideAnimator
public class OverrideAnimator
An Animator that uses a TimeLine to map frames to time. Uses the Interactors
override functionality to set the new objects.
| Field Summary | |
|---|---|
static int |
CMD_BACKWARD
A command to play backwards. |
static int |
CMD_FORWARD
A command to play forward. |
static int |
CMD_STOP
A command to stop play. |
| Constructor Summary | |
|---|---|
OverrideAnimator(Animation animation,
TimeLine timeLine,
PropertyKey property,
java.lang.String target)
Constructor. |
|
OverrideAnimator(Animation animation,
TimeLine timeLine,
PropertyKey property,
java.lang.String target,
java.lang.Integer minFps,
java.lang.Integer maxFps)
Constructor. |
|
OverrideAnimator(Animation animation,
TimeLine timeLine,
java.lang.String property,
java.lang.String target)
Deprecated. Provided for backwards compatibility. Don't use it. |
|
OverrideAnimator(Animation animation,
TimeLine timeLine,
java.lang.String property,
java.lang.String target,
java.lang.Integer minFps,
java.lang.Integer maxFps)
Deprecated. Provided for backwards compatibility. Don't use it. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
executeCommand(AnimatorCommand animatorCommand,
Interactor interactor)
Handles a command. |
PropertyKey |
getProperty()
Returns the property. |
java.lang.String |
getTarget()
Returns the target. |
TimeLine |
getTimeLine()
Returns the time line object. |
| Methods inherited from class com.miginfocom.ashape.animation.Animator |
|---|
getAnimation, getMaxDelay, getMaxFps, getMinDelay, getMinFps |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CMD_FORWARD
public static final int CMD_BACKWARD
public static final int CMD_STOP
| Constructor Detail |
|---|
public OverrideAnimator(Animation animation,
TimeLine timeLine,
java.lang.String property,
java.lang.String target)
public OverrideAnimator(Animation animation,
TimeLine timeLine,
PropertyKey property,
java.lang.String target)
animation - The animation that this animator can usetimeLine - The time line to animate the animation over.property - The property to override with the animation objects. E.g. AShape.A_PAINTtarget - The target for the animation objects. E.g. "background", the name of the AShape to animate,
public OverrideAnimator(Animation animation,
TimeLine timeLine,
java.lang.String property,
java.lang.String target,
java.lang.Integer minFps,
java.lang.Integer maxFps)
public OverrideAnimator(Animation animation,
TimeLine timeLine,
PropertyKey property,
java.lang.String target,
java.lang.Integer minFps,
java.lang.Integer maxFps)
animation - The animation that this animator can usetimeLine - The time line to animate the animation over.property - The property to override with the animation objects. E.g. AShape.A_PAINTtarget - The target for the animation objects. E.g. "background", the name of the AShape to animate,minFps - The minimum number of frames per second that will be painted. null means no min.
Note that when the animation is over there will be no more frames no matter what this value is.maxFps - The maximum number of frames per second that will ever be painted. null means no max.| Method Detail |
|---|
public boolean executeCommand(AnimatorCommand animatorCommand,
Interactor interactor)
Animator
executeCommand in class AnimatoranimatorCommand - The command.interactor - The interactor to interact with. Must have a registered AbstractInteractionBroker since it's
that object that carries out the commands.
false if the animator will keep running or are just paused. false mean
that it is safe to remove.public TimeLine getTimeLine()
null.
null.public PropertyKey getProperty()
null.
null.public java.lang.String getTarget()
null.
null.public boolean equals(java.lang.Object o)
equals in class Animator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||