All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ejmf.toolkit.controls.AbstractGainControl

java.lang.Object
   |
   +----ejmf.toolkit.controls.AbstractListenerControl
           |
           +----ejmf.toolkit.controls.ActionListenerControl
                   |
                   +----ejmf.toolkit.controls.AbstractGainControl

public abstract class AbstractGainControl
extends ActionListenerControl
Abstract class from which AbstractListenerControls that depend on a GainControl should extend. Upon construction it properly set the operational state of the Control.


Constructor Index

 o AbstractGainControl()
Create an AbstractGainControl.
 o AbstractGainControl(Controller)
Create an AbstractGainControl and associate with controller.

Method Index

 o getGainControl()
 o setControllerHook(Controller)
Invoked when Controller is associated with Control.

Constructors

 o AbstractGainControl
 protected AbstractGainControl(Controller controller)
Create an AbstractGainControl and associate with controller.

Parameters:
controller - Controller with which this control is associated.
 o AbstractGainControl
 protected AbstractGainControl()
Create an AbstractGainControl. Controller will be assigned later.

Methods

 o setControllerHook
 protected void setControllerHook(Controller controller)
Invoked when Controller is associated with Control. Properly sets operational state and initializes initializes private reference to GainControl if Controller is a Player and it has a one.

Parameters:
controller - Controller with which this control is associated.
Overrides:
setControllerHook in class AbstractListenerControl
 o getGainControl
 protected GainControl getGainControl()
Returns:
GainControl associated with this AbstractGainControl.

All Packages  Class Hierarchy  This Package  Previous  Next  Index