|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
net.java.sip.communicator.util.swing.SIPCommToggleButton
net.java.sip.communicator.impl.gui.main.call.AbstractCallToggleButton
net.java.sip.communicator.impl.gui.main.call.InputVolumeControlButton
public class InputVolumeControlButton
Represents an UI means to mute the audio stream sent in an associated Call.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JToggleButton |
|---|
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.impl.gui.main.call.AbstractCallToggleButton |
|---|
bgImage, bgRolloverImage, iconImageID, pressedIconImageID, pressedImage |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
InputVolumeControlButton(Call call)
Initializes a new MuteButton instance which is to mute the audio stream to a specific CallPeer. |
|
InputVolumeControlButton(Call call,
boolean fullScreen,
boolean selected)
Initializes a new MuteButton instance which is to mute the audio stream to a specific Call. |
|
InputVolumeControlButton(Call call,
ImageID iconImageID,
ImageID pressedIconImageID,
boolean fullScreen,
boolean inSettingsPanel,
boolean selected)
Initializes a new MuteButton instance which is to mute the audio stream to a specific Call. |
|
| Method Summary | |
|---|---|
void |
buttonPressed()
Notifies this AbstractCallToggleButton that its associated action has been performed and that it should execute its very logic. |
void |
run()
Toggles state on call in different thread. |
void |
toggleMute()
Mutes or unmutes the associated Call upon clicking this button. |
void |
volumeChange(VolumeChangeEvent volumeChangeEvent)
Event fired when volume has changed. |
| Methods inherited from class net.java.sip.communicator.impl.gui.main.call.AbstractCallToggleButton |
|---|
loadSkin, setIconImageID, setSpawnActionInNewThread |
| Methods inherited from class net.java.sip.communicator.util.swing.SIPCommToggleButton |
|---|
getBgImage, getBgRolloverImage, getIconImage, getIndex, paintComponent, setBgImage, setBgRolloverImage, setIconImage, setIndex, setPressedIconImage, setPressedImage |
| Methods inherited from class javax.swing.JToggleButton |
|---|
getAccessibleContext, getUIClassID, paramString, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InputVolumeControlButton(Call call)
call - the Call to be associated with the new instance and
to have the audio stream sent to muted
public InputVolumeControlButton(Call call,
boolean fullScreen,
boolean selected)
call - the Call to be associated with the new instance and
whose audio stream is to be muted upon performing its actionfullScreen - true if the new instance is to be used in
full-screen UI; otherwise, falseselected - true if the new toggle button is to be initially
selected; otherwise, false
public InputVolumeControlButton(Call call,
ImageID iconImageID,
ImageID pressedIconImageID,
boolean fullScreen,
boolean inSettingsPanel,
boolean selected)
call - the Call to be associated with the new instance and
whose audio stream is to be muted upon performing its actioniconImageID - the icon imagepressedIconImageID - the ImageID of the image to be used
as the icon in the pressed button state of the new instancefullScreen - true if the new instance is to be used in
full-screen UI; otherwise, falseselected - true if the new toggle button is to be initially
selected; otherwise, falseinSettingsPanel - true when the button is used in a menu,
to use different background.| Method Detail |
|---|
public void toggleMute()
public void run()
run in interface Runnablepublic void volumeChange(VolumeChangeEvent volumeChangeEvent)
volumeChange in interface VolumeChangeListenervolumeChangeEvent - the volume change event.public void buttonPressed()
buttonPressed in class AbstractCallToggleButton
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||