org.gnu.pango

Class WrapMode


public class WrapMode
extends Enum

Describes how to wrap the lines of a PangoLayout to the desired width.

Field Summary

static WrapMode
CHAR
Wrap lines at character boundaries.
static WrapMode
WORD
Wrap lines at word boundaries.
static 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.

Method Summary

WrapMode
and(WrapMode other)
static WrapMode
intern(int value)
WrapMode
or(WrapMode other)
boolean
test(WrapMode other)
WrapMode
xor(WrapMode other)

Field Details

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 Details

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)