java.lang.Object
javax.swing.text.StyleContext
javax.swing.text.html.StyleSheet
- All Implemented Interfaces:
- Serializable, AbstractDocument.AttributeContext
- See Also:
- Top Examples
public AttributeSet addAttribute(AttributeSet old,
Object key,
Object value)
- See Also:
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
, StyleContext, AbstractDocument.AttributeContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet addAttributes(AttributeSet old,
AttributeSet attr)
- See Also:
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
, StyleContext, AbstractDocument.AttributeContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addCSSAttribute(MutableAttributeSet attr,
CSS.Attribute key,
String value)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean addCSSAttributeFromHTML(MutableAttributeSet attr,
CSS.Attribute key,
String value)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addRule(String rule)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addStyleSheet(StyleSheet ss)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected MutableAttributeSet createLargeAttributeSet(AttributeSet a)
- See Also:
- StyleContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected StyleContext.SmallAttributeSet createSmallAttributeSet(AttributeSet a)
- See Also:
- StyleContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Color getBackground(AttributeSet a)
- See Also:
- StyleContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public URL getBase()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public StyleSheet.BoxPainter getBoxPainter(AttributeSet a)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet getDeclaration(String decl)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Font getFont(AttributeSet a)
- See Also:
- StyleContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Color getForeground(AttributeSet a)
- See Also:
- StyleContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static int getIndexOfSize(float pt)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public StyleSheet.ListPainter getListPainter(AttributeSet a)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getPointSize(int index)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getPointSize(String size)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Style getRule(String selector)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Style getRule(HTML.Tag t,
Element e)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public StyleSheet[] getStyleSheets()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet getViewAttributes(View v)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void importStyleSheet(URL url)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void loadRules(Reader in,
URL ref)
throws IOException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet removeAttribute(AttributeSet old,
Object key)
- See Also:
MutableAttributeSet.removeAttribute(java.lang.Object)
, StyleContext, AbstractDocument.AttributeContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet removeAttributes(AttributeSet old,
Enumeration<?> names)
- See Also:
MutableAttributeSet.removeAttributes(java.util.Enumeration>)
, StyleContext, AbstractDocument.AttributeContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet removeAttributes(AttributeSet old,
AttributeSet attrs)
- See Also:
MutableAttributeSet.removeAttributes(java.util.Enumeration>)
, StyleContext, AbstractDocument.AttributeContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeStyle(String nm)
- See Also:
- StyleContext
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeStyleSheet(StyleSheet ss)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBase(URL base)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBaseFontSize(int sz)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBaseFontSize(String size)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Color stringToColor(String string)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public StyleSheet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AttributeSet translateHTMLToCSS(AttributeSet htmlAttrSet)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples