public enum AuthoringUIMode extends Enum<AuthoringUIMode>
| Enum Constant and Description |
|---|
CLASSIC
Classic authoring UI mode
|
TOUCH
Touch-Optimized authoring UI mode
|
| Modifier and Type | Field and Description |
|---|---|
static String |
REQUEST_ATTRIBUTE_NAME
Name of the
AuthoringUIMode request attribute |
| Modifier and Type | Method and Description |
|---|---|
static AuthoringUIMode |
fromRequest(ServletRequest request)
Returns the current authoring UI mode of this request.
|
static AuthoringUIMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthoringUIMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthoringUIMode CLASSIC
public static final AuthoringUIMode TOUCH
public static final String REQUEST_ATTRIBUTE_NAME
AuthoringUIMode request attributepublic static AuthoringUIMode[] values()
for (AuthoringUIMode c : AuthoringUIMode.values()) System.out.println(c);
public static AuthoringUIMode 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 static AuthoringUIMode fromRequest(ServletRequest request)
request - Servlet requestCopyright © 2010 - 2020 Adobe. All Rights Reserved