|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RequestContext.Accessibility>
org.apache.myfaces.trinidad.context.RequestContext.Accessibility
public static enum RequestContext.Accessibility
Enum Constant Summary | |
---|---|
DEFAULT
Output supports accessibility features |
|
INACCESSIBLE
Accessibility-specific constructs are stripped out to optimize output size |
|
SCREEN_READER
Accessibility-specific constructs are added to improve behavior under a screen reader (but may affect other users negatively) |
Method Summary | |
---|---|
String |
displayName()
Returns the display name for this enum constant. |
String |
toString()
|
static RequestContext.Accessibility |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RequestContext.Accessibility |
valueOfDisplayName(String displayName)
Performs a reverse lookup of an Accessibilty constant based on its display name. |
static RequestContext.Accessibility[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RequestContext.Accessibility DEFAULT
public static final RequestContext.Accessibility INACCESSIBLE
public static final RequestContext.Accessibility SCREEN_READER
Method Detail |
---|
public static RequestContext.Accessibility[] values()
for (RequestContext.Accessibility c : RequestContext.Accessibility.values()) System.out.println(c);
public static RequestContext.Accessibility valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<RequestContext.Accessibility>
public String displayName()
public static RequestContext.Accessibility valueOfDisplayName(String displayName)
displayName
- the display name of the Accessibility constant to return.
IllegalArgumentException
- if displayName does not correspond
to some Accessibility constant.
NullPointerException
- if displayName is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |