Module java.desktop

Class StyleSheet.BoxPainter

java.lang.Object
javax.swing.text.html.StyleSheet.BoxPainter
All Implemented Interfaces:
Serializable
Enclosing class:
StyleSheet

public static final class StyleSheet.BoxPainter extends Object implements Serializable
Class to carry out some of the duties of CSS formatting. Implementations of this class enable views to present the CSS formatting while not knowing anything about how the CSS values are being cached.

As a delegate of Views, this object is responsible for the insets of a View and making sure the background is maintained according to the CSS attributes.