Generated by
JDiff

Class javax.swing.text.html.StyleSheet

Documentation changed from old to new.

Added Methods
void addCSSAttribute(MutableAttributeSet, Attribute, String) Adds a CSS attribute to the given set.
boolean addCSSAttributeFromHTML(MutableAttributeSet, Attribute, String) Adds a CSS attribute to the given set.
void addStyleSheet(StyleSheet) Adds the rules from the StyleSheet ss to those of the receiver.
URL getBase() Returns the base.
StyleSheet[] getStyleSheets() Returns an array of the linked StyleSheets.
void importStyleSheet(URL) Imports a style sheet from url.
void removeStyleSheet(StyleSheet) Removes the StyleSheet ss from those of the receiver.
void setBase(URL) Sets the base.
 

Changed Methods
AttributeSet addAttribute(AttributeSet, Object, Object) Documentation changed from old to new.
Adds an attribute to the given set and returns the new representative set.
void addRule(String) Documentation changed from old to new.
Adds a set of rules to the sheet.
MutableAttributeSet createLargeAttributeSet(AttributeSet) Documentation changed from old to new.
Creates a large set of attributes that should trade off space for time.
SmallAttributeSet createSmallAttributeSet(AttributeSet) Documentation changed from old to new.
Creates a compact set of attributes that might be shared.
BoxPainter getBoxPainter(AttributeSet) Documentation changed from old to new.
Fetches the box formatter to use for the given set of CSS attributes.
AttributeSet getDeclaration(String) Documentation changed from old to new.
Translates a CSS declaration to an AttributeSet that represents the CSS declaration.
ListPainter getListPainter(AttributeSet) Documentation changed from old to new.
Fetches the list formatter to use for the given set of CSS attributes.
AttributeSet getViewAttributes(View) Documentation changed from old to new.
Fetches a set of attributes to use in the view for displaying.
void loadRules(Reader, URL) Documentation changed from old to new.
Loads a set of rules that have been specified in terms of CSS1 grammar.
Color stringToColor(String) Documentation changed from old to new.
Converts a color string such as "RED" or "#NNNNNN" to a Color.
AttributeSet translateHTMLToCSS(AttributeSet) Documentation changed from old to new.
Converts a set of HTML attributes to an equivalent set of CSS attributes.
Font getFont(AttributeSet) Documentation changed from old to new.
Fetches the font to use for the given set of attributes.
float getPointSize(int) Documentation changed from old to new.
Returns the point size given a size index.
float getPointSize(String) Documentation changed from old to new.
Given a string such as "+2" "-2" or "2" returns a point size value.
Style getRule(String) Documentation changed from old to new.
Fetches the rule that best matches the selector given in string form.
Style getRule(Tag, Element) Documentation changed from old to new.
Fetches the style to use to render the given type of HTML tag.