org.gnu.pango
public class AttrList extends Boxed
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.AttrList
.
As this package was never fully implemented in java-gnome 2.x,
however, any new code written will have a considerably different
public API.
Since the PangoAttrList structure is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single PangoAttrList for more than one paragraph of text.
Constructor Summary | |
---|---|
AttrList(AttrList list)
Create a new AttrList that is a copy of the provided list.
| |
AttrList(Handle handle) | |
AttrList()
Construct a new AttrList. |
Method Summary | |
---|---|
void | change(Attribute attr)
Insert the given attribute into the list. |
static AttrList | getAttrListFromHandle(Handle handle)
Static factory method that should only be used internally by Java-Gnome. |
AttrIterator | getIterator()
Create an iterator pointing at the beginning of the list. |
void | insert(Attribute attr)
Insert the given attribute into the list. |
void | insertBefore(Attribute attr)
Insert the given attribute into the list. |
void | splice(AttrList other, int pos, int len)
Splice on list into another.
|
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.
Create a new AttrList that is a copy of the provided list.Parameters: list
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.
Construct a new AttrList.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.
Insert the given attribute into the list. It will replace any attribute of the same type on that segment and be merged with any adjoining attributes that are identical.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.
Static factory method that should only be used internally by Java-Gnome.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.
Create an iterator pointing at the beginning of the list.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.
Insert the given attribute into the list. It will be inserted after all other attributes with a matching start_index.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.
Insert the given attribute into the list. It will be inserted before all other attributes with a matching start_index.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.
Splice on list into another.Parameters: other The other AttrList to splice in the current one. pos The position at which to insert. len The length of the spliced segment.