|
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.UIContactDetail
public abstract class UIContactDetail
The UIContactDetail corresponds to a particular contact detail, phone number, IM identifier, email, etc. which has it's preferred mode of transport ProtocolProviderService.
| Constructor Summary | |
|---|---|
UIContactDetail(String address,
String displayName,
String category,
Collection<String> labels,
ImageIcon statusIcon,
ProtocolProviderService preferredProvider,
String preferredProtocol)
Creates a UIContactDetail by specifying the contact address, the displayName and preferredProvider. |
|
| Method Summary | |
|---|---|
String |
getAddress()
Returns the address of this detail. |
String |
getCategory()
Returns the category of the underlying detail. |
String |
getDisplayName()
Returns the display name of this detail. |
Iterator<String> |
getLabels()
Returns an iterator over the collection of labels associated with this detail. |
String |
getPreferredProtocol(Class<? extends OperationSet> opSetClass)
Returns the name of the protocol preferred for contacting this detail for the given OperationSet class if no preferred protocol provider is set. |
ProtocolProviderService |
getPreferredProtocolProvider(Class<? extends OperationSet> opSetClass)
Returns the protocol provider preferred for contacting this detail for the given OperationSet class. |
String |
getPrefix()
Returns the prefix to be used when calling this contact detail. |
abstract PresenceStatus |
getPresenceStatus()
Returns the PresenceStatus of this ContactDetail or null if the detail doesn't support presence. |
ImageIcon |
getStatusIcon()
Returns the status icon of this contact detail. |
void |
setPrefix(String prefix)
Sets the prefix to be used when calling this contact detail. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIContactDetail(String address,
String displayName,
String category,
Collection<String> labels,
ImageIcon statusIcon,
ProtocolProviderService preferredProvider,
String preferredProtocol)
address - the contact addressdisplayName - the contact display namecategory - the category of the underlying contact detaillabels - the collection of labels associated with this detailstatusIcon - the status icon of this contact detailpreferredProvider - the preferred protocol providerpreferredProtocol - the preferred protocol if no protocol provider
is set| Method Detail |
|---|
public String getDisplayName()
public String getAddress()
public String getCategory()
public Iterator<String> getLabels()
public ImageIcon getStatusIcon()
public ProtocolProviderService getPreferredProtocolProvider(Class<? extends OperationSet> opSetClass)
opSetClass - the OperationSet class for which we're looking
for provider
public String getPreferredProtocol(Class<? extends OperationSet> opSetClass)
opSetClass - the OperationSet class for which we're looking
for protocol
public String getPrefix()
public void setPrefix(String prefix)
prefix - the prefix to be used when calling this contact detailpublic abstract PresenceStatus getPresenceStatus()
|
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 | |||||||||