|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.players.MoviePlayer
The MoviePlayer class allows your application to display, play and control any
QuickTime movie. The MoviePlayer
object works with the QTCanvas to be displayed in a Java AWT Container.
QTCanvas,
Movie| Field Summary |
| Fields inherited from interface quicktime.app.players.Playable |
kDurationUnknown |
| Constructor Summary | |
MoviePlayer(Movie mov)
Deprecated. since QTJava 6.1 |
|
| Method Summary | |
void |
addDrawingListener(DrawingListener listener)
Deprecated. since QTJava 6.1 |
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 |
Movie |
getMovie()
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. since QTJava 6.1 |
float |
getVolume()
Deprecated. since QTJava 6.1 |
boolean |
isMuted()
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 |
removeDrawingListener(DrawingListener listener)
Deprecated. since QTJava 6.1 |
void |
setClip(Region theClip)
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. since QTJava 6.1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MoviePlayer(Movie mov)
throws StdQTException
mov - a Movie object| Method Detail |
public Movie getMovie()
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 QDGraphics getGWorld()
throws StdQTException
getGWorld in interface QTDrawableStdQTException
public void setGWorld(QDGraphics cgp)
throws StdQTException
setGWorld in interface QTDrawablecgp - a QDGraphics object
StdQTException
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 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 StdQTException
setDisplayBounds in interface Drawablebounds - a QDRect object describing the boundary
StdQTException
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 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
getTimeBase in interface TimeableQTException
public void setRate(float rate)
throws StdQTException
setRate in interface Timeablerate - the new playback rate.
StdQTExceptionpublic void addDrawingListener(DrawingListener listener)
addDrawingListener in interface DrawingNotifierpublic void removeDrawingListener(DrawingListener listener)
removeDrawingListener in interface DrawingNotifier
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 AudioSpecval - the new volume
QTException
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||