org.gnu.pango

Class Attribute

public class Attribute extends MemStruct

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

Attributed text is used in a number of places in Pango. It is used as the input to the itemization process and also when creating a Layout. The data types and functions in this section are used to represent and manipulate sets of attributes applied to a portion of text.
Method Summary
intgetEndIndex()
Returns end index of the range.
intgetStartIndex()
Returns the start index of the range

Method Detail

getEndIndex

public int getEndIndex()

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.

Returns end index of the range. The character at this index is not included in the range.

getStartIndex

public int getStartIndex()

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.

Returns the start index of the range