public static enum EmailClassTemplate.LayoutMode extends java.lang.Enum<EmailClassTemplate.LayoutMode>
Enum Constant and Description |
---|
DEFAULT_LAYOUT |
NO_LAYOUT |
SPECIFIC_LAYOUT |
Modifier and Type | Method and Description |
---|---|
static EmailClassTemplate.LayoutMode |
find(int id)
Finds the layout mode for the given id.
|
int |
getID()
Returns the id for this layout mode.
|
static EmailClassTemplate.LayoutMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmailClassTemplate.LayoutMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailClassTemplate.LayoutMode NO_LAYOUT
public static final EmailClassTemplate.LayoutMode DEFAULT_LAYOUT
public static final EmailClassTemplate.LayoutMode SPECIFIC_LAYOUT
public static EmailClassTemplate.LayoutMode[] values()
for (EmailClassTemplate.LayoutMode c : EmailClassTemplate.LayoutMode.values()) System.out.println(c);
public static EmailClassTemplate.LayoutMode 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getID()
find(int)
public static EmailClassTemplate.LayoutMode find(int id)
id
- wanted idgetID()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.