Class ScaledStyleSheet
java.lang.Object
javax.swing.text.StyleContext
javax.swing.text.html.StyleSheet
com.lightdev.app.shtm.ScaledStyleSheet
- All Implemented Interfaces:
Serializable, AbstractDocument.AttributeContext
- 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
FieldsFields inherited from class StyleContext
DEFAULT_STYLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class StyleSheet
addAttribute, addAttributes, addCSSAttribute, addCSSAttributeFromHTML, addRule, addStyleSheet, createLargeAttributeSet, createSmallAttributeSet, getBackground, getBase, getBoxPainter, getDeclaration, 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
-
Field Details
-
FONT_SCALE_FACTOR
public static float FONT_SCALE_FACTOR
-
-
Constructor Details
-
ScaledStyleSheet
public ScaledStyleSheet()
-
-
Method Details
-
getFont
- Overrides:
getFontin classStyleSheet
-