|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.tuneology.avm.player.Player
|
+--com.tuneology.avm.qtplugin.QTPlugin
An interface to the QuickTime player on Windows and MacOS.
| Fields inherited from class com.tuneology.avm.player.Player |
dev, listeners, looping |
| Constructor Summary | |
QTPlugin(java.lang.String dev,
java.lang.String name)
|
|
| Method Summary | |
void |
close()
Close the player and release its resources. |
void |
cueFile(MediaData md)
Loads a file, sets the current position to the beginning, and pauses. |
java.awt.Component |
getCanvas()
|
static java.lang.String |
getDescription()
|
int |
getSize()
Returns the maximum size of the current file. |
static java.lang.String |
getVersionString()
|
Volume |
getVolume()
Gets the audio output volume of the CD player. |
VolumeRange |
getVolumeRange()
|
void |
jumpTo(int pos)
Moves the current position. |
void |
pause()
Temporarily stops playing at the current position. |
void |
play()
Starts playing after calling stop or cuefile. |
boolean |
playFile(java.lang.String url)
Play the file, blocking until it's done. |
void |
playNextTrack()
|
void |
playPrevTrack()
|
void |
playStream(java.io.InputStream str)
|
void |
setArtist(java.lang.String artist)
|
void |
setTitle(java.lang.String ttl)
|
void |
setTotal(int secs)
|
void |
setTrack(int track)
|
void |
setVolume(Volume vol)
Sets the audio output volume of the CD player. |
void |
shutdown()
|
void |
stop()
Stops playing and resets the current position to the beginning. |
void |
unpause()
Starts playing after calling pause. |
| Methods inherited from class com.tuneology.avm.player.Player |
addStatusListener, findPlayerClass, findVideoPlayerClass, formatSeconds, getAudioDevices, getAudioPlayers, getDescription, getDevice, getDeviceDescription, getLoop, getName, getVersions, getVideoPlayers, initInstance, newMediaPlayer, removeStatusListener, setDevice, setLoop, shutdownPlayers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tuneology.avm.player.MediaPlayer |
addStatusListener, getDevice, getLoop, getName, removeStatusListener, setDevice, setLoop |
| Constructor Detail |
public QTPlugin(java.lang.String dev,
java.lang.String name)
throws java.lang.Exception
| Method Detail |
public void setTotal(int secs)
setTotal in interface MediaPlayerpublic java.awt.Component getCanvas()
getCanvas in interface MediaPlayergetCanvas in class Player
public void playStream(java.io.InputStream str)
throws java.lang.Exception
playStream in interface MediaPlayerstr - java.lang.Exception -
public void cueFile(MediaData md)
throws java.lang.Exception
MediaPlayercueFile in interface MediaPlayermd - java.lang.Exception -
public int getSize()
throws java.lang.Exception
MediaPlayergetSize in interface MediaPlayerjava.lang.Exception -
public void playNextTrack()
throws java.lang.Exception
playNextTrack in interface MediaPlayerjava.lang.Exception -
public void playPrevTrack()
throws java.lang.Exception
playPrevTrack in interface MediaPlayerjava.lang.Exception -
public void jumpTo(int pos)
throws java.lang.Exception
MediaPlayerjumpTo in interface MediaPlayerpos - java.lang.Exception -
public void play()
throws java.lang.Exception
MediaPlayerplay in interface MediaPlayerjava.lang.Exception -
public void pause()
throws java.lang.Exception
MediaPlayerpause in interface MediaPlayerjava.lang.Exception -
public void unpause()
throws java.lang.Exception
MediaPlayerunpause in interface MediaPlayerjava.lang.Exception -
public void stop()
throws java.lang.Exception
MediaPlayerstop in interface MediaPlayerjava.lang.Exception - public VolumeRange getVolumeRange()
getVolumeRange in interface MediaPlayer
public Volume getVolume()
throws java.io.IOException
getVolume in interface MediaPlayerjava.io.IOException -
public void setVolume(Volume vol)
throws java.io.IOException
setVolume in interface MediaPlayervol - java.io.IOException -
public void close()
throws java.lang.Exception
MediaPlayerclose in interface MediaPlayerjava.lang.Exception - public void shutdown()
shutdown in class Playerpublic static java.lang.String getVersionString()
public static java.lang.String getDescription()
public void setArtist(java.lang.String artist)
setArtist in interface MediaPlayerpublic void setTitle(java.lang.String ttl)
setTitle in interface MediaPlayerpublic void setTrack(int track)
setTrack in interface MediaPlayer
public boolean playFile(java.lang.String url)
throws java.lang.Exception
MediaPlayerplayFile in interface MediaPlayerf - java.lang.Exception -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||