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 | Description |
---|---|---|
class |
ParagraphView |
View of a simple line-wrapping paragraph that supports
multiple fonts, colors, components, icons, etc.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
FlowView.FlowStrategy.adjustRow(FlowView fv,
int rowIndex,
int desiredSpan,
int x) |
Adjusts the given row if possible to fit within the
layout span.
|
void |
FlowView.FlowStrategy.changedUpdate(FlowView fv,
DocumentEvent e,
Rectangle alloc) |
Gives notification from the document that attributes were changed
in a location that this view is responsible for.
|
protected View |
FlowView.FlowStrategy.createView(FlowView fv,
int startOffset,
int spanLeft,
int rowIndex) |
Creates a view that can be used to represent the current piece
of the flow.
|
protected View |
FlowView.FlowStrategy.getLogicalView(FlowView fv) |
This method gives flow strategies access to the logical
view of the FlowView.
|
void |
FlowView.FlowStrategy.insertUpdate(FlowView fv,
DocumentEvent e,
Rectangle alloc) |
Gives notification that something was inserted into the document
in a location that the given flow view is responsible for.
|
void |
FlowView.FlowStrategy.layout(FlowView fv) |
Update the flow on the given FlowView.
|
protected int |
FlowView.FlowStrategy.layoutRow(FlowView fv,
int rowIndex,
int pos) |
Creates a row of views that will fit within the
layout span of the row.
|
void |
FlowView.FlowStrategy.removeUpdate(FlowView fv,
DocumentEvent e,
Rectangle alloc) |
Gives notification that something was removed from the document
in a location that the given flow view is responsible for.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ParagraphView |
Displays the a paragraph, and uses css attributes for its
configuration.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps