org.formaria.swing.helper
Class AnimationHelper

java.lang.Object
  extended by org.formaria.swing.helper.AnimationHelper
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
FadeInHelper

public abstract class AnimationHelper
extends java.lang.Object
implements java.awt.event.ActionListener

Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.


Field Summary
protected  float animationValue
           
protected  javax.swing.JComponent targetComp
           
 
Constructor Summary
AnimationHelper()
          Creates a new instance of AnimationHelper
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 void animate(javax.swing.JComponent comp)
           
 float getAnaimationValueInc()
           
abstract  void init()
           
 void setAnaimationValueInc(float inc)
           
abstract  void updateComponent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

animationValue

protected float animationValue

targetComp

protected javax.swing.JComponent targetComp
Constructor Detail

AnimationHelper

public AnimationHelper()
Creates a new instance of AnimationHelper

Method Detail

animate

public void animate(javax.swing.JComponent comp)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

init

public abstract void init()

updateComponent

public abstract void updateComponent()

getAnaimationValueInc

public float getAnaimationValueInc()

setAnaimationValueInc

public void setAnaimationValueInc(float inc)