public abstract class UIGroup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_CONTACTS
The maximum number of contacts in the group.
|
static int |
MAX_GROUPS
The maximum number of contacts in the contact source.
|
Constructor and Description |
---|
UIGroup() |
Modifier and Type | Method and Description |
---|---|
abstract int |
countChildContacts()
Returns the child contacts count.
|
abstract int |
countOnlineChildContacts()
Returns the count of online child contacts.
|
java.util.Collection<? extends javax.swing.JButton> |
getCustomActionButtons()
Returns all custom action buttons for this group.
|
abstract java.lang.Object |
getDescriptor()
Returns the descriptor of the group.
|
java.lang.String |
getDisplayDetails()
Returns the display details of this contact.
|
abstract java.lang.String |
getDisplayName()
The display name of the group.
|
abstract java.lang.String |
getId()
Returns the identifier of this group.
|
abstract UIGroup |
getParentGroup()
Returns the parent group.
|
int |
getPreferredHeight()
Returns the preferred height of this group in the contact list.
|
abstract java.awt.Component |
getRightButtonMenu()
Returns the right button menu for this group.
|
abstract int |
getSourceIndex()
Returns the index of this group in its source.
|
abstract boolean |
isGroupCollapsed()
Indicates if the group is collapsed or expanded.
|
void |
setDisplayDetails(java.lang.String displayDetails)
Sets the display details of this group.
|
void |
setPreferredHeight(int preferredHeight)
Sets the preferred height of this group in the contact list.
|
public static int MAX_GROUPS
public static int MAX_CONTACTS
public abstract java.lang.Object getDescriptor()
public abstract java.lang.String getDisplayName()
public java.lang.String getDisplayDetails()
public void setDisplayDetails(java.lang.String displayDetails)
public abstract int getSourceIndex()
public abstract UIGroup getParentGroup()
public abstract boolean isGroupCollapsed()
public abstract int countOnlineChildContacts()
public abstract int countChildContacts()
public abstract java.lang.String getId()
public abstract java.awt.Component getRightButtonMenu()
public int getPreferredHeight()
public void setPreferredHeight(int preferredHeight)
preferredHeight
- the preferred height of this group in the contact
listpublic java.util.Collection<? extends javax.swing.JButton> getCustomActionButtons()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.