| Package | Description |
|---|---|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FieldView
Extends the multi-line plain text view to be suitable for a single-line editor view.
|
class |
ParagraphView
View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.
|
class |
PasswordView
Implements a View suitable for use in JPasswordField UI implementations.
|
class |
PlainView
Implements View interface for a simple multi-line text view that has text in one font and color.
|
class |
WrappedPlainView
View of plain text (text with only one font and color) that does line-wrapping.
|
| Modifier and Type | Method and Description |
|---|---|
TabExpander |
GlyphView.getTabExpander()
Fetch the TabExpander to use if tabs are present in this view.
|
| 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.
|
abstract float |
GlyphView.GlyphPainter.getSpan(GlyphView
Determine the span the glyphs given a start location (for tab expansion).
|
float |
GlyphView.getTabbedSpan(float x, TabExpander
Determines the desired span when using the given tab expansion implementation.
|
float |
TabableView.getTabbedSpan(float x, TabExpander
Determines the desired span when using the given tab expansion implementation.
|
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.
|