public static enum BidiTransform.Order extends Enum<BidiTransform.Order>
BidiTransform.Order
indicates the order of text.
This bidi transformation engine supports all possible combinations (4 in total) of input and output text order:
Bidi
when the reordering mode is set to
Bidi#REORDER_DEFAULT
. Visual RTL mode is not supported by
Bidi
and is accomplished through reversing a visual
LTR string,Bidi
with the reordering mode set to
Bidi.REORDER_INVERSE_LIKE_DIRECT
. Visual RTL mode
is not not supported by Bidi
and is accomplished
through reversing a visual LTR string,Bidi
implementation with the reordering mode set to
Bidi.REORDER_RUNS_ONLY
; and if the input and output
base directions are identical, the transformation engine will only
handle character mirroring and Arabic shaping operations without
reordering,Bidi
engine; it implies character mirroring,
Arabic shaping, and - if the input/output base directions mismatch -
string reverse operations.Bidi.setInverse(boolean)
,
Bidi.setReorderingMode(int)
,
Bidi.REORDER_DEFAULT
,
Bidi.REORDER_INVERSE_LIKE_DIRECT
,
Bidi.REORDER_RUNS_ONLY
Enum Constant and Description |
---|
LOGICAL
Constant indicating a logical order.
|
VISUAL
Constant indicating a visual order.
|
Modifier and Type | Method and Description |
---|---|
static BidiTransform.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BidiTransform.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BidiTransform.Order LOGICAL
public static final BidiTransform.Order VISUAL
public static BidiTransform.Order[] values()
for (BidiTransform.Order c : BidiTransform.Order.values()) System.out.println(c);
public static BidiTransform.Order valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Unicode, Inc. and others.