public class GrowlNotificationServiceImpl extends AbstractPopupMessageHandler implements org.growl4j.GrowlCallbacksListener
Constructor and Description |
---|
GrowlNotificationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getPreferenceIndex()
Implements getPreferenceIndex from PopupMessageHandler.
|
void |
growlNotificationTimedOut(java.lang.Object context)
This method is called by Growl when the Growl notification is not clicked
|
void |
growlNotificationWasClicked(java.lang.Object context)
This method is called by Growl when the Growl notification is clicked
|
void |
showPopupMessage(PopupMessage popupMessage)
Implements PopupMessageHandler#showPopupMessage()
|
void |
start(org.osgi.framework.BundleContext bc)
Starts the service.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops the service.
|
java.lang.String |
toString()
Implements toString from PopupMessageHandler.
|
addPopupMessageListener, firePopupMessageClicked, removePopupMessageListener
public void start(org.osgi.framework.BundleContext bc)
bc
- a currently valid bundle contextpublic void stop(org.osgi.framework.BundleContext bc)
bc
- BundleContextpublic void showPopupMessage(PopupMessage popupMessage)
showPopupMessage
in interface PopupMessageHandler
popupMessage
- the message we will showpublic void growlNotificationTimedOut(java.lang.Object context)
growlNotificationTimedOut
in interface org.growl4j.GrowlCallbacksListener
context
- an object identifying the notificationpublic void growlNotificationWasClicked(java.lang.Object context)
growlNotificationWasClicked
in interface org.growl4j.GrowlCallbacksListener
context
- an object identifying the notificationpublic java.lang.String toString()
toString
in interface PopupMessageHandler
toString
in class java.lang.Object
public int getPreferenceIndex()
getPreferenceIndex
in interface PopupMessageHandler
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.