|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.ejmf.toolkit.gui.controls.AbstractListenerControl
net.sf.fmj.ejmf.toolkit.gui.controls.ActionListenerControl
net.sf.fmj.ejmf.toolkit.gui.controls.AbstractGainControl
net.sf.fmj.ejmf.toolkit.gui.controls.StandardGainMeterControl
public class StandardGainMeterControl
Gain meter Control for StandardControlPanel.
| Field Summary |
|---|
| Fields inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.AbstractListenerControl |
|---|
skin |
| Constructor Summary | |
|---|---|
StandardGainMeterControl(Skin skin)
Create a StandardGainMeterControl |
|
StandardGainMeterControl(Skin skin,
Controller controller)
Create a StandardGainMeterControl and associate it with a Controller. |
|
| Method Summary | |
|---|---|
protected java.awt.Component |
createControlComponent(Skin skin)
Create the GainMeter Component. |
protected java.util.EventListener |
createControlListener()
Return the ActionListener used to toggle mute button. |
void |
gainChange(GainChangeEvent gce)
Implements GainChangeListener. |
protected void |
setControllerHook(Controller newController)
This method is called when setController
is called on an AbstractListenerControl. |
void |
setLevel(float level)
Set the level value for this GainMeter. |
void |
setMute(boolean muted)
Set the mute value for this GainMeter. |
| Methods inherited from class net.sf.fmj.ejmf.toolkit.gui.controls.AbstractGainControl |
|---|
getGainControl |
| 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, setControlListener, setOperational, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StandardGainMeterControl(Skin skin,
Controller controller)
controller - A Controller with which control is associated.public StandardGainMeterControl(Skin skin)
| Method Detail |
|---|
protected void setControllerHook(Controller newController)
setController
is called on an AbstractListenerControl.
setControllerHook in class AbstractGainControlnewController - A Controller with which this control
is associated.protected java.awt.Component createControlComponent(Skin skin)
createControlComponent in class AbstractListenerControlGainMeterButtonpublic void setLevel(float level)
level - This argument represents a level
value returned by a Player's GainControl.public void setMute(boolean muted)
muted - If muted is true, audio signal is
suppressed. Otherwise, audio signal is rendered.protected java.util.EventListener createControlListener()
createControlListener in class AbstractListenerControlpublic void gainChange(GainChangeEvent gce)
gainChange in interface GainChangeListenergce - An GainChangeEvent triggerd by a GainControlGainControl,
GainChangeEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||