| Frames | No Frames |
Methods with parameter type javax.swing.text.Segment | |
| int | Draws the given text segment. |
| int | Utilities.getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) Determine where to break the text in the given Segment, attempting to find
a word boundary.
|
| void | Fetches a piece of content and stores it in txt.
|
| void | Fetches a piece of content and stores it in a Segment object.
|
| void | Updates txt to contain a direct reference to the underlying
character array.
|
| int | Provides a facility to map screen coordinates into a model location. |
| int | Utilities.getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) Provides a facility to map screen coordinates into a model location. |
| int | Determines the width, that the given text s would take
if it was printed with the given FontMetrics on the
specified screen position.
|
| void | Fetches a piece of this Document's content and stores
it in the given Segment.
|
| void | Fetch the textual content starting at offset with
a length of length and store it in txt.
|
Methods with return type javax.swing.text.Segment | |
| Segment | Provides a Segment object, that can be used to fetch text from
the document.
|
| Segment | Provides access to the Segment used for retrievals from the Document.
|
| Segment | Returns the text segment that this view is responsible for.
|