org.gnu.pango

Class EllipsizeMode

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

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

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.

Omit characters at the end of the text.

MIDDLE

public static final EllipsizeMode MIDDLE

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.

Omit characters in the middle of the text.

NONE

public static final EllipsizeMode NONE

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.

No ellipsization.

START

public static final EllipsizeMode START

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.

Omit characters at the start of the text.

Method Detail

intern

public static EllipsizeMode intern(int value)

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.

Get an EllipsizeMode instance from the given value. For internal use only!