| Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object | +--com.sun.java.swing.text.Segment
| Field Summary | |
| char[] | array
This is the array containing the text of interest. |
| int | count
This is the number of array elements that make up the text of interest. |
| int | offset
This is the offset into the array that the desired text begins. |
| Constructor Summary | |
| Segment()
Creates a new segment. |
|
| Segment(char[] array,
int offset,
int count)
Creates a new segment referring to an existing array. |
|
| Method Summary | |
| java.lang.String | toString()
Converts a segment into a String. |
| Methods inherited from class java.lang.Object | |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Field Detail |
public char[] array
public int offset
public int count
| Constructor Detail |
public Segment()
public Segment(char[] array,
int offset,
int count)
array
- the array to refer to
offset
- the offset into the array
count
- the number of characters| Method Detail |
public java.lang.String toString()
| Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||