public enum AuthoringUIMode extends java.lang.Enum<AuthoringUIMode>
Enum Constant and Description |
---|
CLASSIC
Classic authoring UI mode
|
TOUCH
Touch-Optimized authoring UI mode
|
Modifier and Type | Field and Description |
---|---|
static java.lang.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(java.lang.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 java.lang.String REQUEST_ATTRIBUTE_NAME
AuthoringUIMode
request attributepublic static AuthoringUIMode[] values()
for (AuthoringUIMode c : AuthoringUIMode.values()) System.out.println(c);
public static AuthoringUIMode 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 static AuthoringUIMode fromRequest(ServletRequest request)
request
- Servlet request"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"