Direction

Inheritance: java.lang.Object

public class Direction

Text direction.

Fields

FieldDescription
BTTBottom-to-top writing direction.
DEFAULTDefault value, same as LTR.
LTRLeft-to-right writing direction.
RTLRight-to-left writing direction.
TTBTop-to-bottom writing direction.
length

Methods

MethodDescription
fromName(String directionName)
getName(int direction)
getValues()
toString(int direction)

BTT

public static int BTT

Bottom-to-top writing direction.

DEFAULT

public static int DEFAULT

Default value, same as LTR.

LTR

public static int LTR

Left-to-right writing direction.

RTL

public static int RTL

Right-to-left writing direction.

TTB

public static int TTB

Top-to-bottom writing direction.

length

public static int length

fromName(String directionName)

public static int fromName(String directionName)

Parameters:

ParameterTypeDescription
directionNamejava.lang.String

Returns: int

getName(int direction)

public static String getName(int direction)

Parameters:

ParameterTypeDescription
directionint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int direction)

public static String toString(int direction)

Parameters:

ParameterTypeDescription
directionint

Returns: java.lang.String