Example usage for Java javax.swing.text Segment fields, constructors, methods, implement or subclass
The text is from its open source code.
Segment() Creates a new segment. | |
Segment(char[] array, int offset, int count) Creates a new segment referring to an existing array. |
char | first() Sets the position to getBeginIndex() and returns the character at that position. |
char | next() Increments the iterator's index by one and returns the character at the new index. |
String | toString() Converts a segment into a String. |