public abstract class UIContactImpl extends UIContact
Constructor and Description |
---|
UIContactImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
filterAddressDisplay(java.lang.String addressToDisplay)
Filter address display if enabled will remove domain part of the
addresses to show.
|
byte[] |
getAvatar()
Gets the avatar of a specific UIContact in the form of an
ImageIcon value.
|
abstract ContactNode |
getContactNode()
Returns the corresponding ContactNode.
|
abstract java.lang.String |
getDisplayName()
Returns the display name of this UIContact.
|
abstract javax.swing.ImageIcon |
getScaledAvatar(boolean isSelected,
int width,
int height)
Gets the avatar of a specific UIContact in the form of an
ImageIcon value.
|
abstract javax.swing.ImageIcon |
getStatusIcon()
Returns the general status icon of the given UIContact.
|
abstract void |
setContactNode(ContactNode contactNode)
Sets the given contactNode.
|
getContactCustomActionButtons, getContactCustomActionMenuItems, getContactDetails, getContactDetailsForOperationSet, getDefaultContactDetail, getDescriptor, getDisplayDetails, getParentGroup, getPreferredHeight, getRightButtonMenu, getSearchStrings, getSourceIndex, getToolTip, setParentGroup
public abstract ContactNode getContactNode()
public abstract void setContactNode(ContactNode contactNode)
contactNode
- the ContactNode that corresponds to this
UIGrouppublic abstract javax.swing.ImageIcon getStatusIcon()
public abstract javax.swing.ImageIcon getScaledAvatar(boolean isSelected, int width, int height)
isSelected
- indicates if the contact is selectedwidth
- the desired icon widthheight
- the desired icon heightpublic byte[] getAvatar()
public abstract java.lang.String getDisplayName()
getDisplayName
in class UIContact
protected java.lang.String filterAddressDisplay(java.lang.String addressToDisplay)
addressToDisplay
- the address to change
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.