Package | Description |
---|---|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Class and Description |
---|---|
class |
ParagraphView
View of a simple line-wrapping paragraph that supports
multiple fonts, colors, components, icons, etc.
|
Modifier and Type | Method and 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.
|
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.