com.l2fprod.common.swing
Class PercentLayoutAnimator
java.lang.Object
com.l2fprod.common.swing.PercentLayoutAnimator
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class PercentLayoutAnimator
- extends java.lang.Object
- implements java.awt.event.ActionListener
Animates a PercentLayout
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentLayoutAnimator
public PercentLayoutAnimator(java.awt.Container container,
PercentLayout layout)
setTargetPercent
public void setTargetPercent(java.awt.Component component,
float percent)
setTargetPercent
public void setTargetPercent(java.awt.Component component,
float startPercent,
float endPercent)
start
public void start()
stop
public void stop()
complete
protected void complete()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener