|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.objectspace.lib.timer.TimerEvent
A TimerEvent is generated by a timer when its alarm triggers.
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TimerEvent(Timer timer,
long time)
Construct a timer event associated with the specified timer and time. |
Method Summary | |
java.util.Date |
getDate()
Return the time of this event as a date. |
long |
getTime()
Return the time of this event as milliseconds since January 1, 1970, 00:00:00 GMT |
Timer |
getTimer()
Return the timer that generated this event. |
java.lang.String |
toString()
Return a string that describes me. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public TimerEvent(Timer timer, long time)
timer
- The source of this event.time
- The time of this event.Method Detail |
public java.lang.String toString()
public long getTime()
public Timer getTimer()
public java.util.Date getDate()
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |