All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ejmf.toolkit.gui.controlpanel.EjmfControlPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----ejmf.toolkit.gui.controlpanel.AbstractControlPanel
                                           |
                                           +----ejmf.toolkit.gui.controlpanel.StandardControlPanel
                                                   |
                                                   +----ejmf.toolkit.gui.controlpanel.EjmfControlPanel

public class EjmfControlPanel
extends StandardControlPanel
EjmfControlPanel extends StandardControlPanel and provides a look and feel similar to Sun's JMF for cross-platform use.


Constructor Index

 o EjmfControlPanel(Player)
Create an EJMF Control Panel.
 o EjmfControlPanel(Player, int)
Create the control panel for Player.

Method Index

 o createControls(Player)
Create the controls for Player managed by this control panel.
 o setBackground(Color)
Set the background of the Panel that contains Control Components.

Constructors

 o EjmfControlPanel
 protected EjmfControlPanel(Player player,
                            int buttonFlags)
Create the control panel for Player.

Parameters:
player - Player for which control panel is built.
buttonFlags - Determines which control buttons will appear in this control panel.
 o EjmfControlPanel
 public EjmfControlPanel(Player player)
Create an EJMF Control Panel. Start button doubles as pause button when Player is playing.

Parameters:
player - Player for which control panel is built.

Methods

 o createControls
 protected AbstractControls createControls(Player player)
Create the controls for Player managed by this control panel.

Parameters:
player - Player for which controls are built.
Overrides:
createControls in class StandardControlPanel
 o setBackground
 public void setBackground(Color bg)
Set the background of the Panel that contains Control Components.

Parameters:
bg - The background color for control panel.
Overrides:
setBackground in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index