Package | Description |
---|---|
org.hybird.animation.trident.triggers |
Modifier and Type | Class and Description |
---|---|
class |
FocusTriggerEvent
Focus In/Out events
|
class |
MouseTriggerEvent
Mouse Enter/Exit/Press/Release/Click events
|
Modifier and Type | Method and Description |
---|---|
TriggerEvent |
FocusTriggerEvent.getOppositeEvent()
This method finds the opposite of the current event.: GAINED -> LOST and LOST
-> GAINED.
|
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 |
TriggerEvent.getOppositeEvent()
This method returns the 'opposite' event from itself.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Trigger.fire(TriggerEvent currentEvent)
Called by subclasses to start the timeline if currentEvent equals the
event that the Trigger is based upon.
|
Constructor and Description |
---|
Trigger(org.pushingpixels.trident.Timeline timeline,
TriggerEvent triggerEvent)
Creates a Trigger that will start the timeline when
Trigger.fire(TriggerEvent) is called with an event that equals
triggerEvent. |
Trigger(org.pushingpixels.trident.Timeline timeline,
TriggerEvent triggerEvent,
boolean autoReverse)
Creates a Trigger that will start the timeline when
Trigger.fire(TriggerEvent) is called with an event that equals
triggerEvent. |