org.gnu.pango

Class EllipsizeMode

public class EllipsizeMode extends Enum

Type describing what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis.
Field Summary
static EllipsizeModeEND
Omit characters at the end of the text.
static EllipsizeModeMIDDLE
Omit characters in the middle of the text.
static EllipsizeModeNONE
No ellipsization.
static EllipsizeModeSTART
Omit characters at the start of the text.
Method Summary
static EllipsizeModeintern(int value)
Get an EllipsizeMode instance from the given value.

Field Detail

END

public static final EllipsizeMode END
Omit characters at the end of the text.

MIDDLE

public static final EllipsizeMode MIDDLE
Omit characters in the middle of the text.

NONE

public static final EllipsizeMode NONE
No ellipsization.

START

public static final EllipsizeMode START
Omit characters at the start of the text.

Method Detail

intern

public static EllipsizeMode intern(int value)
Get an EllipsizeMode instance from the given value. For internal use only!