Package com.ibm.icu.message2
Enum Directionality
- All Implemented Interfaces:
Serializable
,Comparable<Directionality>
,java.lang.constant.Constable
Deprecated.
This API is for technology preview only.
Encodes info about the direction of the message.
It is used to implement the @code u:dir} functionality.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.This API is for technology preview only.Deprecated.This API is for technology preview only.Deprecated.This API is for technology preview only.Deprecated.This API is for technology preview only.Deprecated.This API is for technology preview only. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Directionality
Deprecated.This API is for technology preview only.static Directionality
Deprecated.Returns the enum constant of this type with the specified name.static Directionality[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Deprecated.This API is for technology preview only.Not initialized or unknown.No special processing will be used.
-
LTR
Deprecated.This API is for technology preview only.Left-to-right directionality. -
RTL
Deprecated.This API is for technology preview only.Right-to-left directionality. -
AUTO
Deprecated.This API is for technology preview only.Directionality determined from expression contents. -
INHERIT
Deprecated.This API is for technology preview only.Directionality inherited from the message or from the resolved value of the operand without requiring isolation of the expression value.
-
-
Constructor Details
-
Directionality
private Directionality()Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Deprecated.This API is for technology preview only.Determines the directionality appropriate for a given locale.- Parameters:
ulocale
- the locale to determine the directionality from.- Returns:
- the appropriate directionality for the locale given.
-