Package com.mta.tehreer.unicode
Enum Class BaseDirection
- All Implemented Interfaces:
Serializable
,Comparable<BaseDirection>
,java.lang.constant.Constable
Specifies the base direction of a paragraph.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBase direction depends on the first strong directional character of the paragraph according to Unicode Bidirectional Algorithm.Base direction depends on the first strong directional character of the paragraph according to Unicode Bidirectional Algorithm.Base direction is left-to-right.Base direction is right-to-left. -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseDirection
Returns the enum constant of this class with the specified name.static BaseDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT_TO_RIGHT
Base direction is left-to-right. -
RIGHT_TO_LEFT
Base direction is right-to-left. -
DEFAULT_LEFT_TO_RIGHT
Base direction depends on the first strong directional character of the paragraph according to Unicode Bidirectional Algorithm. If no strong directional character is present, the base direction is left-to-right. -
DEFAULT_RIGHT_TO_LEFT
Base direction depends on the first strong directional character of the paragraph according to Unicode Bidirectional Algorithm. If no strong directional character is present, the base direction is right-to-left.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-