| Package | Description |
|---|---|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| Modifier and Type | Method and Description |
|---|---|
protected Segment |
PlainView.getLineBuffer()
Gives access to a buffer that can be used to fetch text from the associated document.
|
protected Segment |
WrappedPlainView.getLineBuffer()
Gives access to a buffer that can be used to fetch text from the associated document.
|
Segment |
GlyphView.getText(int p0, int p1)
Fetch a reference to the text that occupies the given range.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Utilities.drawTabbedText(Segment
Draws the given text, expanding any tabs that are contained using the given tab expansion technique.
|
static int |
Utilities.getBreakLocation(Segment
Determine where to break the given text to fit within the given span.
|
void |
StringContent.getChars(int where, int len, Segment
Retrieves a portion of the content.
|
void |
AbstractDocument.Content.getChars(int where, int len, Segment
Gets a sequence of characters and copies them into a Segment.
|
void |
GapContent.getChars(int where, int len, Segment
Retrieves a portion of the content.
|
static int |
Utilities.getTabbedTextOffset(Segment
Determines the relative offset into the given text that best represents the given span in the view coordinate system.
|
static int |
Utilities.getTabbedTextOffset(Segment
|
static int |
Utilities.getTabbedTextWidth(Segment
Determines the width of the given segment of text taking tabs into consideration.
|
void |
AbstractDocument.getText(int offset, int length, Segment
Fetches the text contained within the given portion of the document.
|
void |
Document.getText(int offset, int length, Segment
Fetches the text contained within the given portion of the document.
|