net.java.sip.communicator.service.systray
Class AbstractPopupMessageHandler
java.lang.Object
net.java.sip.communicator.service.systray.AbstractPopupMessageHandler
- All Implemented Interfaces:
- PopupMessageHandler
- Direct Known Subclasses:
- GalagoPopupMessageHandler, GrowlNotificationServiceImpl, PopupMessageHandlerSwingImpl, PopupMessageHandlerTrayIconImpl
public abstract class AbstractPopupMessageHandler
- extends Object
- implements PopupMessageHandler
Abstract base implementation of PopupMessageHandler which
facilitates the full implementation of the interface.
- Author:
- Lubomir Marinov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPopupMessageHandler
public AbstractPopupMessageHandler()
addPopupMessageListener
public void addPopupMessageListener(SystrayPopupMessageListener listener)
- Adds a SystrayPopupMessageListener to this instance so that it
receives SystrayPopupMessageEvents.
- Specified by:
addPopupMessageListener in interface PopupMessageHandler
- Parameters:
listener - the SystrayPopupMessageListener to be added to
this instance- See Also:
PopupMessageHandler.addPopupMessageListener(
SystrayPopupMessageListener)
firePopupMessageClicked
protected void firePopupMessageClicked(SystrayPopupMessageEvent evt)
- Notifies the SystrayPopupMessageListeners registered with this
instance that a SystrayPopupMessageEvent has occurred.
- Parameters:
evt - the SystrayPopupMessageEvent to be fired to the
SystrayPopupMessageListeners registered with this instance
removePopupMessageListener
public void removePopupMessageListener(SystrayPopupMessageListener listener)
- Removes a SystrayPopupMessageListener from this instance so that
it no longer receives SystrayPopupMessageEvents.
- Specified by:
removePopupMessageListener in interface PopupMessageHandler
- Parameters:
listener - the SystrayPopupMessageListener to be removed
from this instance- See Also:
PopupMessageHandler.removePopupMessageListener(
SystrayPopupMessageListener)
SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.