public enum Direction extends Enum<Direction>
Text direction.
Enum Constant and Description |
---|
L2R
Left to right direction.
|
R2L
Right to left direction.
|
Modifier and Type | Method and Description |
---|---|
static Direction |
getByValue(int value) |
int |
getValue() |
static Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Direction L2R
Left to right direction.
public static final Direction R2L
Right to left direction.
public static Direction[] values()
for (Direction c : Direction.values()) System.out.println(c);
public static Direction 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 nullpublic int getValue()
public static Direction getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.