net.sf.magicproject.tools
Class TimerTarget

java.lang.Object
  extended by net.sf.magicproject.tools.TimerTarget
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class TimerTarget
extends java.lang.Object
implements java.awt.event.ActionListener

Internal implementation detail: we happen to use javax.swing.Timer currently, which sends its timing events to an ActionListener. This internal private class is our ActionListener that traps these calls and forwards them to the TimingController.timingEvent() method.

Since:
0.84
Author:
Fabrice Daugan

Field Summary
 java.awt.Image[] byGifPictures
          The progressbar pictures.
 
Constructor Summary
TimerTarget()
          Create a new instance of this class.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void resetCounter()
          Reset counter
 void saveSettings()
          Save editable string settings of timer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

byGifPictures

public java.awt.Image[] byGifPictures
The progressbar pictures.

Constructor Detail

TimerTarget

public TimerTarget()
Create a new instance of this class.

Method Detail

actionPerformed

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

resetCounter

public void resetCounter()
Reset counter


saveSettings

public void saveSettings()
Save editable string settings of timer.



Copyright © 2003-2007 Magic-Project. All Rights Reserved.