Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.notification
Class PopupMessageNotificationHandlerImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.notification.PopupMessageNotificationHandlerImpl
All Implemented Interfaces:
NotificationHandler, PopupMessageNotificationHandler

public class PopupMessageNotificationHandlerImpl
extends Object
implements PopupMessageNotificationHandler

An implementation of the PopupMessageNotificationHandler interface.

Author:
Yana Stamcheva

Constructor Summary
PopupMessageNotificationHandlerImpl()
           
 
Method Summary
 String getActionType()
          Gets the type of this handler.
 void popupMessage(PopupMessageNotificationAction action, String title, String message, byte[] icon, Object tag)
          Shows the given PopupMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupMessageNotificationHandlerImpl

public PopupMessageNotificationHandlerImpl()
Method Detail

getActionType

public String getActionType()
Gets the type of this handler.

Specified by:
getActionType in interface NotificationHandler
Returns:
the type of this handler.

popupMessage

public void popupMessage(PopupMessageNotificationAction action,
                         String title,
                         String message,
                         byte[] icon,
                         Object tag)
Shows the given PopupMessage

Specified by:
popupMessage in interface PopupMessageNotificationHandler
Parameters:
action - the action to act upon
title - the title of the given message
message - the message to use if and where appropriate (e.g. with systray or log notification.)
icon - the icon to show in the notification if and where appropriate
tag - additional info to be used by the notification handler

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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