public class ExternalContactSource.SourceUIGroup extends UIGroupImpl
MAX_CONTACTS, MAX_GROUPS
Constructor and Description |
---|
SourceUIGroup(java.lang.String name,
ExternalContactSource parentUISource)
Creates an instance of SourceUIGroup.
|
Modifier and Type | Method and Description |
---|---|
int |
countChildContacts()
Returns -1 to indicate that the child count is unknown.
|
int |
countOnlineChildContacts()
Returns -1 to indicate that the child count is unknown.
|
java.util.Collection<SIPCommButton> |
getCustomActionButtons()
Returns all custom action buttons for this group.
|
java.lang.Object |
getDescriptor()
Returns the display name of the group.
|
java.lang.String |
getDisplayName()
Returns the display name of this group.
|
GroupNode |
getGroupNode()
Returns the corresponding GroupNode.
|
java.lang.String |
getId()
Returns null to indicate that this group doesn't have an identifier.
|
UIGroup |
getParentGroup()
Returns null to indicate that this group doesn't have a parent group
and can be added directly to the root group.
|
ExternalContactSource |
getParentUISource() |
javax.swing.JPopupMenu |
getRightButtonMenu()
Returns the right button menu for this group.
|
int |
getSourceIndex()
Returns -1 to indicate that this group doesn't have a source index.
|
boolean |
isGroupCollapsed()
Returns false to indicate that this group is always opened.
|
void |
setGroupNode(GroupNode groupNode)
Sets the given groupNode.
|
getDisplayDetails, getPreferredHeight, setDisplayDetails, setPreferredHeight
public SourceUIGroup(java.lang.String name, ExternalContactSource parentUISource)
name
- the name of the grouppublic ExternalContactSource getParentUISource()
public UIGroup getParentGroup()
getParentGroup
in class UIGroup
public int getSourceIndex()
getSourceIndex
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.Object getDescriptor()
getDescriptor
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 setpublic javax.swing.JPopupMenu getRightButtonMenu()
getRightButtonMenu
in class UIGroup
public java.util.Collection<SIPCommButton> getCustomActionButtons()
getCustomActionButtons
in class UIGroup
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.