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

Constructor Index

 o GainChangeEvent(GainControl, boolean, float, float)

Method Index

 o getDB()
Get the GainControl's new gain value in dB.
 o getLevel()
Get the GainControl's new gain value in the level scale.
 o getMute()
Get the GainControl's new mute value.
 o getSource()
Get the object that posted this event.
 o getSourceGainControl()
Get the GainControl that posted this event.

Constructors

 o GainChangeEvent
 public GainChangeEvent(GainControl from,
                        boolean mute,
                        float dB,
                        float level)

Methods

 o getSource
 public Object getSource()
Get the object that posted this event.

Returns:
The object that posted this event.
 o getSourceGainControl
 public GainControl getSourceGainControl()
Get the GainControl that posted this event.

Returns:
The GainControl that posted this event.
 o getDB
 public float getDB()
Get the GainControl's new gain value in dB.

Returns:
The GainControl's new gain value, in dB.
 o 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.
 o 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