com.alee.utils.swing
Class TimerActionListener

java.lang.Object
  extended by com.alee.utils.swing.TimerActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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

Small extension for ActionListener to simplify timer usage.

Author:
Mikle Garin
See Also:
WebTimer

Constructor Summary
TimerActionListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          
abstract  void timerActionPerformed(java.awt.event.ActionEvent e, WebTimer timer)
          Simply an extended version of actionPerformed() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerActionListener

public TimerActionListener()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

Specified by:
actionPerformed in interface java.awt.event.ActionListener

timerActionPerformed

public abstract void timerActionPerformed(java.awt.event.ActionEvent e,
                                          WebTimer timer)
Simply an extended version of actionPerformed() method.

Parameters:
e - action event
timer - timer which forced this action