|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jflux.api.core.util.DefaultNotifier<AnimationSignal>
org.mechio.api.animation.messaging.RemoteAnimationPlayerClient
public class RemoteAnimationPlayerClient
| Field Summary |
|---|
| Fields inherited from class org.jflux.api.core.util.DefaultNotifier |
|---|
myListeners |
| Fields inherited from interface org.mechio.api.animation.player.AnimationPlayer |
|---|
PROP_PLAYER_ID |
| Constructor Summary | |
|---|---|
RemoteAnimationPlayerClient(org.osgi.framework.BundleContext context,
String animPlayerClientId,
String animPlayerHostId)
|
|
| Method Summary | |
|---|---|
void |
addAnimationSignalListener(org.jflux.api.core.Listener<AnimationSignal> listener)
Adds a Listener for AnimationSignal events. |
void |
clearAnimations()
|
String |
getAnimationPlayerId()
|
List<AnimationJob> |
getCurrentAnimations()
Returns a List of all uncleared AnimationJobs which have been played by the AnimationPlayer. |
void |
handleEvent(AnimationSignal t)
|
AnimationJob |
loopAnimation(Animation animation)
|
AnimationJob |
loopAnimation(Animation animation,
boolean register)
|
AnimationJob |
playAnimation(Animation animation)
Creates an AnimationJob which plays the given Animation. |
AnimationJob |
playAnimation(Animation animation,
boolean register)
|
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. |
void |
removeAnimationSignalListener(org.jflux.api.core.Listener<AnimationSignal> listener)
Removes a Listener for AnimationSignal events. |
void |
setAnimationEventFactory(AnimationEvent.AnimationEventFactory factory)
|
void |
setAnimationEventSender(org.jflux.api.messaging.rk.MessageSender<AnimationEvent> sender)
|
void |
setAnimationSignalReceiver(org.jflux.api.messaging.rk.MessageAsyncReceiver<AnimationSignal> receiver)
|
void |
stopAllAnimations()
|
void |
stopAnimation(Animation animation)
|
| Methods inherited from class org.jflux.api.core.util.DefaultNotifier |
|---|
addListener, notifyListeners, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteAnimationPlayerClient(org.osgi.framework.BundleContext context,
String animPlayerClientId,
String animPlayerHostId)
| Method Detail |
|---|
public String getAnimationPlayerId()
getAnimationPlayerId in interface AnimationPlayerpublic void setAnimationEventFactory(AnimationEvent.AnimationEventFactory factory)
public void setAnimationEventSender(org.jflux.api.messaging.rk.MessageSender<AnimationEvent> sender)
public void setAnimationSignalReceiver(org.jflux.api.messaging.rk.MessageAsyncReceiver<AnimationSignal> receiver)
public AnimationJob playAnimation(Animation animation,
boolean register)
public AnimationJob playAnimation(Animation animation)
AnimationPlayer
playAnimation in interface AnimationPlayeranimation - Animation to play
public AnimationJob loopAnimation(Animation animation,
boolean register)
public AnimationJob loopAnimation(Animation animation)
public void stopAnimation(Animation animation)
public void clearAnimations()
public AnimationJob playAnimation(Animation animation,
Long start,
Long stop)
AnimationPlayer
playAnimation in interface AnimationPlayeranimation - Animation to playstart - animation start timestop - animation stop time
public List<AnimationJob> getCurrentAnimations()
AnimationPlayer
getCurrentAnimations in interface AnimationPlayerpublic void removeAnimationJob(AnimationJob job)
AnimationPlayer
removeAnimationJob in interface AnimationPlayerjob - AnimationJob to removepublic void addAnimationSignalListener(org.jflux.api.core.Listener<AnimationSignal> listener)
AnimationPlayer
addAnimationSignalListener in interface AnimationPlayerlistener - Listener for AnimationSignal eventspublic void removeAnimationSignalListener(org.jflux.api.core.Listener<AnimationSignal> listener)
AnimationPlayer
removeAnimationSignalListener in interface AnimationPlayerlistener - Listener for AnimationSignal eventspublic void handleEvent(AnimationSignal t)
handleEvent in interface org.jflux.api.core.Listener<AnimationSignal>public void stopAllAnimations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||