Module java.desktop

Class ParagraphView

java.lang.Object
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: