com.vlsolutions.swing.docking.animation
Class AnimationEvent

java.lang.Object
  extended by com.vlsolutions.swing.docking.animation.AnimationEvent

public class AnimationEvent
extends java.lang.Object

An Event describing the state of an animation

See Also:
AnimationListener, ComponentAnimator

Field Summary
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 Summary
AnimationEvent(java.awt.Component source, int state)
          Event Constructor.
 
Method Summary
 java.lang.Object getSource()
          returns the source of animation
 int getState()
          returns the state of the animation (ANIMATION_START, ANIMATION_FRAME or ANIMATION_END)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANIMATION_START

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

See Also:
Constant Field Values

ANIMATION_FRAME

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

See Also:
Constant Field Values

ANIMATION_END

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

See Also:
Constant Field Values
Constructor Detail

AnimationEvent

public AnimationEvent(java.awt.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

getState

public int getState()
returns the state of the animation (ANIMATION_START, ANIMATION_FRAME or ANIMATION_END)


getSource

public java.lang.Object getSource()
returns the source of animation



© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications