DisplayContext.Type
public
static
final
enum
DisplayContext.Type
extends Enum<DisplayContext.Type>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.DisplayContext.Type> | |
↳ | android.icu.text.DisplayContext.Type |
Type values for DisplayContext
Summary
Enum values | |
---|---|
DisplayContext.Type |
CAPITALIZATION
CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE. |
DisplayContext.Type |
DIALECT_HANDLING
DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES. |
DisplayContext.Type |
DISPLAY_LENGTH
DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT. |
DisplayContext.Type |
SUBSTITUTE_HANDLING
SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE. |
Public methods | |
---|---|
static
DisplayContext.Type
|
valueOf(String name)
|
static
final
Type[]
|
values()
|
Inherited methods | |
---|---|
Enum values
CAPITALIZATION
public static final DisplayContext.Type CAPITALIZATION
CAPITALIZATION can be set to one of CAPITALIZATION_NONE through CAPITALIZATION_FOR_STANDALONE.
DIALECT_HANDLING
public static final DisplayContext.Type DIALECT_HANDLING
DIALECT_HANDLING can be set to STANDARD_NAMES or DIALECT_NAMES.
DISPLAY_LENGTH
public static final DisplayContext.Type DISPLAY_LENGTH
DISPLAY_LENGTH can be set to LENGTH_FULL or LENGTH_SHORT.
SUBSTITUTE_HANDLING
public static final DisplayContext.Type SUBSTITUTE_HANDLING
SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.
Public methods
valueOf
public static DisplayContext.Type valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
DisplayContext.Type |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.