Package com.ibm.icu.text
Enum BidiTransform.ReorderingScheme
- All Implemented Interfaces:
Serializable
,Comparable<BidiTransform.ReorderingScheme>
,java.lang.constant.Constable
- Enclosing class:
- BidiTransform
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract void
doTransform
(BidiTransform transform) Performs a series of bidi layout transformations unique for the current scheme.(package private) abstract boolean
matches
(byte inLevel, BidiTransform.Order inOrder, byte outLevel, BidiTransform.Order outOrder) Indicates whether this scheme matches another one in terms of equality of base direction and ordering scheme.Returns the enum constant of this type with the specified name.static BidiTransform.ReorderingScheme[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOG_LTR_TO_VIS_LTR
-
LOG_RTL_TO_VIS_LTR
-
LOG_LTR_TO_VIS_RTL
-
LOG_RTL_TO_VIS_RTL
-
VIS_LTR_TO_LOG_RTL
-
VIS_RTL_TO_LOG_RTL
-
VIS_LTR_TO_LOG_LTR
-
VIS_RTL_TO_LOG_LTR
-
LOG_LTR_TO_LOG_RTL
-
LOG_RTL_TO_LOG_LTR
-
VIS_LTR_TO_VIS_RTL
-
VIS_RTL_TO_VIS_LTR
-
LOG_LTR_TO_LOG_LTR
-
LOG_RTL_TO_LOG_RTL
-
VIS_LTR_TO_VIS_LTR
-
VIS_RTL_TO_VIS_RTL
-
-
Constructor Details
-
ReorderingScheme
private ReorderingScheme()
-
-
Method Details
-
values
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
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
-
matches
abstract boolean matches(byte inLevel, BidiTransform.Order inOrder, byte outLevel, BidiTransform.Order outOrder) Indicates whether this scheme matches another one in terms of equality of base direction and ordering scheme.- Parameters:
inLevel
- Base level of the input textinOrder
- Order of the input textoutLevel
- Base level of the output textoutOrder
- Order of the output text- Returns:
true
if it's a match,false
otherwise
-
doTransform
Performs a series of bidi layout transformations unique for the current scheme.- Parameters:
transform
- Bidi transformation engine
-