|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.stepsoncats.gublists.LklistElt | +--com.stepsoncats.gublists.TimelineEvent
A TimelineEvent is an element in a Timeline. TimelineEvent is an abstract base class; each subclass of TimelineEvent must implement the handleEvent method in a manner that's appropriate to the nature of the event.
Constructor Summary | |
TimelineEvent()
Construct a TimelineEvent that will occur immediately after its insertion into a Timeline. |
|
TimelineEvent(long interval)
Construct a TimelineEvent that will occur in interval milliseconds. |
Method Summary | |
abstract long |
handleEvent()
Perform whatever application-specific processing is appropriate upon the occurrence of this TimelineEvent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TimelineEvent(long interval)
interval
- The number of milliseconds after which the event will occur.public TimelineEvent()
Method Detail |
public abstract long handleEvent()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |