GainChangeEventpublic class GainChangeEvent extends 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. |
Fields Summary |
---|
GainControl | eventSrc | boolean | newMute | float | newDB | float | newLevel |
Constructors Summary |
---|
public GainChangeEvent(GainControl from, boolean mute, float dB, float level)
super(from);
eventSrc = from;
newMute = mute;
newDB = dB;
newLevel = level;
|
Methods Summary |
---|
public float | getDB()Get the GainControl's new gain value in dB.
return newDB;
| public float | getLevel()Get the GainControl's new gain value in the level scale.
return newLevel;
| public boolean | getMute()Get the GainControl's new mute value.
return newMute;
| public java.lang.Object | getSource()Get the object that posted this event.
return eventSrc;
| public javax.media.GainControl | getSourceGainControl()Get the GainControl that posted this event.
return eventSrc;
|
|