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:

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

Constructor Index

 o EjmfControls(Player)
Create Controls for EJMF Control Panel

Method Index

 o createFastForwardControl()
Create EjmfFastForwardControl Subclasses should over-ride this to customize the the fast forward control.
 o createGainControl()
Create a gain increase/decrease control.
 o createGainMeterControl()
Create a gain meter control.
 o createPauseControl()
Create a pause control.
 o createProgressControl()
Create a progress control.
 o createReverseControl()
Create a reverse control.
 o createStartControl()
Create a start control.
 o createStopControl()
Create a stop control.
 o setControlComponentState(int)
Sets the enable state of the various controls based on the state of the Controller.

Constructors

 o EjmfControls
 public EjmfControls(Player player)
Create Controls for EJMF Control Panel

Parameters:
player - Associated Player

Methods

 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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