org.gnu.pango
Class AttrIterator

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.pango.AttrIterator

public class AttrIterator
extends Boxed

The AttrIterator object is used to represent an iterator through a List. A new iterator is created with pango_attr_list_get_iterator(). Once the iterator is created, it can be advanced through the style changes in the text using pango_attr_iterator_next(). At each style change, the range of the current style segment and the attributes currently in effect can be queried. todo: is this needed?


Constructor Summary
AttrIterator(int handle)
           
 
Method Summary
 boolean next()
          Advance the iterator until the next change of style.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttrIterator

public AttrIterator(int handle)
Method Detail

next

public boolean next()
Advance the iterator until the next change of style.

Returns:
false if the iterator is at the end of the list.

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net