public class ContainerPlayer
extends java.lang.Object
| Constructor and Description |
|---|
ContainerPlayer(java.awt.Container container)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deallocate resources and close the player.
|
void |
deallocate()
Deallocate all resources used by the player.
|
SwingLookControlPanel |
getTransportControlPanel() |
boolean |
isAutoLoop() |
void |
setAutoLoop(boolean autoLoop) |
void |
setContainerPlayerStatusListener(ContainerPlayerStatusListener listener) |
void |
setGain(float value) |
void |
setMediaLocation(java.lang.String mediaLocation,
boolean startAutomatically) |
void |
setMouseListener(java.awt.event.MouseListener mouseListener) |
void |
setMute(boolean value) |
void |
setRealizedStartedProcessor(Processor p)
Used in the case of things like RTP wizard, which create a player/processor explicitly.
|
void |
start() |
void |
stop() |
public ContainerPlayer(java.awt.Container container)
container - public void setMediaLocation(java.lang.String mediaLocation,
boolean startAutomatically)
throws NoDataSourceException,
NoPlayerException,
java.io.IOException
NoDataSourceExceptionNoPlayerExceptionjava.io.IOExceptionpublic void setRealizedStartedProcessor(Processor p)
public void start()
public void stop()
public void deallocate()
public void close()
public void setMouseListener(java.awt.event.MouseListener mouseListener)
public void setContainerPlayerStatusListener(ContainerPlayerStatusListener listener)
public void setGain(float value)
public void setMute(boolean value)
public boolean isAutoLoop()
public void setAutoLoop(boolean autoLoop)
public SwingLookControlPanel getTransportControlPanel()