Skip navigation links
Jitsi: the OpenSource Java VoIP and Instant Messaging client.
net.java.sip.communicator.plugin.desktoputil.presence

Class StatusMessageMenu

    • Constructor Detail

      • StatusMessageMenu

        public StatusMessageMenu(ProtocolProviderService protocolProvider,
                                 boolean swing)
        Creates an instance of StatusMessageMenu, by specifying the ProtocolProviderService to which this menu belongs.
        Parameters:
        protocolProvider - the protocol provider service to which this menu belongs
        swing - should we use swing or awt
    • Method Detail

      • getDescriptor

        public java.lang.Object getDescriptor()
        Returns the descriptor common for this status message menu instance.
        Specified by:
        getDescriptor in class AbstractStatusMessageMenu
        Returns:
        the descriptor common for this status message menu instance.
      • publishStatusMessage

        public void publishStatusMessage(java.lang.String message,
                                         java.lang.Object menuItem,
                                         boolean saveIfNewMessage)
        Publishes the new message in separate thread. If successfully ended the message item is created and added to te list of current status messages and if needed the message is saved.
        Specified by:
        publishStatusMessage in class AbstractStatusMessageMenu
        Parameters:
        message - the message to save
        menuItem - the item which was clicked to set this status
        saveIfNewMessage - whether to save the status on the custom statuses list.
      • providerStatusMessageChanged

        public void providerStatusMessageChanged(java.beans.PropertyChangeEvent evt)
        Detects a provider status changed.
        Specified by:
        providerStatusMessageChanged in interface ProviderPresenceStatusListener
        Parameters:
        evt - a PropertyChangeEvent with a STATUS_MESSAGE property name,
Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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