public class MetaUIGroup extends UIGroupImpl
MAX_CONTACTS, MAX_GROUPS
Constructor and Description |
---|
MetaUIGroup(MetaContactGroup metaGroup)
Creates an instance of MetaUIGroup by specifying the underlying
MetaContactGroup.
|
Modifier and Type | Method and Description |
---|---|
int |
countChildContacts()
Returns the count of child contacts of the underlying
MetaContactGroup.
|
int |
countOnlineChildContacts()
Returns the count of online child contacts of the underlying
MetaContactGroup.
|
java.lang.Object |
getDescriptor()
Returns the underlying MetaContactGroup.
|
java.lang.String |
getDisplayName()
Returns the display name of the underlying MetaContactGroup.
|
GroupNode |
getGroupNode()
Returns the corresponding GroupNode.
|
java.lang.String |
getId()
Returns the identifier of the underlying MetaContactGroup.
|
UIGroup |
getParentGroup()
Returns the parent UIGroup.
|
javax.swing.JPopupMenu |
getRightButtonMenu()
Returns the JPopupMenu opened on a right button click over this
group in the contact list.
|
int |
getSourceIndex()
Returns the index of the underlying MetaContactGroup in its
MetaContactListService parent group.
|
boolean |
isGroupCollapsed()
Indicates if this group was collapsed.
|
void |
setGroupNode(GroupNode groupNode)
Sets the corresponding GroupNode.
|
getCustomActionButtons, getDisplayDetails, getPreferredHeight, setDisplayDetails, setPreferredHeight
public MetaUIGroup(MetaContactGroup metaGroup)
metaGroup
- the MetaContactGroup, on which this UI group
is basedpublic java.lang.Object getDescriptor()
getDescriptor
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 java.lang.String getDisplayName()
getDisplayName
in class UIGroup
public int countChildContacts()
countChildContacts
in class UIGroup
public int countOnlineChildContacts()
countOnlineChildContacts
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 corresponding GroupNoe in the contact list
component data modelpublic javax.swing.JPopupMenu getRightButtonMenu()
getRightButtonMenu
in class UIGroup
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.