|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.app.time.Tasking | +--quicktime.app.time.TaskAllMovies
QuickTime's MoviesTask call can be called in two ways.
Classes in the quicktime.app packages (notably MoviePlayer, Timer, MoviePresenter) default behaviour is not to task themselves individually but to register with the TaskAllMovies class that they have a requirement for tasking. The TaskAllMovies call then has a single thread and taskable object (itself) that calls the Moive.taskAll to let QuickTime's MovieTask call do the required tasks for any of these active Movies and TimeBases.
An application can retrieve the Tasking object and set its default thread to a TaskThread object of its choice.
MoviePlayer
,
Timer
,
MoviePresenter
Fields inherited from interface quicktime.app.time.Taskable |
tasker |
Method Summary | |
static void |
addMovieAndStart()
Informs the TaskAllMovies object that another Movie or TimeBase is active and would require tasking. |
static int |
currentMovieCount()
Returns the current number of active Movies and/or TimeBases that the TaskAllMovies object is registered to count. |
static TaskAllMovies |
get()
Returns the TaskAllMovies Tasking object that is used to call Movie.taskAll. |
static void |
removeMovie()
Informs the TaskAllMovies object that a Movie or TimeBase that was active is no longer. |
void |
task()
Calls Movie.taskAll to task all active Movies and TimeBases. |
Methods inherited from class quicktime.app.time.Tasking |
addedToTasker, getDefaultTasker, getTasker, removedFromTasker, setDefaultTasker, startTasking, stopTasking |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TaskAllMovies get()
public static void addMovieAndStart()
public static void removeMovie()
public static int currentMovieCount()
public void task() throws QTException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |