Constructor and Description |
---|
DelayTimer(int delayInMiliseconds) |
DelayTimer(int delayInMilliseconds,
DelayListener delayListener) |
Modifier and Type | Method and Description |
---|---|
void |
addDelayListener(DelayListener delayListener) |
int |
getDelayInMilliseconds() |
void |
reset() |
void |
run() |
void |
setDelayInSeconds(int delayInMilliseconds) |
void |
stop() |
public DelayTimer(int delayInMiliseconds)
public DelayTimer(int delayInMilliseconds, DelayListener delayListener)
public void reset()
public void stop()
public void addDelayListener(DelayListener delayListener)
public int getDelayInMilliseconds()
public void setDelayInSeconds(int delayInMilliseconds)
delayInMilliseconds
- the delay in milliseconds to set