API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.text. AttributedCharacterIterator View Source
Author(s)
Since
1.2
Version
Serial
Hierarchy
 Cloneable
      CharacterIterator
          AttributedCharacterIterator
Subinterfaces
Description
public interface AttributedCharacterIterator
  An AttributedCharacterIterator allows iteration through both text and related attribute information.
Methods
Hide/Show inherited methods
public Set<Attribute> getAllAttributeKeys ()
  Returns the keys of all attributes defined on the iterator's text range.
public Object getAttribute (Attribute attribute)
  Returns the value of the named attribute for the current character.
public Map<Attribute, Object> getAttributes ()
Returns a map with the attributes defined on the current character.
public int getRunLimit ()
Returns the index of the first character following the run with respect to all attributes containing the current character.
public int getRunLimit (Attribute attribute)
Returns the index of the first character following the run with respect to the given attribute containing the current character.
public int getRunLimit (Set<Attribute> attributes)
Returns the index of the first character following the run with respect to the given attributes containing the current character.
public int getRunStart ()
Returns the index of the first character of the run with respect to all attributes containing the current character.
public int getRunStart (Attribute attribute)
Returns the index of the first character of the run with respect to the given attribute containing the current character.
public int getRunStart (Set<Attribute> attributes)
Returns the index of the first character of the run with respect to the given attributes containing the current character.
Fields
Hide/Show inherited fields
publicfinalstatic char DONE = "65535" [Inherited From CharacterIterator]
  Constant that is returned when the iterator has reached either the end or the beginning of the text.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar