public class NotificationGroup extends UIGroupImpl
MAX_CONTACTS, MAX_GROUPS
Constructor and Description |
---|
NotificationGroup(java.lang.String groupName)
Creates an instance of NotificationGroup by specifying the
message type.
|
Modifier and Type | Method and Description |
---|---|
int |
countChildContacts()
Returns the child contacts count.
|
int |
countOnlineChildContacts()
Returns the count of online child contacts.
|
java.lang.Object |
getDescriptor()
Returns the descriptor of the group.
|
java.lang.String |
getDisplayName()
The display name of the group.
|
GroupNode |
getGroupNode()
Returns the GroupNode corresponding to this UIGroup.
|
java.lang.String |
getId()
Returns the identifier of this group.
|
java.util.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.
|
javax.swing.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.
|
getCustomActionButtons, getDisplayDetails, getPreferredHeight, setDisplayDetails, setPreferredHeight
public NotificationGroup(java.lang.String groupName)
groupName
- the group name.public java.lang.Object getDescriptor()
getDescriptor
in class UIGroup
public java.lang.String getDisplayName()
getDisplayName
in class UIGroup
public int getSourceIndex()
getSourceIndex
in class UIGroup
public UIGroup getParentGroup()
getParentGroup
in class UIGroup
public boolean isGroupCollapsed()
isGroupCollapsed
in class UIGroup
public int countOnlineChildContacts()
countOnlineChildContacts
in class UIGroup
public int countChildContacts()
countChildContacts
in class UIGroup
public java.lang.String getId()
public GroupNode getGroupNode()
getGroupNode
in class UIGroupImpl
public void setGroupNode(GroupNode groupNode)
setGroupNode
in class UIGroupImpl
groupNode
- the GroupNode to set. The is the actual
node used in the contact list component data model.public javax.swing.JPopupMenu getRightButtonMenu()
getRightButtonMenu
in class UIGroup
public java.util.Iterator<? extends UIContact> getNotifications()
public void messageWaitingNotify(MessageWaitingEvent event)
event
- the MessageWaitingEvent that notified us
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.