public class AnimationEvent extends Object
AnimationListener
,
ComponentAnimator
Modifier and Type | Field and Description |
---|---|
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
|
Constructor and Description |
---|
AnimationEvent(Component source,
int state)
Event Constructor.
|
public static final int ANIMATION_START
public static final int ANIMATION_FRAME
public static final int ANIMATION_END
public AnimationEvent(Component source, int state)
source
- the animated componentstate
- the state of animation (ANIMATION_START , ANIMATION_FRAME or ANIMATION_END)public int getState()
public Object getSource()
© Copyright 2004-2013 Lilian Chamontin. All Rights Reserved.