|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MailSortField>
com.openexchange.mail.MailSortField
public enum MailSortField
MailSortField - An enumeration of sortable mail list fields.
| Enum Constant Summary | |
|---|---|
ACCOUNT_NAME
Account name |
|
CC
Cc |
|
COLOR_LABEL
Color Label |
|
FLAG_SEEN
Flag \SEEN |
|
FROM
From |
|
RECEIVED_DATE
Received date |
|
SENT_DATE
Sent date |
|
SIZE
Size |
|
SUBJECT
Subject |
|
TO
To |
|
| Method Summary | |
|---|---|
int |
getField()
|
static MailSortField |
getField(int field)
Determines the corresponding MailSortField constant to given int value |
static MailSortField[] |
getFields(int[] fields)
Creates an array of MailSortField corresponding to given int values |
java.lang.String |
getKey()
|
MailListField |
getListField()
|
static MailSortField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MailSortField[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MailSortField FROM
public static final MailSortField TO
public static final MailSortField CC
public static final MailSortField SUBJECT
public static final MailSortField SIZE
public static final MailSortField SENT_DATE
public static final MailSortField RECEIVED_DATE
public static final MailSortField COLOR_LABEL
public static final MailSortField FLAG_SEEN
public static final MailSortField ACCOUNT_NAME
| Method Detail |
|---|
public static final MailSortField[] values()
for(MailSortField c : MailSortField.values())
System.out.println(c);
public static MailSortField 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 namepublic int getField()
int field valuepublic java.lang.String getKey()
public MailListField getListField()
public static final MailSortField[] getFields(int[] fields)
MailSortField corresponding to given int values
fields - The int values
MailSortField corresponding to given int valuespublic static final MailSortField getField(int field)
MailSortField constant to given int value
field - The int value
MailSortField constant
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||