|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.stepsoncats.gublists.Timeline
A Timeline is a linked list of time-ordered TimelineEvent objects, with an associated Timer thread which handles each TimelineEvent as its moment arrives.
Constructor Summary | |
Timeline()
Construct an empty timeline. |
Method Summary | |
void |
activate()
Start the Timeline's timer thread. |
void |
cancel(TimelineEvent event)
Remove a scheduled TimelineEvent from the Timeline. |
void |
schedule(TimelineEvent event)
Insert a new TimelineEvent into the Timeline. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Timeline()
Method Detail |
public void schedule(TimelineEvent event)
event
- The TimelineEvent to insert into the Timeline.public void cancel(TimelineEvent event)
event
- The TimelineEvent to remove from the Timeline.public void activate()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |