org.gnu.pango

Class Direction

public class Direction extends Enum

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.pango.Direction. As this package was never fully implemented in java-gnome 2.x, however, any new code written will have a considerably different public API.

The PangoDirection type represents the direction of writing for text.
Field Summary
static DirectionLTR
The text is written left-to-right
static DirectionRTL
The text is written right-to-left
static DirectionTTB_LTR
The text is written vertically top-to-bottom, with the rows ordered from left to right.
static DirectionTTB_RTL
The text is written vertically top-to-bottom, with the rows ordered from right to left.
Method Summary
Directionand(Direction other)
static Directionintern(int value)
Directionor(Direction other)
booleantest(Direction other)
Directionxor(Direction other)

Field Detail

LTR

public static final Direction LTR
The text is written left-to-right

RTL

public static final Direction RTL
The text is written right-to-left

TTB_LTR

public static final Direction TTB_LTR

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

The text is written vertically top-to-bottom, with the rows ordered from left to right.

TTB_RTL

public static final Direction TTB_RTL

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

The text is written vertically top-to-bottom, with the rows ordered from right to left.

Method Detail

and

public Direction and(Direction other)

intern

public static Direction intern(int value)

or

public Direction or(Direction other)

test

public boolean test(Direction other)

xor

public Direction xor(Direction other)