public enum ApplicationMode extends java.lang.Enum<ApplicationMode> implements ValueEnum
Enum Constant and Description |
---|
EDIT
Components have special design-time behavior layered on top of ordinary run-time behavior; clicking a component in the
visual design window will cause the response an application builder would expect, if any such special behavior is
defined for that component
|
LIVE
Components behave as they would in the running application; clicking a component in the visual design window will cause
the response an end-user would expect
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ApplicationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationMode LIVE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "live".
public static final ApplicationMode EDIT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "edit".
public static ApplicationMode[] values()
for (ApplicationMode c : ApplicationMode.values()) System.out.println(c);
public static ApplicationMode 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 null