public abstract class UIContact
extends java.lang.Object
Constructor and Description |
---|
UIContact() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<? extends javax.swing.JButton> |
getContactCustomActionButtons()
Returns all custom action buttons for this notification contact.
|
java.util.Collection<javax.swing.JMenuItem> |
getContactCustomActionMenuItems(boolean initActions)
Returns all custom action menu items for this contact.
|
abstract java.util.List<UIContactDetail> |
getContactDetails()
Returns a list of all UIContactDetails within this
UIContact.
|
abstract java.util.List<UIContactDetail> |
getContactDetailsForOperationSet(java.lang.Class<? extends OperationSet> opSetClass)
Returns a list of all UIContactDetails corresponding to the
given OperationSet class.
|
abstract UIContactDetail |
getDefaultContactDetail(java.lang.Class<? extends OperationSet> opSetClass)
Returns the default ContactDetail to use for any operations
depending to the given OperationSet class.
|
abstract java.lang.Object |
getDescriptor()
Returns the descriptor of this contact.
|
abstract java.lang.String |
getDisplayDetails()
Returns the display details of this contact.
|
abstract java.lang.String |
getDisplayName()
Returns the display name of this contact.
|
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 component.
|
abstract java.util.Iterator<java.lang.String> |
getSearchStrings()
Returns an Iterator over a list of the search strings of this
contact.
|
abstract int |
getSourceIndex()
Returns the index of this contact in its source.
|
abstract ExtendedTooltip |
getToolTip()
Creates a tool tip for this contact.
|
abstract void |
setParentGroup(UIGroup parentGroup)
Sets the given UIGroup to be the parent group of this
UIContact.
|
public abstract java.lang.Object getDescriptor()
public abstract java.lang.String getDisplayName()
public abstract java.lang.String getDisplayDetails()
public abstract int getSourceIndex()
public abstract ExtendedTooltip getToolTip()
public abstract java.awt.Component getRightButtonMenu()
public abstract UIGroup getParentGroup()
public abstract void setParentGroup(UIGroup parentGroup)
parentGroup
- the parent UIGroup of this contactpublic abstract java.util.Iterator<java.lang.String> getSearchStrings()
public abstract UIContactDetail getDefaultContactDetail(java.lang.Class<? extends OperationSet> opSetClass)
opSetClass
- the OperationSet class we're interested inpublic abstract java.util.List<UIContactDetail> getContactDetailsForOperationSet(java.lang.Class<? extends OperationSet> opSetClass)
opSetClass
- the OperationSet class we're looking forpublic abstract java.util.List<UIContactDetail> getContactDetails()
public abstract java.util.Collection<? extends javax.swing.JButton> getContactCustomActionButtons()
public int getPreferredHeight()
public java.util.Collection<javax.swing.JMenuItem> getContactCustomActionMenuItems(boolean initActions)
initActions
- if true the actions will be reloaded.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.