| Package | Description |
|---|---|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LabelView
A
LabelView is a styled chunk of text that represents a view mapped over an element in the text model.
|
| Modifier and Type | Method and Description |
|---|---|
abstract float |
GlyphView.GlyphPainter.getAscent(GlyphView
|
abstract int |
GlyphView.GlyphPainter.getBoundedPosition(GlyphView
Determines the model location that represents the maximum advance that fits within the given span.
|
abstract float |
GlyphView.GlyphPainter.getDescent(GlyphView
|
abstract float |
GlyphView.GlyphPainter.getHeight(GlyphView
|
int |
GlyphView.GlyphPainter.getNextVisualPositionFrom(GlyphView
Provides a way to determine the next visually represented model location that one might place a caret.
|
GlyphView |
GlyphView.GlyphPainter.getPainter(GlyphView
Create a painter to use for the given GlyphView.
|
abstract float |
GlyphView.GlyphPainter.getSpan(GlyphView
Determine the span the glyphs given a start location (for tab expansion).
|
abstract Shape |
GlyphView.GlyphPainter.modelToView(GlyphView
Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.
|
abstract void |
GlyphView.GlyphPainter.paint(GlyphView
Paint the glyphs representing the given range.
|
abstract int |
GlyphView.GlyphPainter.viewToModel(GlyphView
Provides a mapping from the view coordinate space to the logical coordinate space of the model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InlineView
Displays the inline element styles based upon css attributes.
|