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

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

public class StandardFastForwardControl
extends MouseListenerControl


Field Summary
 
Fields inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.AbstractListenerControl
skin
 
Constructor Summary
StandardFastForwardControl(Skin skin)
          Create StandardFastForwardControl.
StandardFastForwardControl(Skin skin, Controller controller)
          Create StandardFastForwardControl.
StandardFastForwardControl(Skin skin, Controller controller, float rate)
          Create StandardFastForwardControl.
 
Method Summary
protected  java.awt.Component createControlComponent(Skin skin)
          Create FastForwardButton
protected  java.util.EventListener createControlListener()
          Create MouseListener that implements Control semantics.
 
Methods inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.MouseListenerControl
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

StandardFastForwardControl

public StandardFastForwardControl(Skin skin,
                                  Controller controller,
                                  float rate)
Create StandardFastForwardControl.

Parameters:
controller - Associates Controller with Control.
rate - fast forward rate.

StandardFastForwardControl

public StandardFastForwardControl(Skin skin,
                                  Controller controller)
Create StandardFastForwardControl.

Parameters:
controller - Associates Controller with Control.

StandardFastForwardControl

public StandardFastForwardControl(Skin skin)
Create StandardFastForwardControl.

Method Detail

createControlComponent

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

Specified by:
createControlComponent in class AbstractListenerControl
Returns:
a component for display by control.
See Also:
FastForwardButton

createControlListener

protected java.util.EventListener createControlListener()
Create MouseListener that implements Control semantics.

Specified by:
createControlListener in class AbstractListenerControl
Returns:
listener that listens on control's component and implements fast forward semantics.