xv.swing
Class ResizeAnimation

java.lang.Object
  extended by xv.swing.ResizeAnimation
All Implemented Interfaces:
ActionListener, EventListener

public class ResizeAnimation
extends Object
implements ActionListener

Animation for resizing components.

Author:
dmpotter

Constructor Summary
ResizeAnimation(Component component, Dimension newSize)
           
ResizeAnimation(Component component, Dimension newSize, int steps, int timeout)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void animate()
          Runs through the animation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizeAnimation

public ResizeAnimation(Component component,
                       Dimension newSize)

ResizeAnimation

public ResizeAnimation(Component component,
                       Dimension newSize,
                       int steps,
                       int timeout)
Method Detail

animate

public void animate()
Runs through the animation.


actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2008-2011. All Rights Reserved.