public final class WrapMode
extends org.freedesktop.bindings.Constant
setWrapMode()
method.
To our great frustration, these constants exist separately from the ones used by GTK's TextView even though, quite clearly, the WrapMode Constants there map to the ones here. Unfortunately the ordinals are different, so we can't just present one set.
Modifier and Type | Field and Description |
---|---|
static WrapMode |
CHAR
Wrap text, breaking lines anywhere the cursor can appear (between
characters, usually)
|
static WrapMode |
WORD
Wrap text, breaking lines in between words.
|
static WrapMode |
WORD_CHAR
Wrap at word boundaries unless there isn't enough space for a full
word, in which case fall back to wrapping at a character boundary.
|
public static final WrapMode CHAR
public static final WrapMode WORD
setWidth()
.public static final WrapMode WORD_CHAR