KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > StyleContext

javax.swing.text
Class StyleContext

java.lang.Object
  extended by javax.swing.text.StyleContext
All Implemented Interfaces:
Serializable, AbstractDocument.AttributeContext
Direct Known Subclasses:
StyleSheet
See Also:
Top Examples, Source Code, XMLEncoder

public AttributeSet addAttribute(AttributeSet old,
                                 Object name,
                                 Object value)
See Also:
MutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object), 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), AbstractDocument.AttributeContext
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addChangeListener(ChangeListener l)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Style addStyle(String nm,
                      Style parent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MutableAttributeSet createLargeAttributeSet(AttributeSet a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected StyleContext.SmallAttributeSet createSmallAttributeSet(AttributeSet a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String DEFAULT_STYLE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getBackground(AttributeSet attr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ChangeListener[] getChangeListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getCompressionThreshold()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final StyleContext getDefaultStyleContext()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AttributeSet getEmptySet()
See Also:
AbstractDocument.AttributeContext
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Font getFont(String family,
                    int style,
                    int size)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Font getFont(AttributeSet attr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public FontMetrics getFontMetrics(Font f)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Color getForeground(AttributeSet attr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Object getStaticAttribute(Object key)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Object getStaticAttributeKey(Object key)
See Also:
registerStaticAttributeKey(java.lang.Object), getStaticAttribute(java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Style getStyle(String nm)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Enumeration<?> getStyleNames()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void readAttributes(ObjectInputStream in,
                           MutableAttributeSet a)
                    throws ClassNotFoundException,
                           IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void readAttributeSet(ObjectInputStream in,
                                    MutableAttributeSet a)
                             throws ClassNotFoundException,
                                    IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void reclaim(AttributeSet a)
See Also:
AbstractDocument.AttributeContext
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void registerStaticAttributeKey(Object key)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AttributeSet removeAttribute(AttributeSet old,
                                    Object name)
See Also:
MutableAttributeSet.removeAttribute(java.lang.Object), 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), 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), AbstractDocument.AttributeContext
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeChangeListener(ChangeListener l)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeStyle(String nm)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public StyleContext()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void writeAttributes(ObjectOutputStream out,
                            AttributeSet a)
                     throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void writeAttributeSet(ObjectOutputStream out,
                                     AttributeSet a)
                              throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags