com.jgoodies.animation
Class AnimationEvent
java.lang.Object
com.jgoodies.animation.AnimationEvent
public final class AnimationEvent
extends java.lang.Object
Describes events appropriate for animations: started or stopped.
static com.jgoodies.animation.AnimationEvent.Type | STARTED - The animation event type for an animation that has been started.
|
static com.jgoodies.animation.AnimationEvent.Type | STOPPED - The animation event type for an animation that has been stopped.
|
Animation | getSource() - Returns the animation the has originated this event.
|
long | time() - Returns the time when this event has been created.
|
String | toString() - Returns an appropriate string representation.
|
com.jgoodies.animation.AnimationEvent.Type | type() - Returns the event type: started or stopped.
|
STARTED
public static final com.jgoodies.animation.AnimationEvent.Type STARTED
The animation event type for an animation that has been started.
STOPPED
public static final com.jgoodies.animation.AnimationEvent.Type STOPPED
The animation event type for an animation that has been stopped.
getSource
public Animation getSource()
Returns the animation the has originated this event.
- the animation that has originated this event
time
public long time()
Returns the time when this event has been created.
toString
public String toString()
Returns an appropriate string representation.
- a string representation for this event
type
public com.jgoodies.animation.AnimationEvent.Type type()
Returns the event type: started or stopped.
- the event type: started or stopped
Copyright © 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.