|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.animation.AnimationEvent
public final class AnimationEvent
An immutable object that describes events appropriate for animations with the source animation, the type (started, stopped), and the time the event has happened.
AnimationListener
Nested Class Summary | |
---|---|
static class |
AnimationEvent.Type
Enumerates the animation event types: started and stopped. |
Method Summary | |
---|---|
Animation |
getSource()
Returns the animation the has originated this event. |
long |
time()
Returns the time when this event has happened in the time interval of this event's source animation. |
String |
toString()
Returns an appropriate string representation. |
AnimationEvent.Type |
type()
Returns the event type: started or stopped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Animation getSource()
public AnimationEvent.Type type()
public long time()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |