y.anim
Class AnimationEvent

java.lang.Object
  |
  +--y.anim.AnimationEvent

public class AnimationEvent
extends Object

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


Field Summary
static int BEGIN
          Event hint specifier.
static int END
          Event hint specifier.
static int OPTIMIZE_OFF
          Event hint specifier.
static int OPTIMIZE_ON
          Event hint specifier.
static int SHOW
          Event hint specifier.
 
Constructor Summary
AnimationEvent(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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

OPTIMIZE_ON

public static final int OPTIMIZE_ON
Event hint specifier. Informs the AnimationListener to turn on optimisation, What this menans is AnimationListener specific.

See Also:
Constant Field Values

OPTIMIZE_OFF

public static final int OPTIMIZE_OFF
Event hint specifier. Informs the AnimationListener to turn off optimisation, What this menans is AnimationListener specific.

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(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-2003,
yWorks GmbH.
All rights reserved.

2003