|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.StyleContext
javax.swing.text.html.StyleSheet
com.lightdev.app.shtm.ScaledStyleSheet
public class ScaledStyleSheet
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 |
---|
public static float FONT_SCALE_FACTOR
Constructor Detail |
---|
public ScaledStyleSheet()
Method Detail |
---|
public java.awt.Font getFont(javax.swing.text.AttributeSet a)
getFont
in class javax.swing.text.html.StyleSheet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |