public class MacOSXAddrBookContactDetail extends EditableContactDetail
ContactDetail.Category, ContactDetail.SubCategory
contactDetailValue
Constructor and Description |
---|
MacOSXAddrBookContactDetail(int property,
java.lang.String contactDetailValue,
ContactDetail.Category category,
ContactDetail.SubCategory[] subCategories,
java.lang.String subPropertyLabel,
java.lang.String id)
Initializes a new ContactDetail instance which is to represent a
specific contact address and which is to be optionally labeled with a
specific set of labels.
|
Modifier and Type | Method and Description |
---|---|
int |
getProperty()
Returns the property index for this detail.
|
java.lang.String |
getSubPropertyLabel()
Returns the sub property.
|
static boolean |
isMultiline(ContactDetail.Category category)
Whether the value for the category are multiline.
|
void |
setDetail(java.lang.String value)
Sets the given detail value.
|
getSourceContact, setSourceContact
addSupportedOpSet, containsSubCategory, getCategory, getDetail, getDisplayName, getPreferredProtocol, getPreferredProtocolProvider, getSubCategories, getSupportedOperationSets, setPreferredProtocols, setPreferredProviders, setSupportedOpSets
public MacOSXAddrBookContactDetail(int property, java.lang.String contactDetailValue, ContactDetail.Category category, ContactDetail.SubCategory[] subCategories, java.lang.String subPropertyLabel, java.lang.String id)
contactDetailValue
- the contact detail value to be represented by
the new ContactDetail instancecategory
- subCategories
- the set of sub categories with which the new
ContactDetail instance is to be labeled.id
- The id of the detail.public static boolean isMultiline(ContactDetail.Category category)
category
- public void setDetail(java.lang.String value)
setDetail
in class EditableContactDetail
value
- the new value of the detailpublic java.lang.String getSubPropertyLabel()
public final int getProperty()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.