|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnimationPlayer
An AnimationPlayer plays an Animation by creating an AnimationJob which defines how the Animation advances.
| Field Summary | |
|---|---|
static String |
PROP_PLAYER_ID
|
| Method Summary | |
|---|---|
String |
getAnimationPlayerId()
|
List<AnimationJob> |
getCurrentAnimations()
Returns a List of all uncleared AnimationJobs which have been played by the AnimationPlayer. |
AnimationJob |
playAnimation(Animation animation)
Creates an AnimationJob which plays the given Animation. |
AnimationJob |
playAnimation(Animation animation,
Long start,
Long stop)
Creates an AnimationJob which plays the given Animation. |
void |
removeAnimationJob(AnimationJob job)
Clears an AnimationJob from the List of AnimationJobs from the AnimationPlayer. |
| Field Detail |
|---|
static final String PROP_PLAYER_ID
| Method Detail |
|---|
String getAnimationPlayerId()
AnimationJob playAnimation(Animation animation)
animation - Animation to play
AnimationJob playAnimation(Animation animation,
Long start,
Long stop)
animation - Animation to playstart - animation start timestop - animation stop time
List<AnimationJob> getCurrentAnimations()
void removeAnimationJob(AnimationJob job)
job - AnimationJob to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||