org.gnu.pango
public class AttrList extends Boxed
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.
|
Parameters: list
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.