|
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.Objectnet.java.sip.communicator.impl.neomedia.DeviceConfigurationComboBoxModel
public class DeviceConfigurationComboBoxModel
| Nested Class Summary | |
|---|---|
static class |
DeviceConfigurationComboBoxModel.CaptureDevice
Encapsulates CaptureDeviceInfo |
| Field Summary | |
|---|---|
static int |
AUDIO
Type of the model - audio. |
static int |
AUDIO_CAPTURE
Audio Capture Device. |
static int |
AUDIO_NOTIFY
Audio device for notification sounds. |
static int |
AUDIO_PLAYBACK
Audio playback device. |
static int |
VIDEO
Type of the model - video. |
| Constructor Summary | |
|---|---|
DeviceConfigurationComboBoxModel(Component parent,
DeviceConfiguration deviceConfiguration,
int type)
Creates device combobox model |
|
| Method Summary | |
|---|---|
void |
addListDataListener(ListDataListener listener)
|
protected void |
fireContentsChanged(int index0,
int index1)
Change of the content. |
Object |
getElementAt(int index)
|
Object |
getSelectedItem()
|
int |
getSize()
|
void |
hierarchyChanged(HierarchyEvent e)
We listen when the component was hidden in order to release resources, remove listener to clean this instance. |
void |
propertyChange(PropertyChangeEvent event)
We listen for changes in the devices in order to update the list of devices we show. |
void |
removeListDataListener(ListDataListener listener)
|
void |
setSelectedItem(Object item)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int AUDIO
public static final int VIDEO
public static final int AUDIO_CAPTURE
public static final int AUDIO_PLAYBACK
public static final int AUDIO_NOTIFY
| Constructor Detail |
|---|
public DeviceConfigurationComboBoxModel(Component parent,
DeviceConfiguration deviceConfiguration,
int type)
parent - the parent componentdeviceConfiguration - the current device configurationtype - the device - audio/video| Method Detail |
|---|
public void addListDataListener(ListDataListener listener)
addListDataListener in interface ListModel
protected void fireContentsChanged(int index0,
int index1)
index0 - from index.index1 - to index.public Object getElementAt(int index)
getElementAt in interface ListModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic int getSize()
getSize in interface ListModelpublic void removeListDataListener(ListDataListener listener)
removeListDataListener in interface ListModelpublic void setSelectedItem(Object item)
setSelectedItem in interface ComboBoxModelpublic void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerevent - the event.public void hierarchyChanged(HierarchyEvent e)
hierarchyChanged in interface HierarchyListenere - the event.
|
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 | |||||||||