public class StatusSimpleSelector
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.ItemListener
Constructor and Description |
---|
StatusSimpleSelector(ProtocolProviderService protocolProvider,
boolean swing)
Creates an instance of StatusSimpleSelector
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Change the status of the protocol according to
the menu item selected
|
java.lang.Object |
getMenu() |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Listens for changes in item state (CheckboxMenuItem)s.
|
void |
updateStatus() |
public StatusSimpleSelector(ProtocolProviderService protocolProvider, boolean swing)
protocolProvider
- the protocol providerswing
- public java.lang.Object getMenu()
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
evt
- the event containing the menu item namepublic void updateStatus()
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
e
- the event.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.