java.lang.CharSequence
public class DocumentFixedCharSequence
extends java.lang.Object
implements java.lang.CharSequence
Constructor | Description |
---|---|
DocumentFixedCharSequence(javax.swing.text.Document doc) |
|
DocumentFixedCharSequence(javax.swing.text.Document doc,
int start,
int end) |
Modifier and Type | Method | Description |
---|---|---|
char |
charAt(int index) |
|
javax.swing.text.Document |
getDocument() |
|
int |
length() |
|
java.lang.CharSequence |
subSequence(int start,
int end) |
|
java.lang.String |
toString() |
public DocumentFixedCharSequence(javax.swing.text.Document doc)
public DocumentFixedCharSequence(javax.swing.text.Document doc, int start, int end)
public int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
public javax.swing.text.Document getDocument()