public final class TimerEvent
extends java.util.EventObject
TimerEvent
event is sent to those
TimerTaskListener
objects registered
with an expired TimerTask
.
Note: The event's source is a
TimerTask
.
TimerTask
,
TimerTaskListener
,
Serialized FormConstructor and Description |
---|
TimerEvent(TimerTask timerTask,
java.lang.Object value)
Creates a timer event for the specified timer task.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the underlying
timer task . |
java.lang.Object |
value()
Returns the timer task associated value.
|
public TimerEvent(TimerTask timerTask, java.lang.Object value)
TimerTask(net.sf.eBus.util.TimerTaskListener, java.lang.Object)
.timerTask
- The event source.value
- The timer's associated value. May be
null
.TimerTask
public java.lang.Object value()
null
.public void cancel()
timer task
.TimerTask
Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.