Package com.ibm.icu.text
Enum BidiTransform.ReorderingScheme
- java.lang.Object
-
- java.lang.Enum<BidiTransform.ReorderingScheme>
-
- com.ibm.icu.text.BidiTransform.ReorderingScheme
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BidiTransform.ReorderingScheme>
- Enclosing class:
- BidiTransform
private static enum BidiTransform.ReorderingScheme extends java.lang.Enum<BidiTransform.ReorderingScheme>
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ReorderingScheme()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (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.static BidiTransform.ReorderingScheme
valueOf(java.lang.String name)
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 Detail
-
LOG_LTR_TO_VIS_LTR
public static final BidiTransform.ReorderingScheme LOG_LTR_TO_VIS_LTR
-
LOG_RTL_TO_VIS_LTR
public static final BidiTransform.ReorderingScheme LOG_RTL_TO_VIS_LTR
-
LOG_LTR_TO_VIS_RTL
public static final BidiTransform.ReorderingScheme LOG_LTR_TO_VIS_RTL
-
LOG_RTL_TO_VIS_RTL
public static final BidiTransform.ReorderingScheme LOG_RTL_TO_VIS_RTL
-
VIS_LTR_TO_LOG_RTL
public static final BidiTransform.ReorderingScheme VIS_LTR_TO_LOG_RTL
-
VIS_RTL_TO_LOG_RTL
public static final BidiTransform.ReorderingScheme VIS_RTL_TO_LOG_RTL
-
VIS_LTR_TO_LOG_LTR
public static final BidiTransform.ReorderingScheme VIS_LTR_TO_LOG_LTR
-
VIS_RTL_TO_LOG_LTR
public static final BidiTransform.ReorderingScheme VIS_RTL_TO_LOG_LTR
-
LOG_LTR_TO_LOG_RTL
public static final BidiTransform.ReorderingScheme LOG_LTR_TO_LOG_RTL
-
LOG_RTL_TO_LOG_LTR
public static final BidiTransform.ReorderingScheme LOG_RTL_TO_LOG_LTR
-
VIS_LTR_TO_VIS_RTL
public static final BidiTransform.ReorderingScheme VIS_LTR_TO_VIS_RTL
-
VIS_RTL_TO_VIS_LTR
public static final BidiTransform.ReorderingScheme VIS_RTL_TO_VIS_LTR
-
LOG_LTR_TO_LOG_LTR
public static final BidiTransform.ReorderingScheme LOG_LTR_TO_LOG_LTR
-
LOG_RTL_TO_LOG_RTL
public static final BidiTransform.ReorderingScheme LOG_RTL_TO_LOG_RTL
-
VIS_LTR_TO_VIS_LTR
public static final BidiTransform.ReorderingScheme VIS_LTR_TO_VIS_LTR
-
VIS_RTL_TO_VIS_RTL
public static final BidiTransform.ReorderingScheme VIS_RTL_TO_VIS_RTL
-
-
Method Detail
-
values
public static BidiTransform.ReorderingScheme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BidiTransform.ReorderingScheme c : BidiTransform.ReorderingScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BidiTransform.ReorderingScheme valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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
abstract void doTransform(BidiTransform transform)
Performs a series of bidi layout transformations unique for the current scheme.- Parameters:
transform
- Bidi transformation engine
-
-