javax.swing.text
Class ParagraphViewjava.lang.Object | +--javax.swing.text.View | +--javax.swing.text.CompositeView | +--javax.swing.text.BoxView | +--javax.swing.text.FlowView | +--javax.swing.text.ParagraphView
- All Implemented Interfaces:
- SwingConstants, TabExpander
- Direct Known Subclasses:
- ParagraphView
- public class ParagraphView
- extends FlowView
- implements TabExpander
View of a simple line-wrapping paragraph that supports multiple fonts, colors, components, icons, etc. It is basically a vertical box with a margin around it. The contents of the box are a bunch of rows which are special horizontal boxes. This view creates a collection of views that represent the child elements of the paragraph element. Each of these views are placed into a row directly if they will fit, otherwise the breakView method is called to try and carve the view into pieces that fit.
- See Also:
- View
Nested Class Summary
Nested classes inherited from class javax.swing.text.FlowView FlowView.FlowStrategy
Field Summary
protected int firstLineIndent
Indentation for the first line, from the left inset.
Fields inherited from class javax.swing.text.FlowView