Search this API

y.anim
Class AnimationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by y.anim.AnimationEvent
All Implemented Interfaces:
java.io.Serializable

public class AnimationEvent
extends java.util.EventObject

An event that is is used for the communication between an animation object or player and an animation listener.

See Also:
Serialized Form
 

Field Summary
static int BEGIN
          Event hint specifier.
static int END
          Event hint specifier.
static int SHOW
          Event hint specifier.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AnimationEvent(java.lang.Object src, int hint)
          Create a new instance of AnimationEvent with a given hint specifier.
 
Method Summary
 int getHint()
          Returns the event hint.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SHOW

public static final int SHOW
Event hint specifier. Informs the AnimationListener that the animation scene has changed and a redisplay is desired.

See Also:
Constant Field Values

BEGIN

public static final int BEGIN
Event hint specifier. Informs the AnimationListener that an animation sequence is about to start.

See Also:
Constant Field Values

END

public static final int END
Event hint specifier. Informs the AnimationListener that an animation sequence is about to end.

See Also:
Constant Field Values
Constructor Detail

AnimationEvent

public AnimationEvent(java.lang.Object src,
                      int hint)
Create a new instance of AnimationEvent with a given hint specifier.

Method Detail

getHint

public int getHint()
Returns the event hint.


© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.