net.java.sip.communicator.impl.osdependent.jdic
Class StatusSelector
java.lang.Object
net.java.sip.communicator.impl.osdependent.jdic.StatusSelector
- All Implemented Interfaces:
- ActionListener, EventListener
public class StatusSelector
- extends Object
- implements ActionListener
The StatusSelector is a submenu which allows to select a status for
a protocol provider which supports the OperationSetPresence.
- Author:
- Nicolas Chamouard, Lubomir Marinov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusSelector
public StatusSelector(SystrayServiceJdicImpl jdicSystray,
ProtocolProviderService provider,
OperationSetPresence presence,
boolean swing)
- Creates an instance of StatusSelector
- Parameters:
jdicSystray - a reference of the parent Systrayprovider - the protocol providerpresence - the presence status
getMenu
public Object getMenu()
actionPerformed
public void actionPerformed(ActionEvent evt)
- Change the status of the protocol according to the menu item selected
- Specified by:
actionPerformed in interface ActionListener
- Parameters:
evt - the event containing the menu item name
updateStatus
public void updateStatus(PresenceStatus presenceStatus)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.