|
|
javax > javax.swing > javax.swing.text > javax.swing.text.html > javax.swing.text.html.stylesheet >
Class: javax.swing.text.html.StyleSheet java.lang.Object javax.swing.text.StyleContext javax.swing.text.html.StyleSheet
public class StyleSheet extends StyleContext
FIELDS:
CONSTRUCTORS:
METHODS:
| | | | public | AttributeSet | addAttribute(AttributeSet old, Object key, Object value) Overrides: StyleContext |
| | public | AttributeSet | addAttributes(AttributeSet old, AttributeSet attr) Overrides: StyleContext |
| | public | void | addCSSAttribute(MutableAttributeSet attr, CSS.Attribute key, String value) |
| | public | boolean | addCSSAttributeFromHTML(MutableAttributeSet attr, CSS.Attribute key, String value) |
| | public | void | addRule(String rule) |
| | public | void | addStyleSheet(StyleSheet ss) |
| | protected | MutableAttributeSet | createLargeAttributeSet(AttributeSet a) Overrides: StyleContext |
| | protected | StyleContext.SmallAttributeSet | createSmallAttributeSet(AttributeSet a) Overrides: StyleContext |
| | public | Color | getBackground(AttributeSet a) Overrides: StyleContext |
| | public | URL | getBase() |
| | public | StyleSheet.BoxPainter | getBoxPainter(AttributeSet a) |
| | public | AttributeSet | getDeclaration(String decl) |
| | public | Font | getFont(AttributeSet a) Overrides: StyleContext |
| | public | Color | getForeground(AttributeSet a) Overrides: StyleContext |
| | public static | int | getIndexOfSize(float pt) |
| | public | StyleSheet.ListPainter | getListPainter(AttributeSet a) |
| | public | float | getPointSize(int index) |
| | public | float | getPointSize(String size) |
| | public | Style | getRule(String selector) |
| | public | Style | getRule(HTML.Tag t, Element e) |
| | public | StyleSheet[] | getStyleSheets() |
| | public | AttributeSet | getViewAttributes(View v) |
| | public | void | importStyleSheet(URL url) |
| | public | void | loadRules(Reader in, URL ref) Throws: IOException |
| | public | AttributeSet | removeAttribute(AttributeSet old, Object key) Overrides: StyleContext |
| | public | AttributeSet | removeAttributes(AttributeSet old, Enumeration names) Overrides: StyleContext |
| | public | AttributeSet | removeAttributes(AttributeSet old, AttributeSet attrs) Overrides: StyleContext |
| | public | void | removeStyle(String nm) Overrides: StyleContext |
| | public | void | removeStyleSheet(StyleSheet ss) |
| | public | void | setBase(URL base) |
| | public | void | setBaseFontSize(int sz) |
| | public | void | setBaseFontSize(String size) |
| | public | Color | stringToColor(String string) |
| | public | AttributeSet | translateHTMLToCSS(AttributeSet htmlAttrSet) |
| |
|
|
|
INHERITED METHODS:
| getDefaultStyleContext(), addStyle(java.lang.String, javax.swing.text.Style), removeStyle(java.lang.String), getStyle(java.lang.String), getStyleNames(), addChangeListener(javax.swing.event.ChangeListener), removeChangeListener(javax.swing.event.ChangeListener), getChangeListeners(), getFont(javax.swing.text.AttributeSet), getFont(java.lang.String, int, int), getForeground(javax.swing.text.AttributeSet), getBackground(javax.swing.text.AttributeSet), getFontMetrics(java.awt.Font), addAttribute(javax.swing.text.AttributeSet, java.lang.Object, java.lang.Object), addAttributes(javax.swing.text.AttributeSet, javax.swing.text.AttributeSet), removeAttribute(javax.swing.text.AttributeSet, java.lang.Object), removeAttributes(javax.swing.text.AttributeSet, java.util.Enumeration), removeAttributes(javax.swing.text.AttributeSet, javax.swing.text.AttributeSet), getEmptySet(), reclaim(javax.swing.text.AttributeSet), getCompressionThreshold(), createSmallAttributeSet(javax.swing.text.AttributeSet), createLargeAttributeSet(javax.swing.text.AttributeSet), toString(), writeAttributes(java.io.ObjectOutputStream, javax.swing.text.AttributeSet), readAttributes(java.io.ObjectInputStream, javax.swing.text.MutableAttributeSet), writeAttributeSet(java.io.ObjectOutputStream, javax.swing.text.AttributeSet), readAttributeSet(java.io.ObjectInputStream, javax.swing.text.MutableAttributeSet), registerStaticAttributeKey(java.lang.Object), getStaticAttribute(java.lang.Object), getStaticAttributeKey(java.lang.Object), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|