public class GalagoPopupMessageHandler extends AbstractPopupMessageHandler
Constructor and Description |
---|
GalagoPopupMessageHandler(boolean iconStaticIsImplemented)
Initializes a new GalagoPopupMessageHandler instance with an
indicator which determines whether the freedesktop.org Desktop
Notifications server has reported that it implements the "icon-static"
hint and the new instance has to send it the icons of the
PopupMessages for display.
|
Modifier and Type | Method and Description |
---|---|
int |
getPreferenceIndex()
Returns the preference index of this PopupMessageHandler which
indicates how many features it supports.
|
void |
showPopupMessage(PopupMessage popupMessage)
Shows the title and the message of the specified PopupMessage.
|
java.lang.String |
toString()
Gets the human-readable localized description of this
PopupMessageHandler.
|
addPopupMessageListener, firePopupMessageClicked, removePopupMessageListener
public GalagoPopupMessageHandler(boolean iconStaticIsImplemented)
iconStaticIsImplemented
- true if the freedesktop.org
Desktop Notifications server has reported that it implements the
"icon-static" hint and the new instance has to send it the icons of the
PopupMessages for display; otherwise, false and the
new instance will not send the icons of the PopupMessages for
displaypublic int getPreferenceIndex()
PopupMessageHandler.getPreferenceIndex()
public void showPopupMessage(PopupMessage popupMessage)
popupMessage
- the PopupMessage specifying the title and
the message to be shownPopupMessageHandler.showPopupMessage(PopupMessage)
public java.lang.String toString()
toString
in interface PopupMessageHandler
toString
in class java.lang.Object
PopupMessageHandler.toString()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.