Uses of Class javax.swing.text.FlowView (Java Platform SE 8 )
Date: 2026-06-25

## Uses of Class
javax.swing.text.FlowView

- Packages that use FlowView
  Package | Description
  --- | ---
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

- - ### Uses of FlowView in javax.swing.text

    Subclasses of FlowView in javax.swing.text
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ParagraphView` View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc.

    Methods in javax.swing.text with parameters of type FlowView
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.