com.vlsolutions.swing.docking.animation

Class AnimationEvent

public class AnimationEvent extends Object

An Event describing the state of an animation

See Also: AnimationListener

Field Summary
static intANIMATION_END
state identifying the end of an animation
static intANIMATION_FRAME
state identifying a change in the animation (the component has changed of bounds)
static intANIMATION_START
state identifying the beginning of an animation
Constructor Summary
AnimationEvent(Component source, int state)
Event Constructor.
Method Summary
ObjectgetSource()
returns the source of animation
intgetState()
returns the state of the animation (ANIMATION_START, ANIMATION_FRAME or ANIMATION_END)

Field Detail

ANIMATION_END

public static final int ANIMATION_END
state identifying the end of an animation

ANIMATION_FRAME

public static final int ANIMATION_FRAME
state identifying a change in the animation (the component has changed of bounds)

ANIMATION_START

public static final int ANIMATION_START
state identifying the beginning of an animation

Constructor Detail

AnimationEvent

public AnimationEvent(Component source, int state)
Event Constructor.

Parameters: source the animated component state the state of animation (ANIMATION_START , ANIMATION_FRAME or ANIMATION_END)

Method Detail

getSource

public Object getSource()
returns the source of animation

getState

public int getState()
returns the state of the animation (ANIMATION_START, ANIMATION_FRAME or ANIMATION_END)
© Copyright 2004-2005 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications