com.lightdev.app.shtm
Class ScaledStyleSheet

java.lang.Object
  extended by javax.swing.text.StyleContext
      extended by javax.swing.text.html.StyleSheet
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.text.html.StyleSheet
javax.swing.text.html.StyleSheet.BoxPainter, javax.swing.text.html.StyleSheet.ListPainter
 
Nested classes/interfaces inherited from class javax.swing.text.StyleContext
javax.swing.text.StyleContext.NamedStyle, javax.swing.text.StyleContext.SmallAttributeSet
 
Field Summary
static float FONT_SCALE_FACTOR
           
 
Fields inherited from class javax.swing.text.StyleContext
DEFAULT_STYLE
 
Constructor Summary
ScaledStyleSheet()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FONT_SCALE_FACTOR

public static float FONT_SCALE_FACTOR
Constructor Detail

ScaledStyleSheet

public ScaledStyleSheet()
Method Detail

getFont

public java.awt.Font getFont(javax.swing.text.AttributeSet a)
Overrides:
getFont in class javax.swing.text.html.StyleSheet