|
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.MetaUIContact
public class MetaUIContact
The MetaUIContact is the implementation of the UIContact interface for the MetaContactListService. This implementation is based on the MetaContact.
| Field Summary | |
|---|---|
(package private) boolean |
subscribed
The subscription status of this meta contact. |
| Constructor Summary | |
|---|---|
MetaUIContact(MetaContact metaContact)
Creates an instance of MetaUIContact by specifying the underlying MetaContact, on which it's based. |
|
| Method Summary | |
|---|---|
ImageIcon |
getAvatar(boolean isSelected,
int width,
int height)
Gets the avatar of a specific MetaContact in the form of an ImageIcon value. |
List<UIContactDetail> |
getContactDetailsForOperationSet(Class<? extends OperationSet> opSetClass)
Returns a list of UIContactDetails supporting the given OperationSet class. |
ContactNode |
getContactNode()
Returns the corresponding ContactNode in the contact list component data model. |
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 MetaContact. |
String |
getDisplayDetails()
Returns the display details for the underlying MetaContact. |
String |
getDisplayName()
Returns the display name of this MetaUIContact. |
UIGroup |
getParentGroup()
Returns the parent UIGroup. |
JPopupMenu |
getRightButtonMenu()
Returns the right button menu component. |
Iterator<String> |
getSearchStrings()
Returns an Iterator over a list of strings, which can be used to find this contact. |
int |
getSourceIndex()
Returns the index of the underlying MetaContact in its MetaContactListService parent group. |
ImageIcon |
getStatusIcon()
Returns the general status icon of the given MetaContact. |
ExtendedTooltip |
getToolTip()
Returns the tool tip opened on mouse over. |
void |
setContactNode(ContactNode contactNode)
Sets the corresponding ContactNode. |
void |
setParentGroup(UIGroup parentGroup)
Sets the given parentGroup to be the parent UIGroup of this MetaUIContact. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean subscribed
| Constructor Detail |
|---|
public MetaUIContact(MetaContact metaContact)
metaContact - the MetaContact, on which this implementation
is based| Method Detail |
|---|
public Object getDescriptor()
getDescriptor in interface UIContactpublic String getDisplayName()
getDisplayName in interface UIContactpublic int getSourceIndex()
getSourceIndex in interface UIContactpublic Iterator<String> getSearchStrings()
getSearchStrings in interface UIContactpublic ImageIcon getStatusIcon()
getStatusIcon in interface UIContactpublic UIGroup getParentGroup()
getParentGroup in interface UIContactpublic void setParentGroup(UIGroup parentGroup)
setParentGroup in interface UIContactparentGroup - the parent UIGroup to setpublic UIContactDetail getDefaultContactDetail(Class<? extends OperationSet> opSetClass)
getDefaultContactDetail in interface UIContactopSetClass - the OperationSet class we're interested in
public List<UIContactDetail> getContactDetailsForOperationSet(Class<? extends OperationSet> opSetClass)
getContactDetailsForOperationSet in interface UIContactopSetClass - the OperationSet class we're interested in
public ImageIcon getAvatar(boolean isSelected,
int width,
int height)
getAvatar in interface UIContactisSelected - indicates if the contact is selectedwidth - the desired icon widthheight - the desired icon height
public String getDisplayDetails()
getDisplayDetails in interface UIContactpublic ExtendedTooltip getToolTip()
getToolTip in interface UIContactpublic ContactNode getContactNode()
getContactNode in interface UIContactpublic void setContactNode(ContactNode contactNode)
setContactNode in interface UIContactcontactNode - the corresponding ContactNode in the contact
list component data modelpublic JPopupMenu getRightButtonMenu()
getRightButtonMenu 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 | |||||||||