Package com.ibm.icu.text
Enum BidiTransform.Mirroring
- java.lang.Object
-
- java.lang.Enum<BidiTransform.Mirroring>
-
- com.ibm.icu.text.BidiTransform.Mirroring
-
- All Implemented Interfaces:
Serializable
,Comparable<BidiTransform.Mirroring>
- Enclosing class:
- BidiTransform
public static enum BidiTransform.Mirroring extends Enum<BidiTransform.Mirroring>
indicates whether or not characters with the "mirrored" property in RTL runs should be replaced with their mirror-image counterparts.BidiTransform.Mirroring
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BidiTransform.Mirroring
valueOf(String name)
Returns the enum constant of this type with the specified name.static BidiTransform.Mirroring[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final BidiTransform.Mirroring OFF
Constant indicating that character mirroring should not be performed.
-
ON
public static final BidiTransform.Mirroring ON
Constant indicating that character mirroring should be performed.This corresponds to calling
orBidi.writeReordered(int)
with theBidi.writeReverse(java.lang.String, int)
option bit set.Bidi.DO_MIRRORING
-
-
Method Detail
-
values
public static BidiTransform.Mirroring[] 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.Mirroring c : BidiTransform.Mirroring.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.Mirroring valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-