Paragraph Formatter
A ParagraphFormatter object holds a particular paragraph style in the form of window width, margin, and indentation settings. It is then used to apply those whitespace and word-wrap settings to a String.
This is intended to be the final format procedure applied to a String before it is output, and all adjacent, non-newline character whitespace is condensed to a single space.
Author
Leslie Schultz
Parameters
The number of characters that can fit horizontally in the window.
The number of spaces that all text should be, minimum, from the left side of the screen.
The number of spaces that all text should be, minimum, from the right side of the screen.
Constructors
Construct a new ParagraphFormatter that formats strings to wrap within the supplied window width, if possible. All text is padded within the specified margins.