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 interface
Timer.TimerListener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addActionListener(Timer.TimerListener listener)
boolean
isScheduled()
void
removeActionListener(Timer.TimerListener listener)
void
restart()
void
stop()
-
-
-
Method Detail
-
restart
void restart()
-
addActionListener
void addActionListener(Timer.TimerListener listener)
-
removeActionListener
void removeActionListener(Timer.TimerListener listener)
-
stop
void stop()
-
isScheduled
boolean isScheduled()
-
-