|
IBM Toolkit for MPEG-4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplayer.PlayerControlPanelFactory
MPEG-4 Player Control Panel factory. A Player Control Panel is a 'small' panel containing control buttons such as play, pause, stop plus potentially other indicators and controls for volume, mute. When creating a main player shell these control panels are a convenience as they can be readily used to control common operations such as play, pause etc.
Method Summary | |
static PlayerControlPanel |
createPlayerControlPanel(java.lang.String type,
PlayerControl pc)
Create a PlayerControlPanel instance. |
static PlayerControlPanel |
createPlayerControlPanel(java.lang.String type,
PlayerControl pc,
boolean playInClosed)
Create a PlayerControlPanel instance. |
static java.lang.String[] |
getControlPanelNames(boolean includeDefault)
Get a list of PlayerControl panel names that can be instantiated via this factory. |
static java.lang.String |
getDefaultPanelName()
Indicates the name of the Default control panel. |
static int |
getNumAvailableControlPanels(boolean includeDefault)
Indicates the number of Control Panels that are available. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static int getNumAvailableControlPanels(boolean includeDefault)
includeDefault
- Whether to include the default panel in the count or not.
public static java.lang.String[] getControlPanelNames(boolean includeDefault)
includeDefault
- If to include "Default" as one of the names. "Default" is the
preferred panel from the factory that can always be instantiated
- assuming that there is at least one panel available.
public static java.lang.String getDefaultPanelName()
public static PlayerControlPanel createPlayerControlPanel(java.lang.String type, PlayerControl pc)
type
- This is the name of the ControlPanel that is to be instantiatedpc
- This is an instance of the PlayerControl that the Panel will be
using to stop, start etc.
public static PlayerControlPanel createPlayerControlPanel(java.lang.String type, PlayerControl pc, boolean playInClosed)
type
- This is the name of the ControlPanel that is to be instantiatedpc
- This is an instance of the PlayerControl that the Panel will be
using to stop, start etc.playInClosed
- Set to true to enable play button in closed state
|
IBM Toolkit for MPEG-4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |