|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEvent
An Event is some scheduled task to be performed.
Constructor Summary | |
Event(long timeToOccur,
Callback cb)
|
Method Summary | |
Callback |
callback()
Returns the callback |
long |
timeToOccur()
When should this event occur? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Event(long timeToOccur, Callback cb)
timeToOccur
- The time at which the event should take place.cb
- The callback to be invokedMethod Detail |
public long timeToOccur()
public Callback callback()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |