org.gnu.pango
Class Attribute

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.MemStruct
          extended by org.gnu.pango.Attribute
Direct Known Subclasses:
AttrColor, AttrFloat, AttrFontDesc, AttrInt, AttrLanguage, AttrShape, AttrString, PangoAttrEmbossed, PangoAttrStipple

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.

public class Attribute
extends org.gnu.glib.MemStruct

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
 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.
 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.
 
Methods inherited from class org.gnu.glib.MemStruct
getMemStructFromHandle
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


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.