public class TimerTilePool
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
TimerTilePool(ThreadPoolImpl tilePool) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
restart()
Restarts the timer
|
void |
setListener(TileListener listener)
Sets the tile listener to send the tile ready signal
|
void |
start()
Starts the timer
|
void |
stop()
Stops the timer
|
public TimerTilePool(ThreadPoolImpl tilePool)
public void setListener(TileListener listener)
tile
- public void start()
public void stop()
public void restart()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener