public class GainChangeEvent extends EventObject implements MediaEvent
GainChangeEvent is posted by a
GainControl when its state has been updated.
GainControl,
GainChangeListener,
Serialized Formsource| Constructor and Description |
|---|
GainChangeEvent(GainControl from,
boolean mute,
float dB,
float level) |
| Modifier and Type | Method and Description |
|---|---|
float |
getDB()
Get the
GainControl's new gain value in dB. |
float |
getLevel()
Get the
GainControl's new gain value in the level scale. |
boolean |
getMute()
Get the
GainControl's new mute value. |
Object |
getSource()
Get the object that posted this event.
|
GainControl |
getSourceGainControl()
Get the
GainControl that posted this event. |
toStringpublic GainChangeEvent(GainControl from, boolean mute, float dB, float level)
public Object getSource()
getSource in interface MediaEventgetSource in class EventObjectpublic GainControl getSourceGainControl()
GainControl that posted this event.GainControl that posted this event.public float getDB()
GainControl's new gain value in dB.GainControl's new gain value, in dB.public float getLevel()
GainControl's new gain value in the level scale.GainControl's new gain, in the level scale.public boolean getMute()
GainControl's new mute value.GainControl's new mute value.Copyright © 2012 code4tv.com. All Rights Reserved.