Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main
Class UINotification

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.UINotification

public class UINotification
extends Object

The UINotification class represents a notification received in the user interface. This could be a missed call, voicemail, email notification or any other notification.

Author:
Yana Stamcheva

Constructor Summary
UINotification(String displayName, Date time, UINotificationGroup parentGroup)
          Creates an instance of UINotification by specifying the notification name and time.
 
Method Summary
 String getDisplayName()
          Returns the name associated with this notification.
 UINotificationGroup getGroup()
          Returns the parent notification group.
 Date getTime()
          Returns the time the notification was received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UINotification

public UINotification(String displayName,
                      Date time,
                      UINotificationGroup parentGroup)
Creates an instance of UINotification by specifying the notification name and time. notification belongs

Parameters:
displayName - the name associated to this notification
time - the time when the notification was received
parentGroup - the group of notifications, to which this notification belongs
Method Detail

getDisplayName

public String getDisplayName()
Returns the name associated with this notification.

Returns:
the name associated with this notification

getTime

public Date getTime()
Returns the time the notification was received.

Returns:
the time the notification was received

getGroup

public UINotificationGroup getGroup()
Returns the parent notification group.

Returns:
the parent notification group

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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