Event
instead, which now implements the method
Event.isPending()
.@Deprecated public class Timer extends Event
Constructor and Description |
---|
Timer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
expirationTime()
Deprecated.
|
void |
handleCancelEvent(double eventTime)
Deprecated.
|
void |
handleProcessEvent(double eventTime)
Deprecated.
users need to overwrite this method to notice the timeout
|
boolean |
isPending()
Deprecated.
|
void |
reset()
Deprecated.
|
void |
set(double timeVal)
Deprecated.
|
void |
set(double timeVal,
boolean relative)
Deprecated.
|
cancelEvent, posted, processEvent
public boolean isPending()
public void handleProcessEvent(double eventTime)
handleProcessEvent
in class Event
public void handleCancelEvent(double eventTime)
handleCancelEvent
in class Event
public void set(double timeVal)
public void set(double timeVal, boolean relative)
public void reset()
public double expirationTime()