public abstract class AbstractPopupMessageHandler extends java.lang.Object implements PopupMessageHandler
Constructor and Description |
---|
AbstractPopupMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addPopupMessageListener(SystrayPopupMessageListener listener)
Adds a SystrayPopupMessageListener to this instance so that it
receives SystrayPopupMessageEvents.
|
protected void |
firePopupMessageClicked(SystrayPopupMessageEvent evt)
Notifies the SystrayPopupMessageListeners registered with this
instance that a SystrayPopupMessageEvent has occurred.
|
void |
removePopupMessageListener(SystrayPopupMessageListener listener)
Removes a SystrayPopupMessageListener from this instance so that
it no longer receives SystrayPopupMessageEvents.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreferenceIndex, showPopupMessage, toString
public void addPopupMessageListener(SystrayPopupMessageListener listener)
addPopupMessageListener
in interface PopupMessageHandler
listener
- the SystrayPopupMessageListener to be added to
this instancePopupMessageHandler.addPopupMessageListener(
SystrayPopupMessageListener)
protected void firePopupMessageClicked(SystrayPopupMessageEvent evt)
evt
- the SystrayPopupMessageEvent to be fired to the
SystrayPopupMessageListeners registered with this instancepublic void removePopupMessageListener(SystrayPopupMessageListener listener)
removePopupMessageListener
in interface PopupMessageHandler
listener
- the SystrayPopupMessageListener to be removed
from this instancePopupMessageHandler.removePopupMessageListener(
SystrayPopupMessageListener)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.