All Packages Class Hierarchy This Package Previous Next Index
Class javax.media.GainChangeEvent
java.lang.Object
|
+----javax.media.GainChangeEvent
- public class GainChangeEvent
- extends Object
- implements MediaEvent
A GainChangeEvent is posted by a
GainControl when its state has been updated.
Java Beans support
Any implementation of this object is required to be subclassed
from either java.util.EventObject or sunw.util.EventObject.
- Version:
- 1.14, 97/08/26
- See Also:
- GainControl, GainChangeListener
-
GainChangeEvent(GainControl, boolean, float, float)
-
-
getDB()
- Get the
GainControl's new gain value in dB.
-
getLevel()
- Get the
GainControl's new gain value in the level scale.
-
getMute()
- Get the
GainControl's new mute value.
-
getSource()
- Get the object that posted this event.
-
getSourceGainControl()
- Get the
GainControl that posted this event.
GainChangeEvent
public GainChangeEvent(GainControl from,
boolean mute,
float dB,
float level)
getSource
public Object getSource()
- Get the object that posted this event.
- Returns:
- The object that posted this event.
getSourceGainControl
public GainControl getSourceGainControl()
- Get the
GainControl that posted this event.
- Returns:
- The
GainControl that posted this event.
getDB
public float getDB()
- Get the
GainControl's new gain value in dB.
- Returns:
- The
GainControl's new gain value, in dB.
getLevel
public float getLevel()
- Get the
GainControl's new gain value in the level scale.
- Returns:
- The
GainControl's new gain, in the level scale.
getMute
public boolean getMute()
- Get the
GainControl's new mute value.
- Returns:
- The
GainControl's new mute value.
All Packages Class Hierarchy This Package Previous Next Index