Serializable
, Comparable<DisplayContext.Type>
public static enum DisplayContext.Type extends Enum<DisplayContext.Type>
Enum Constant | Description |
---|---|
CAPITALIZATION |
CAPITALIZATION can be set to one of CAPITALIZATION_NONE through
CAPITALIZATION_FOR_STANDALONE.
|
DIALECT_HANDLING |
DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.
|
DISPLAY_LENGTH |
DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.
|
SUBSTITUTE_HANDLING |
SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.
|
Modifier and Type | Method | Description |
---|---|---|
static DisplayContext.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DisplayContext.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayContext.Type DIALECT_HANDLING
public static final DisplayContext.Type CAPITALIZATION
public static final DisplayContext.Type DISPLAY_LENGTH
public static final DisplayContext.Type SUBSTITUTE_HANDLING
public static DisplayContext.Type[] values()
for (DisplayContext.Type c : DisplayContext.Type.values()) System.out.println(c);
public static DisplayContext.Type 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 nullCopyright ? 2016 Unicode, Inc. and others.