|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UIContact
The UIContact represents the user interface contact contained in the contact list component.
| Method Summary | |
|---|---|
ImageIcon |
getAvatar(boolean isSelected,
int width,
int height)
Returns the avatar of this contact. |
List<UIContactDetail> |
getContactDetailsForOperationSet(Class<? extends OperationSet> opSetClass)
Returns a list of all UIContactDetails corresponding to the given OperationSet class. |
ContactNode |
getContactNode()
Returns the corresponding ContactNode. |
UIContactDetail |
getDefaultContactDetail(Class<? extends OperationSet> opSetClass)
Returns the default ContactDetail to use for any operations depending to the given OperationSet class. |
Object |
getDescriptor()
Returns the descriptor of this contact. |
String |
getDisplayDetails()
Returns the display details of this contact. |
String |
getDisplayName()
Returns the display name of this contact. |
UIGroup |
getParentGroup()
Returns the parent group. |
JPopupMenu |
getRightButtonMenu()
Returns the right button menu component. |
Iterator<String> |
getSearchStrings()
Returns an Iterator over a list of the search strings of this contact. |
int |
getSourceIndex()
Returns the index of this contact in its source. |
ImageIcon |
getStatusIcon()
Returns the status icon of this contact or null if no status is available. |
ExtendedTooltip |
getToolTip()
Creates a tool tip for this contact. |
void |
setContactNode(ContactNode contactNode)
Sets the given contactNode. |
void |
setParentGroup(UIGroup parentGroup)
Sets the given UIGroup to be the parent group of this UIContact. |
| Method Detail |
|---|
Object getDescriptor()
String getDisplayName()
String getDisplayDetails()
int getSourceIndex()
ImageIcon getAvatar(boolean isSelected,
int width,
int height)
isSelected - indicates if the contact is selectedwidth - the width of the avatarheight - the height of the avatar
ImageIcon getStatusIcon()
ExtendedTooltip getToolTip()
JPopupMenu getRightButtonMenu()
UIGroup getParentGroup()
void setParentGroup(UIGroup parentGroup)
parentGroup - the parent UIGroup of this contactIterator<String> getSearchStrings()
ContactNode getContactNode()
void setContactNode(ContactNode contactNode)
contactNode - the ContactNode that corresponds to this
UIGroupUIContactDetail getDefaultContactDetail(Class<? extends OperationSet> opSetClass)
opSetClass - the OperationSet class we're interested in
List<UIContactDetail> getContactDetailsForOperationSet(Class<? extends OperationSet> opSetClass)
opSetClass - the OperationSet class we're looking for
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||