|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inria.insitu.glite.activities.ActivityScheduler
public class ActivityScheduler
ActivityScheduler is responsible for maintaining a list of activities. Most users will not need to use the ActivityScheduler directly, instead you should look at:
| Constructor Summary | |
|---|---|
ActivityScheduler()
Creates an ActivityScheduler given a LiteComponent. |
|
| Method Summary | |
|---|---|
void |
addActivity(Activity activity)
Adds an activity. |
void |
addActivity(Activity activity,
boolean processLast)
Add this activity to the scheduler. |
boolean |
getAnimating()
|
long |
getCurrentTime()
|
static ActivityScheduler |
getInstance()
|
LiteComponent |
getRoot()
|
void |
processActivities(long currentTime)
Process all scheduled activities for the given time. |
void |
removeActivity(Activity activity)
Removes a specified activity. |
void |
removeAllActivities()
Removes all the activities. |
void |
setRoot(LiteComponent root)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityScheduler()
| Method Detail |
|---|
public static ActivityScheduler getInstance()
public void addActivity(Activity activity)
activity - the activity
public void addActivity(Activity activity,
boolean processLast)
activity - the activityprocessLast - true if the activity should run lastpublic void removeActivity(Activity activity)
activity - the activity to removepublic void removeAllActivities()
public long getCurrentTime()
public void processActivities(long currentTime)
currentTime - the current time.public boolean getAnimating()
public LiteComponent getRoot()
public void setRoot(LiteComponent root)
root - the root to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||