public class VolumeChangeEvent
extends java.util.EventObject
Constructor and Description |
---|
VolumeChangeEvent(VolumeControl source,
float level,
boolean mute)
Initializes a new VolumeChangeEvent which is to notify about a
specific volume level and its mute state.
|
Modifier and Type | Method and Description |
---|---|
float |
getLevel()
Gets the volume level notified about by this VolumeChangeEvent.
|
boolean |
getMute()
Gets the indicator which determines whether the volume is muted.
|
VolumeControl |
getSourceVolumeControl()
Gets the VolumeControl which is the source of the change
notified about by this VolumeChangeEvent.
|
public VolumeChangeEvent(VolumeControl source, float level, boolean mute)
source
- the VolumeControl which is the source of the
changelevel
- the volume levelmute
- true if the volume is muted; otherwise,
falsejava.lang.IllegalArgumentException
- if source is nullpublic VolumeControl getSourceVolumeControl()
public float getLevel()
public boolean getMute()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.