|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TriggerEvent | |
---|---|
org.jdesktop.animation.timing.triggers | Provides simple mechanism for starting Animators when specific events occur. |
Uses of TriggerEvent in org.jdesktop.animation.timing.triggers |
---|
Subclasses of TriggerEvent in org.jdesktop.animation.timing.triggers | |
---|---|
class |
FocusTriggerEvent
Focus In/Out events |
class |
MouseTriggerEvent
Mouse Enter/Exit/Press/Release/Click events |
class |
TimingTriggerEvent
Timing events; TimingTriggers can be set to fire when an animator starts, stops, or repeats. |
Methods in org.jdesktop.animation.timing.triggers that return TriggerEvent | |
---|---|
TriggerEvent |
TriggerEvent.getOppositeEvent()
This method returns the 'opposite' event from itself. |
TriggerEvent |
TimingTriggerEvent.getOppositeEvent()
This method finds the opposite of the current event.: START -> STOP and STOP -> START. |
TriggerEvent |
MouseTriggerEvent.getOppositeEvent()
This method finds the opposite of the current event.: ENTER -> EXIT EXIT -> ENTER PRESS -> RELEASE RELEASE -> PRESS Note that CLICK has no obvious opposite so it simply returns CLICK (this method should probably not be called for that case). |
TriggerEvent |
FocusTriggerEvent.getOppositeEvent()
This method finds the opposite of the current event.: IN -> OUT and OUT -> IN. |
Methods in org.jdesktop.animation.timing.triggers with parameters of type TriggerEvent | |
---|---|
protected void |
Trigger.fire(TriggerEvent currentEvent)
Called by subclasses to start the animator if currentEvent equals the event that the Trigger is based upon. |
Constructors in org.jdesktop.animation.timing.triggers with parameters of type TriggerEvent | |
---|---|
Trigger(Animator animator,
TriggerEvent triggerEvent)
Creates a Trigger that will start the animator when Trigger.fire(TriggerEvent) is called with an event that equals
triggerEvent. |
|
Trigger(Animator animator,
TriggerEvent triggerEvent,
boolean autoReverse)
Creates a Trigger that will start the animator when Trigger.fire(TriggerEvent) is called with an event that equals
triggerEvent. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |