Package com.macrofocus.timer
Interface Timer
-
- All Superinterfaces:
java.lang.Runnable
- All Known Implementing Classes:
AbstractTimer,CoalescingTimer,ImmediateTimer
public interface Timer extends java.lang.Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTimer.TimerListener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddActionListener(Timer.TimerListener listener)booleanisScheduled()voidremoveActionListener(Timer.TimerListener listener)voidrestart()voidstop()
-
-
-
Method Detail
-
restart
void restart()
-
addActionListener
void addActionListener(Timer.TimerListener listener)
-
removeActionListener
void removeActionListener(Timer.TimerListener listener)
-
stop
void stop()
-
isScheduled
boolean isScheduled()
-
-