public enum Editor extends Enum<Editor>
Enum Constant and Description |
---|
AlohaEditor |
LiveEditor |
Modifier and Type | Method and Description |
---|---|
static Editor |
getByCode(int code)
Get the editor by code
|
int |
getCode()
Get the code
|
static Editor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Editor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Editor AlohaEditor
public static final Editor LiveEditor
public static Editor[] values()
for (Editor c : Editor.values()) System.out.println(c);
public static Editor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public static Editor getByCode(int code)
code
- codeCopyright © 2024 Gentics Software. All rights reserved.