net.sf.fmj.ejmf.toolkit.controls
Class RateControl

java.lang.Object
  extended by net.sf.fmj.ejmf.toolkit.controls.RateControl
All Implemented Interfaces:
Control

public class RateControl
extends java.lang.Object
implements Control

JMF control only: Provides a generic Control over a Controller's rate. The graphical interface is a simple rate TextField. When the user hits enter, the rate in the TextField will be set in the Player. From the book: Essential JMF, Gordon, Talley (ISBN 0130801046). Used with permission.

Author:
Steve Talley & Rob Gordon

Constructor Summary
RateControl(Controller controller)
          Construct a RateControl object for the given Controller.
 
Method Summary
 java.awt.Component getControlComponent()
          For implementation of the Control interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateControl

public RateControl(Controller controller)
Construct a RateControl object for the given Controller.

Method Detail

getControlComponent

public java.awt.Component getControlComponent()
For implementation of the Control interface.

Specified by:
getControlComponent in interface Control
Returns:
the Control Component for this object.