Example usage for Java java.text AttributedCharacterIterator fields, constructors, methods, implement or subclass
The text is from its open source code.
char | current() Gets the character at the current position (as returned by getIndex()). |
char | first() Sets the position to getBeginIndex() and returns the character at that position. |
Object | getAttribute(Attribute attribute) Returns the value of the named attribute for the current character. |
Map | getAttributes() Returns a map with the attributes defined on the current character. |
int | getBeginIndex() Returns the start index of the text. |
int | getEndIndex() Returns the end index of the text. |
int | getIndex() Returns the current index. |
int | getRunLimit() Returns the index of the first character following the run with respect to all attributes containing the current character. |
int | getRunStart() Returns the index of the first character of the run with respect to all attributes containing the current character. |
char | next() Increments the iterator's index by one and returns the character at the new index. |
char | setIndex(int position) Sets the position to the specified position in the text and returns that character. |