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:
java.io.Serializable
,javax.swing.text.AbstractDocument.AttributeContext
public class ScaledStyleSheet extends javax.swing.text.html.StyleSheet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static float
FONT_SCALE_FACTOR
-
Constructor Summary
Constructors Constructor Description ScaledStyleSheet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Font
getFont(javax.swing.text.AttributeSet a)
-
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
-
-