public class InviteUIContact extends GenericUIContactImpl
Constructor and Description |
---|
InviteUIContact(UIContact uiContact,
ProtocolProviderService protocolProvider)
Creates an instance of InviteUIContact.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<UIContactDetail> |
getContactDetails()
Returns a list of all contained UIContactDetails.
|
java.util.List<UIContactDetail> |
getContactDetailsForOperationSet(java.lang.Class<? extends OperationSet> opSetClass)
Returns a list of UIContactDetails supporting the given
OperationSet class.
|
UIContactDetail |
getDefaultContactDetail(java.lang.Class<? extends OperationSet> opSetClass)
Returns the default ContactDetail to use for any operations
depending to the given OperationSet class.
|
javax.swing.ImageIcon |
getScaledAvatar(boolean isSelected,
int width,
int height)
Returns the avatar of this UIContact.
|
javax.swing.ImageIcon |
getStatusIcon()
Returns the status icon of this contact.
|
addContactDetails, getContactCustomActionButtons, getContactNode, getDescriptor, getDisplayDetails, getDisplayName, getParentGroup, getRightButtonMenu, getSearchStrings, getSourceIndex, getToolTip, setAvatar, setContactCustomActionButtons, setContactDetails, setContactNode, setDisplayDetails, setParentGroup, setSearchStrings, setSourceIndex, setStatusIcon
filterAddressDisplay, getAvatar
getContactCustomActionMenuItems, getPreferredHeight
public InviteUIContact(UIContact uiContact, ProtocolProviderService protocolProvider)
uiContact
- the source UIContact.protocolProvider
- the backup protocol provider to use if no other
protocol provider has been specified in the source ui contactpublic java.util.List<UIContactDetail> getContactDetailsForOperationSet(java.lang.Class<? extends OperationSet> opSetClass)
getContactDetailsForOperationSet
in class GenericUIContactImpl
opSetClass
- the OperationSet class we're interested inpublic java.util.List<UIContactDetail> getContactDetails()
getContactDetails
in class GenericUIContactImpl
public UIContactDetail getDefaultContactDetail(java.lang.Class<? extends OperationSet> opSetClass)
getDefaultContactDetail
in class GenericUIContactImpl
opSetClass
- the OperationSet class we're interested inpublic javax.swing.ImageIcon getScaledAvatar(boolean isSelected, int width, int height)
getScaledAvatar
in class GenericUIContactImpl
isSelected
- indicates if the avatar is selectedwidth
- avatar preferred widthheight
- avatar preferred heightpublic javax.swing.ImageIcon getStatusIcon()
getStatusIcon
in class GenericUIContactImpl
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.