Class TimingTriggerEvent
java.lang.Object
org.jdesktop.animation.timing.triggers.TriggerEvent
org.jdesktop.animation.timing.triggers.TimingTriggerEvent
Timing events; TimingTriggers can be set to fire when an animator
starts, stops, or repeats.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimingTriggerEvent
Event fired when Animator finishes one cycle and starts anotherstatic final TimingTriggerEvent
Event fired when Animator startsstatic final TimingTriggerEvent
Event fired when Animator stops -
Method Summary
Modifier and TypeMethodDescriptionThis method finds the opposite of the current event.: START -> STOP and STOP -> START.
-
Field Details
-
START
Event fired when Animator starts -
STOP
Event fired when Animator stops -
REPEAT
Event fired when Animator finishes one cycle and starts another
-
-
Method Details
-
getOppositeEvent
This method finds the opposite of the current event.: START -> STOP and STOP -> START. Note that REPEAT has no obvious opposite so it simply returns REPEAT (this method should probably not be called for that case).- Overrides:
getOppositeEvent
in classTriggerEvent
-