All Packages Class Hierarchy This Package Previous Next Index
Class ejmf.toolkit.gui.controlpanel.EjmfControls
java.lang.Object
|
+----ejmf.toolkit.gui.controlpanel.AbstractControls
|
+----ejmf.toolkit.gui.controlpanel.StandardControls
|
+----ejmf.toolkit.gui.controlpanel.EjmfControls
- public class EjmfControls
- extends StandardControls
EjmfControls provides the Controls for EjmfControlPanel.
The control components are built and default listeners are
added to them. No layout is done, ie.
components are not even added to the Panel.
EjmfControls creates the following control components:
- Start Control
- Stop Control
- Reverse Control
- Fast Forward Control
- Volume Control
- Progress Bar Control
Only if the Player's media duration can be ascertained, is a slider
created.
This class provides a collection of
createControl
methods that supply Controls. Any of these can be over-ridden
to supply a different Control.
- See Also:
- StandardControlPanel, ControllerListener
-
EjmfControls(Player)
- Create Controls for EJMF Control Panel
-
createFastForwardControl()
-
Create EjmfFastForwardControl
Subclasses should over-ride this to customize the
the fast forward control.
-
createGainControl()
- Create a gain increase/decrease control.
-
createGainMeterControl()
- Create a gain meter control.
-
createPauseControl()
- Create a pause control.
-
createProgressControl()
- Create a progress control.
-
createReverseControl()
- Create a reverse control.
-
createStartControl()
- Create a start control.
-
createStopControl()
- Create a stop control.
-
setControlComponentState(int)
-
Sets the enable state of the various controls based on
the state of the Controller.
EjmfControls
public EjmfControls(Player player)
- Create Controls for EJMF Control Panel
- Parameters:
- player - Associated Player
setControlComponentState
public void setControlComponentState(int state)
- Sets the enable state of the various controls based on
the state of the Controller.
- Overrides:
- setControlComponentState in class StandardControls
createFastForwardControl
protected AbstractListenerControl createFastForwardControl()
- Create EjmfFastForwardControl
Subclasses should over-ride this to customize the
the fast forward control.
- Returns:
- fast forward control as AbstractListenerControl
- Overrides:
- createFastForwardControl in class StandardControls
createReverseControl
protected AbstractListenerControl createReverseControl()
- Create a reverse control.
Subclasses should over-ride this to customize the
the reverse control.
- Returns:
- reverse control as AbstractListenerControl
- Overrides:
- createReverseControl in class StandardControls
createStartControl
protected AbstractListenerControl createStartControl()
- Create a start control.
Subclasses should over-ride this to customize the
the start control.
- Returns:
- start control as AbstractListenerControl
- Overrides:
- createStartControl in class StandardControls
createStopControl
protected AbstractListenerControl createStopControl()
- Create a stop control.
Subclasses should over-ride this to customize the
the stop control.
- Returns:
- stop control as AbstractListenerControl
- Overrides:
- createStopControl in class StandardControls
createPauseControl
protected AbstractListenerControl createPauseControl()
- Create a pause control.
Subclasses should over-ride this to customize the
the pause control.
- Returns:
- pause control as AbstractListenerControl
- Overrides:
- createPauseControl in class StandardControls
createGainControl
protected AbstractListenerControl createGainControl()
- Create a gain increase/decrease control.
Subclasses should over-ride this to customize the
the gain increase/decrease control.
- Returns:
- gain control as AbstractListenerControl
- Overrides:
- createGainControl in class StandardControls
createGainMeterControl
protected AbstractListenerControl createGainMeterControl()
- Create a gain meter control.
Subclasses should over-ride this to customize the
the gain meter control.
- Returns:
- gain meter control as AbstractListenerControl
- Overrides:
- createGainMeterControl in class StandardControls
createProgressControl
protected StandardProgressControl createProgressControl()
- Create a progress control.
Subclasses should over-ride this to customize the
the progress control.
- Returns:
- progress control as StandardProgressControl
- Overrides:
- createProgressControl in class StandardControls
All Packages Class Hierarchy This Package Previous Next Index