net.sf.fmj.ejmf.toolkit.gui.controls
Class StandardPauseControl

java.lang.Object
  extended by net.sf.fmj.ejmf.toolkit.gui.controls.AbstractListenerControl
      extended by net.sf.fmj.ejmf.toolkit.gui.controls.ActionListenerControl
          extended by net.sf.fmj.ejmf.toolkit.gui.controls.StandardPauseControl
All Implemented Interfaces:
Control

public class StandardPauseControl
extends ActionListenerControl

Pause Control for StandardControlPanel.


Field Summary
 
Fields inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.AbstractListenerControl
skin
 
Constructor Summary
StandardPauseControl(Skin skin)
          Create a StandardPauseControl
StandardPauseControl(Skin skin, Controller controller)
          Create a StandardPauseControl and associate it with a Controller.
 
Method Summary
protected  java.awt.Component createControlComponent(Skin skin)
          Create PauseButton.
protected  java.util.EventListener createControlListener()
          Create and return an ActionListener that implements pause semantics.
 
Methods inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.ActionListenerControl
addControlListener, removeControlListener, setComponent, setComponentAndListener, setControlListener
 
Methods inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.AbstractListenerControl
getControlComponent, getController, getDefaultControlListener, initListener, isOperational, setComponent, setComponentAndListener, setController, setControllerHook, setControlListener, setOperational, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardPauseControl

public StandardPauseControl(Skin skin,
                            Controller controller)
Create a StandardPauseControl and associate it with a Controller.

Parameters:
controller - A Controller with which control is associated.

StandardPauseControl

public StandardPauseControl(Skin skin)
Create a StandardPauseControl

Method Detail

createControlComponent

protected java.awt.Component createControlComponent(Skin skin)
Create PauseButton.

Specified by:
createControlComponent in class AbstractListenerControl
Returns:
The component that acts as pause button.
See Also:
PauseButton

createControlListener

protected java.util.EventListener createControlListener()
Create and return an ActionListener that implements pause semantics.

Specified by:
createControlListener in class AbstractListenerControl
Returns:
An ActionListener for pausing controller.