|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.UINotificationManager
public class UINotificationManager
The UINotificationManager manages all notifications dedicated to be shown in the main application window. These could be missed calls, voice messages, etc.
| Constructor Summary | |
|---|---|
UINotificationManager()
|
|
| Method Summary | |
|---|---|
static void |
addNotification(UINotification notification)
Adds the given notification to the list of unread notifications and notifies interested listeners. |
static void |
addNotificationListener(UINotificationListener l)
Adds the given UINotificationListener to the list of listeners that would be notified on any changes in missed calls count. |
static Collection<UINotificationGroup> |
getNotificationGroups()
Returns a list of all notification groups. |
static Iterator<UINotification> |
getUnreadNotifications(UINotificationGroup group)
Returns a list of all unread notifications. |
static void |
removeAllNotifications()
Removes all unread notifications from all notification groups. |
static void |
removeAllNotifications(UINotificationGroup group)
Removes all unread notifications. |
static void |
removeNotificationListener(UINotificationListener l)
Removes the given UINotificationListener from the list of listeners that are notified on any changes in missed calls count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UINotificationManager()
| Method Detail |
|---|
public static void addNotificationListener(UINotificationListener l)
l - the UINotificationListener to addpublic static void removeNotificationListener(UINotificationListener l)
l - the UINotificationListener to removepublic static void addNotification(UINotification notification)
notification - the UINotification to addpublic static void removeAllNotifications(UINotificationGroup group)
group - removes all unread notifications for the given notification
grouppublic static void removeAllNotifications()
public static Iterator<UINotification> getUnreadNotifications(UINotificationGroup group)
group - the notification group, which notification we're looking
for
public static Collection<UINotificationGroup> getNotificationGroups()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||