|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--quicktime.app.time.Tasking
|
+--quicktime.app.players.QTPlayer
The QTPlayer class allows your application to display, play and control any QuickTime movie with the standard QuickTime movie controller.
The QTPlayer does not handle its own events but delegates the event handling to some kind of QTPlayerEventHandler object.
QTPlayerEventHandler,
MovieController| Field Summary |
| Fields inherited from class quicktime.app.time.Tasking |
tasker |
| Fields inherited from interface quicktime.app.players.Playable |
kDurationUnknown |
| Constructor Summary | |
QTPlayer(MovieController mc)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
addedTo(java.lang.Object interest)
Deprecated. since QTJava 6.1 |
Region |
getClip()
Deprecated. since QTJava 6.1 |
QDRect |
getDisplayBounds()
Deprecated. since QTJava 6.1 |
int |
getDuration()
Deprecated. since QTJava 6.1 |
QDGraphics |
getGWorld()
Deprecated. since QTJava 6.1 |
java.awt.Dimension |
getInitialSize()
Deprecated. since QTJava 4.0 |
Matrix |
getMatrix()
Deprecated. since QTJava 6.1 |
MovieController |
getMovieController()
Deprecated. This allows you to access the contained movie controller. |
QDDimension |
getOriginalSize()
Deprecated. since QTJava 6.1 |
float |
getRate()
Deprecated. since QTJava 6.1 |
int |
getScale()
Deprecated. since QTJava 6.1 |
int |
getTime()
Deprecated. since QTJava 6.1 |
TimeBase |
getTimeBase()
Deprecated. Returns the current time base that provides the time foundation of this object. |
float |
getVolume()
Deprecated. Returns the volume setting (0 is silent or muted, 1 is unity gain) * @deprecated since QTJava 6.1 |
boolean |
isControllerSizeReserved()
Deprecated. Returns true if display space is being reserved for the size of the controller * @deprecated since QTJava 6.1 |
boolean |
isControllerVisible()
Deprecated. Returns the visible state of the controller. |
boolean |
isMuted()
Deprecated. Returns the current mute status * @deprecated since QTJava 6.1 |
void |
redraw(Region invalidRgn)
Deprecated. since QTJava 6.1 |
void |
removedFrom(java.lang.Object interest)
Deprecated. since QTJava 6.1 |
void |
setClip(Region theClip)
Deprecated. since QTJava 6.1 |
void |
setControllerSizeReserved(boolean flag)
Deprecated. since QTJava 6.1 |
void |
setControllerVisible(boolean flag)
Deprecated. If true makes the MovieController visible, otherwise makes it invisible * @deprecated since QTJava 6.1 |
void |
setDisplayBounds(QDRect bounds)
Deprecated. since QTJava 6.1 |
void |
setGWorld(QDGraphics cgp)
Deprecated. since QTJava 6.1 |
void |
setLocation(int x,
int y)
Deprecated. since QTJava 6.1 |
void |
setMatrix(Matrix matrix)
Deprecated. since QTJava 6.1 |
void |
setMuted(boolean flag)
Deprecated. since QTJava 6.1 |
void |
setRate(float rate)
Deprecated. since QTJava 6.1 |
void |
setTime(int time)
Deprecated. since QTJava 6.1 |
void |
setVolume(float val)
Deprecated. Sets the volume. |
void |
task()
Deprecated. since QTJava 6.1 |
| 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 |
| Constructor Detail |
public QTPlayer(MovieController mc)
throws StdQTException
mc - a MovieController object| Method Detail |
public void addedTo(java.lang.Object interest)
addedTo in interface Listenerinterest - the object that is to be the source of interest for the
the object that implements this interface.public void removedFrom(java.lang.Object interest)
removedFrom in interface Listenerinterest - the object that was the source of interest for the
the object that implements this interface.public MovieController getMovieController()
public java.awt.Dimension getInitialSize()
throws QTException
QTException()
public QDDimension getOriginalSize()
throws QTException
getOriginalSize in interface TransformableQTException
public Matrix getMatrix()
throws StdQTException
getMatrix in interface TransformableStdQTException
public void setMatrix(Matrix matrix)
throws QTException
setMatrix in interface TransformableQTException
public QDGraphics getGWorld()
throws StdQTException
getGWorld in interface QTDrawableStdQTException
public void setGWorld(QDGraphics cgp)
throws QDException,
StdQTException
setGWorld in interface QTDrawablecgp - a QDGraphics object
QDException
StdQTException
public final void redraw(Region invalidRgn)
throws QTException
redraw in interface DrawableinvalidRgn - the invalidRgn that the client should redraw
QTException
public void setDisplayBounds(QDRect bounds)
throws QTException
setDisplayBounds in interface Drawablebounds - a QDRect object describing the boundary
QTException
public void setLocation(int x,
int y)
throws QTException
setLocation in interface QTDrawablex - the new x locationy - the new y location
QTException
public QDRect getDisplayBounds()
throws StdQTException
getDisplayBounds in interface DrawableStdQTException
public final void task()
throws QTException
task in interface quicktime.app.time.TaskableQTExceptionquicktime.util.TaskThread
public void setClip(Region theClip)
throws QTException
setClip in interface QTDrawabletheClip - a Region that defines the player's clipping region.
QTException
public Region getClip()
throws QTException
getClip in interface QTDrawableQTException
public void setTime(int time)
throws StdQTException
setTime in interface Playabletime - the new time value
StdQTException
public int getTime()
throws StdQTException
getTime in interface PlayableStdQTException
public int getDuration()
throws StdQTException
getDuration in interface PlayableStdQTException
public TimeBase getTimeBase()
throws QTException
Timeable
getTimeBase in interface TimeableQTException
public void setRate(float rate)
throws StdQTException
setRate in interface Timeablerate - the new playback rate.
StdQTException
public float getRate()
throws StdQTException
getRate in interface TimeableStdQTException
public int getScale()
throws QTException
getScale in interface PlayableQTException
public float getVolume()
throws QTException
getVolume in interface AudioSpecQTException
public void setVolume(float val)
throws QTException
setVolume in interface AudioSpecQTException
public boolean isMuted()
throws QTException
isMuted in interface AudioSpecQTException
public void setMuted(boolean flag)
throws QTException
setMuted in interface AudioSpecflag - turn muting on - true or off - false.
QTException
public void setControllerVisible(boolean flag)
throws QTException
QTException
public boolean isControllerVisible()
throws QTException
QTException
public void setControllerSizeReserved(boolean flag)
throws QTException
flag - the resize flag
QTExceptionpublic boolean isControllerSizeReserved()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||