Class SegmentBuffer
java.lang.Object
javax.swing.text.Segment
org.gjt.sp.util.SegmentBuffer
- All Implemented Interfaces:
CharSequence, Cloneable, CharacterIterator
An extended segment that you can append text to.
-
Field Summary
Fields inherited from interface CharacterIterator
DONE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Segment
charAt, clone, current, first, getBeginIndex, getEndIndex, getIndex, isPartialReturn, last, length, next, previous, setIndex, setPartialReturn, subSequence, toStringMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CharSequence
chars, codePoints, getChars, isEmpty
-
Constructor Details
-
SegmentBuffer
public SegmentBuffer(int capacity)
-
-
Method Details
-
append
public void append(char ch) -
append
public void append(char[] text, int off, int len)
-