Validated Rendering Context
A ValidatedRenderingContext has complete StyleAttributes and has been successfully validated against the palette used to construct it. It is therefore ready to render itself onto StyledDocuments.
Author
Todd L Smith
Parameters
The complete StyleAttributes.
The Palette, for interpreting the foreground and background colors for text rendition.
Constructors
Construct a ValidatedRenderingContext from the specified StyleAttributes and Palette. The context remains valid so long as the system color mode does not change.
Properties
The partial StyleAttributes. Any missing aspects will be defaulted by Swing.
The document attributes to use when compute a style for a StyledDocument. Its attributes are sourced from attributes.
Functions
Write the open tags, run the action on the builder, then write the close tags. Do not write the outer "html" open/close tags. The resulting HTML should present a reasonable facsimile of the corresponding document styling.
Apply the receiver to the specified range of the target StyledDocument.