com.vlsolutions.swing.docking.animation
Class AnimationEvent
java.lang.Object
com.vlsolutions.swing.docking.animation.AnimationEvent
public class AnimationEvent
extends java.lang.Object
An Event describing the state of an animation
static int | ANIMATION_END - state identifying the end of an animation
|
static int | ANIMATION_FRAME - state identifying a change in the animation (the component has changed of bounds)
|
static int | ANIMATION_START - state identifying the beginning of an animation
|
Object | getSource() - returns the source of animation
|
int | getState() - returns the state of the animation (ANIMATION_START, ANIMATION_FRAME or ANIMATION_END)
|
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
AnimationEvent
public AnimationEvent(Component source,
int state)
Event Constructor.
source
- the animated componentstate
- the state of animation (ANIMATION_START , ANIMATION_FRAME or ANIMATION_END)
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-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications