Methods Summary |
---|
public java.util.Set | getAllAttributeKeys()Returns a set of attributes present in the {@code
AttributedCharacterIterator}. An empty set is returned if no attributes
were defined.
|
public java.lang.Object | getAttribute(java.text.AttributedCharacterIterator$Attribute attribute)Returns the value stored in the attribute for the current character. If
the attribute was not defined then {@code null} is returned.
|
public java.util.Map | getAttributes()Returns a map of all attributes of the current character. If no
attributes were defined for the current character then an empty map is
returned.
|
public int | getRunLimit()Returns the index of the last character in the run having the same
attributes as the current character.
|
public int | getRunLimit(java.text.AttributedCharacterIterator$Attribute attribute)Returns the index of the last character in the run that has the same
attribute value for the given attribute as the current character.
|
public int | getRunLimit(java.util.Set attributes)Returns the index of the last character in the run that has the same
attribute values for the attributes in the set as the current character.
|
public int | getRunStart()Returns the index of the first character in the run that has the same
attributes as the current character.
|
public int | getRunStart(java.text.AttributedCharacterIterator$Attribute attribute)Returns the index of the first character in the run that has the same
attribute value for the given attribute as the current character.
|
public int | getRunStart(java.util.Set attributes)Returns the index of the first character in the run that has the same
attribute values for the attributes in the set as the current character.
|