Package org.jdesktop.animation.timing.triggers
package org.jdesktop.animation.timing.triggers
Provides simple mechanism for starting Animators
when specific events occur.
This package provides classes for both using and subclassing that simplify the process of associating animations with events. Trigger and its subclasses associate specific events (subclasses of TriggerEvent) with listeners (as defined in Trigger subclasses). These listeners are then added (by the application) to appropriate objects. The animations are started when a Trigger detects that a specified event has occurred (through its listener).
-
ClassesClassDescriptionActionTrigger handles action events and starts the animator when actions occur.FocusTrigger handles focus events and triggers an animation based on those events.Focus In/Out eventsMouseTrigger handles mouse events and triggers an animation based on those events.Mouse Enter/Exit/Press/Release/Click eventsTimingTrigger handles timing events and starts the animator when those events occur.Timing events; TimingTriggers can be set to fire when an animator starts, stops, or repeats.This abstract class should be overridden by any class wanting to implement a new Trigger.Superclass for all TriggerEvents used in the Trigger classes.