|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MultiValue.MultiValueLabel> corny.addressbook.data.MultiValue.MultiValueLabel
public static enum MultiValue.MultiValueLabel
Enumeration which declares the default MultiValue labels
Enum Constant Summary | |
---|---|
HOME
Home label |
|
HOME_FAX
Home fax label |
|
IPHONE
iPhone label |
|
MAIN
Main label |
|
MOBILE
Mobile phone label |
|
MOBILE_ME
iPhone label |
|
OTHER
"Other" label |
|
PAGER
Pager label |
|
WORK
Work label |
|
WORK_FAX
Work fax label |
Method Summary | |
---|---|
void |
addRegularExpressionsTo(java.util.Map<java.lang.String,MultiValue.MultiValueLabel> labelMap)
Used by the FilterCreator process to read the regular expressions which represent this label. |
boolean |
appliesToProperty(ContactProperty property)
Returns true if this is a proper label for the given ContactProperty . |
abstract java.lang.String |
getDefaultRegex()
Returns the default regular expression used in the SearchDialog. |
java.lang.String |
getHumanReadableName()
|
abstract java.lang.String |
getInternalRepresentation()
|
java.lang.String |
toString()
|
static MultiValue.MultiValueLabel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MultiValue.MultiValueLabel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MultiValue.MultiValueLabel HOME
public static final MultiValue.MultiValueLabel WORK
public static final MultiValue.MultiValueLabel MOBILE
public static final MultiValue.MultiValueLabel HOME_FAX
public static final MultiValue.MultiValueLabel WORK_FAX
public static final MultiValue.MultiValueLabel MAIN
public static final MultiValue.MultiValueLabel PAGER
public static final MultiValue.MultiValueLabel IPHONE
public static final MultiValue.MultiValueLabel MOBILE_ME
public static final MultiValue.MultiValueLabel OTHER
Method Detail |
---|
public static MultiValue.MultiValueLabel[] values()
for (MultiValue.MultiValueLabel c : MultiValue.MultiValueLabel.values()) System.out.println(c);
public static MultiValue.MultiValueLabel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getHumanReadableName()
public final void addRegularExpressionsTo(java.util.Map<java.lang.String,MultiValue.MultiValueLabel> labelMap)
labelMap
- Map to write the expressions topublic abstract java.lang.String getDefaultRegex()
public boolean appliesToProperty(ContactProperty property)
ContactProperty
.
property
- ContactProperty
public abstract java.lang.String getInternalRepresentation()
public java.lang.String toString()
toString
in class java.lang.Enum<MultiValue.MultiValueLabel>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |