Java javax.swing.text Segment fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.text Segment fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.text Segment.

The text is from its open source code.

Constructor

Segment()
Creates a new segment.
Segment(char[] array, int offset, int count)
Creates a new segment referring to an existing array.

Method

charfirst()
Sets the position to getBeginIndex() and returns the character at that position.
charnext()
Increments the iterator's index by one and returns the character at the new index.
StringtoString()
Converts a segment into a String.