Package com.lightdev.app.shtm
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 javax.swing.text.html.StyleSheet
StyleSheet.BoxPainter, StyleSheet.ListPainter
Nested classes/interfaces inherited from class javax.swing.text.StyleContext
StyleContext.NamedStyle, StyleContext.SmallAttributeSet
-
Field Summary
FieldsFields inherited from class javax.swing.text.StyleContext
DEFAULT_STYLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.text.html.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, translateHTMLToCSS
Methods inherited from class javax.swing.text.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:
getFont
in classStyleSheet
-