|
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.contactlist.notifsource.NotificationGroup
public class NotificationGroup
The NotificationGroup represents a group of notification entries shown in the contact list history view. It could represent the voice messages,.emails, etc.
| Constructor Summary | |
|---|---|
NotificationGroup(OperationSetMessageWaiting.MessageType type)
Creates an instance of NotificationGroup by specifying the message type. |
|
| Method Summary | |
|---|---|
int |
countChildContacts()
Returns the child contacts count. |
int |
countOnlineChildContacts()
Returns the count of online child contacts. |
Object |
getDescriptor()
Returns the descriptor of the group. |
String |
getDisplayName()
The display name of the group. |
GroupNode |
getGroupNode()
Returns the GroupNode corresponding to this UIGroup. |
String |
getId()
Returns the identifier of this group. |
OperationSetMessageWaiting.MessageType |
getMessageType()
Returns the message type indicating the identity of this group. |
Iterator<? extends UIContact> |
getNotifications()
Returns an Iterator over a list of all notification contacts contained in this group. |
UIGroup |
getParentGroup()
Returns null to indicate that the parent group is the root group. |
JPopupMenu |
getRightButtonMenu()
Returns null to indicate that there's no right button menu provided for this group. |
int |
getSourceIndex()
Returns the index of this group in its source. |
boolean |
isGroupCollapsed()
Returns false to indicate that this group is never collapsed. |
void |
messageWaitingNotify(MessageWaitingEvent event)
Creates all necessary notification contacts coming from the given MessageWaitingEvent. |
void |
setGroupNode(GroupNode groupNode)
Sets the GroupNode corresponding to this UIGroup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationGroup(OperationSetMessageWaiting.MessageType type)
type - the type of messages that this group would contain| Method Detail |
|---|
public Object getDescriptor()
getDescriptor in interface UIGrouppublic String getDisplayName()
getDisplayName in interface UIGrouppublic int getSourceIndex()
getSourceIndex in interface UIGrouppublic UIGroup getParentGroup()
getParentGroup in interface UIGrouppublic boolean isGroupCollapsed()
isGroupCollapsed in interface UIGrouppublic int countOnlineChildContacts()
countOnlineChildContacts in interface UIGrouppublic int countChildContacts()
countChildContacts in interface UIGrouppublic String getId()
getId in interface UIGrouppublic GroupNode getGroupNode()
getGroupNode in interface UIGrouppublic void setGroupNode(GroupNode groupNode)
setGroupNode in interface UIGroupgroupNode - the GroupNode to set. The is the actual
node used in the contact list component data model.public JPopupMenu getRightButtonMenu()
getRightButtonMenu in interface UIGrouppublic Iterator<? extends UIContact> getNotifications()
public OperationSetMessageWaiting.MessageType getMessageType()
public void messageWaitingNotify(MessageWaitingEvent event)
event - the MessageWaitingEvent that notified us
|
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 | |||||||||