Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.osdependent.jdic
Class StatusSimpleSelector

java.lang.Object
  extended by net.java.sip.communicator.impl.osdependent.jdic.StatusSimpleSelector
All Implemented Interfaces:
ActionListener, EventListener

public class StatusSimpleSelector
extends Object
implements ActionListener

The StatusSimpleSelector is a submenu which allow to select a status for a protocol provider which does not support the OperationSetPresence

Author:
Nicolas Chamouard, Lubomir Marinov

Constructor Summary
StatusSimpleSelector(ProtocolProviderService protocolProvider, boolean swing)
          Creates an instance of StatusSimpleSelector
 
Method Summary
 void actionPerformed(ActionEvent evt)
          Change the status of the protocol according to the menu item selected
 Object getMenu()
           
 void updateStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusSimpleSelector

public StatusSimpleSelector(ProtocolProviderService protocolProvider,
                            boolean swing)
Creates an instance of StatusSimpleSelector

Parameters:
protocolProvider - the protocol provider
swing -
Method Detail

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()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.