org.gnu.pango

Class WrapMode

public class WrapMode 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.WrapMode. As this package was never fully implemented in java-gnome 2.x, however, any new code written will have a considerably different public API.

Describes how to wrap the lines of a PangoLayout to the desired width.
Field Summary
static WrapModeCHAR
Wrap lines at character boundaries.
static WrapModeWORD
Wrap lines at word boundaries.
static WrapModeWORD_CHAR
Wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.
Method Summary
WrapModeand(WrapMode other)
static WrapModeintern(int value)
WrapModeor(WrapMode other)
booleantest(WrapMode other)
WrapModexor(WrapMode other)

Field Detail

CHAR

public static final WrapMode CHAR
Wrap lines at character boundaries.

WORD

public static final WrapMode WORD
Wrap lines at word boundaries.

WORD_CHAR

public static final WrapMode WORD_CHAR

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.

Wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.

Method Detail

and

public WrapMode and(WrapMode other)

intern

public static WrapMode intern(int value)

or

public WrapMode or(WrapMode other)

test

public boolean test(WrapMode other)

xor

public WrapMode xor(WrapMode other)