|
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 | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.contactlist.contactsource.SourceUIContact
public class SourceUIContact
The SourceUIContact is the implementation of the UIContact for the ExternalContactSource.
| Constructor Summary | |
|---|---|
SourceUIContact(SourceContact contact,
UIGroup parentGroup)
Creates an instance of SourceUIContact by specifying the SourceContact, on which this abstraction is based and the parent UIGroup. |
|
| Method Summary | |
|---|---|
ImageIcon |
getAvatar(boolean isSelected,
int width,
int height)
Returns the image corresponding to the underlying SourceContact. |
List<UIContactDetail> |
getContactDetailsForOperationSet(Class<? extends OperationSet> opSetClass)
Returns a list of UIContactDetails supporting the given OperationSet class. |
ContactNode |
getContactNode()
Returns the corresponding ContactNode from the contact list component. |
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 underlying SourceContact this abstraction is about. |
String |
getDisplayDetails()
Returns the display details for the underlying SourceContact. |
String |
getDisplayName()
Returns the display name of the underlying SourceContact. |
UIGroup |
getParentGroup()
Returns the parent UIGroup. |
JPopupMenu |
getRightButtonMenu()
Returns the JPopupMenu opened on a right button click over this SourceUIContact. |
Iterator<String> |
getSearchStrings()
Returns an Iterator over a list of strings, which can be used to find this contact. |
int |
getSourceIndex()
Returns -1 to indicate that the source index of the underlying SourceContact is unknown. |
ImageIcon |
getStatusIcon()
Returns null to indicate unknown status of the underlying SourceContact. |
ExtendedTooltip |
getToolTip()
Returns the tool tip opened on mouse over. |
void |
setContactNode(ContactNode contactNode)
Sets the corresponding ContactNode. |
void |
setParentGroup(UIGroup parentGroup)
The parent group of source contacts could not be changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourceUIContact(SourceContact contact,
UIGroup parentGroup)
contact - the SourceContact, on which this abstraction
is basedparentGroup - the parent UIGroup| Method Detail |
|---|
public String getDisplayName()
getDisplayName in interface UIContactpublic UIGroup getParentGroup()
getParentGroup in interface UIContactpublic void setParentGroup(UIGroup parentGroup)
setParentGroup in interface UIContactparentGroup - the parent group to setpublic int getSourceIndex()
getSourceIndex in interface UIContactpublic ImageIcon getStatusIcon()
getStatusIcon in interface UIContact
public ImageIcon getAvatar(boolean isSelected,
int width,
int height)
getAvatar in interface UIContactisSelected - indicates if the contact is currently selected in the
contact list componentwidth - the desired image widthheight - the desired image height
public UIContactDetail getDefaultContactDetail(Class<? extends OperationSet> opSetClass)
getDefaultContactDetail in interface UIContactopSetClass - the OperationSet class we're interested in
public Object getDescriptor()
getDescriptor in interface UIContactpublic String getDisplayDetails()
getDisplayDetails in interface UIContactpublic List<UIContactDetail> getContactDetailsForOperationSet(Class<? extends OperationSet> opSetClass)
getContactDetailsForOperationSet in interface UIContactopSetClass - the OperationSet class we're interested in
public Iterator<String> getSearchStrings()
getSearchStrings in interface UIContactpublic ContactNode getContactNode()
getContactNode in interface UIContactpublic void setContactNode(ContactNode contactNode)
setContactNode in interface UIContactcontactNode - the corresponding ContactNodepublic JPopupMenu getRightButtonMenu()
getRightButtonMenu in interface UIContactpublic ExtendedTooltip getToolTip()
getToolTip in interface UIContact
|
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 | |||||||||