|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.std.comp.ComponentIdentifier
|
+--quicktime.std.comp.Component
|
+--quicktime.std.movies.MovieController
|
+--quicktime.std.movies.MultiMovieController
The MultiMovieController class allows for multiple movies to be associated with a single controller. It is the developer's responsibility to appropriately manage the resources consumed by multiple movies.
| Field Summary |
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Constructor Summary | |
MultiMovieController(int subType,
Movie theMovie,
QDGraphics window,
QDPoint location)
This constructor creates a MovieController object for a given subType. |
|
MultiMovieController(Movie itsMovie)
This constructor locates a movie controller component for you and assigns a movie to that controller. |
|
MultiMovieController(Movie itsMovie,
int someFlags)
This constructor locates a movie controller component for you and assigns a movie to that controller. |
|
| Method Summary | |
void |
addMovie(Movie aMovie,
QDGraphics movieWindow,
QDPoint location)
This method adds a movie to the movie controller. |
Movie |
getIndMovie(int index)
This method allows you to get the movie at a specified index among the associated movies of a controller. |
void |
movieChanged(Movie changedMovie)
This method lets you inform a movie controller component that your application has used the Movie Toolbox to change the characteristics of its associated movie. |
void |
removeAllMovies()
This method allows you to remove all of the associated movies of a controller. |
void |
removeAMovie(Movie movie)
This method allows you to remove the specified movie from the controller. |
void |
removeMovie()
This method allows you to remove the movie of the controller. |
void |
setMovie(Movie aMovie,
QDGraphics movieWindow,
QDPoint location)
This method adds a movie to the movie controller. |
| Methods inherited from class quicktime.std.comp.Component |
count |
| Methods inherited from class quicktime.std.comp.ComponentIdentifier |
find, find, getInfo, toString |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MultiMovieController(Movie itsMovie)
throws QTException
itsMovie - Identifies the movie to be associated with the movie controller.
public MultiMovieController(Movie itsMovie,
int someFlags)
throws QTException
itsMovie - Identifies the movie to be associated with the movie controller.someFlags - Contains flags that control the operation.
public MultiMovieController(int subType,
Movie theMovie,
QDGraphics window,
QDPoint location)
throws QTException
subType - Specifies the controller component sub type.theMovie - Specifies the movie to be associated with the movie controller.window - Identifies the window in which the movie is to be displayed. This may NOT be null.location - Specifies the upper-left corner of the movie within the window
specified by the w parameter.| Method Detail |
public final void movieChanged(Movie changedMovie)
throws StdQTException
changedMovie - Specifies the changed movie.
StdQTException
public final void setMovie(Movie aMovie,
QDGraphics movieWindow,
QDPoint location)
throws StdQTException
setMovie in class MovieControlleraMovie - Identifies the movie to be associated with the movie controller.movieWindow - Identifies the window in which the movie is to be displayed. This may NOT be null unless the movie is also null.location - Specifies the upper-left corner of the movie within the window
specified by the movieWindow parameter.
StdQTExceptionMultiMovieController
public final void addMovie(Movie aMovie,
QDGraphics movieWindow,
QDPoint location)
throws StdQTException
aMovie - Identifies the movie to be associated with the movie controller.movieWindow - Identifies the window in which the movie is to be displayed. This may NOT be null unless the movie is also null.location - Specifies the upper-left corner of the movie within the window
specified by the movieWindow parameter.
StdQTException
public final Movie getIndMovie(int index)
throws QTException
index - Specifies the index of the movie.
QTException
public final void removeAllMovies()
throws StdQTException
StdQTException
public final void removeAMovie(Movie movie)
throws StdQTException
movie - Specifies the movie to be removed.
StdQTException
public final void removeMovie()
throws StdQTException
removeMovie in class MovieControllerStdQTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||