|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DisplayMode>
com.openexchange.mail.utils.DisplayMode
public enum DisplayMode
DisplayMode - The display mode
| Enum Constant Summary | |
|---|---|
DISPLAY
Generate a version for being displayed in front-end |
|
MODIFYABLE
Generate a version for a message forward/reply/draft-edit in front-end |
|
RAW
Generate a version as-is. |
|
| Method Summary | |
|---|---|
int |
getMode()
Gets the mode's integer value |
boolean |
isIncluded(DisplayMode other)
Indicates if this mode is included in given mode |
static DisplayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DisplayMode[] |
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 DisplayMode RAW
public static final DisplayMode MODIFYABLE
public static final DisplayMode DISPLAY
| Method Detail |
|---|
public static final DisplayMode[] values()
for(DisplayMode c : DisplayMode.values())
System.out.println(c);
public static DisplayMode 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 getMode()
public boolean isIncluded(DisplayMode other)
other - The other mode
true if this mode is included in given mode; otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||