Class FWDefaultStyleSheet
java.lang.Object
javax.swing.text.StyleContext
javax.swing.text.html.StyleSheet
net.simplace.ui.layout.FWDefaultStyleSheet
- All Implemented Interfaces:
Serializable, AbstractDocument.AttributeContext
Basic
StyleSheet object for usage within the HTMLRenderer facility of javax.- Author:
- Andreas Enders
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class StyleSheet
StyleSheet.BoxPainter, StyleSheet.ListPainterNested classes/interfaces inherited from class StyleContext
StyleContext.NamedStyle, StyleContext.SmallAttributeSet -
Field Summary
Fields inherited from class StyleContext
DEFAULT_STYLE -
Constructor Summary
ConstructorsConstructorDescriptionFWDefaultStyleSheet(Integer aWidth) constructor of DefaultStylesheet for HTML rendering within components -
Method Summary
Methods inherited from class StyleSheet
addAttribute, addAttributes, addCSSAttribute, addCSSAttributeFromHTML, addRule, addStyleSheet, createLargeAttributeSet, createSmallAttributeSet, getBackground, getBase, getBoxPainter, getDeclaration, getFont, getForeground, getIndexOfSize, getListPainter, getPointSize, getPointSize, getRule, getRule, getStyleSheets, getViewAttributes, importStyleSheet, loadRules, removeAttribute, removeAttributes, removeAttributes, removeStyle, removeStyleSheet, setBase, setBaseFontSize, setBaseFontSize, stringToColor, translateHTMLToCSSMethods inherited from class StyleContext
addChangeListener, addStyle, getChangeListeners, getCompressionThreshold, getDefaultStyleContext, getEmptySet, getFont, getFontMetrics, getStaticAttribute, getStaticAttributeKey, getStyle, getStyleNames, readAttributes, readAttributeSet, reclaim, registerStaticAttributeKey, removeChangeListener, toString, writeAttributes, writeAttributeSet
-
Constructor Details
-
FWDefaultStyleSheet
constructor of DefaultStylesheet for HTML rendering within components- Parameters:
aWidth- body width in pixels, ornullfor no width
-