javax.swing.text
public class StyleContext.NamedStyle extends Object implements Serializable, Style
| Field Summary | |
|---|---|
| protected ChangeEvent | changeEvent | 
| protected EventListenerList | listenerList | 
| Constructor Summary | |
|---|---|
| NamedStyle() | |
| NamedStyle(Style parent) | |
| NamedStyle(String name, Style parent) | |
| Method Summary | |
|---|---|
| void | addAttribute(Object name, Object value) | 
| void | addAttributes(AttributeSet attr) | 
| void | addChangeListener(ChangeListener l) | 
| boolean | containsAttribute(Object name, Object value) | 
| boolean | containsAttributes(AttributeSet attrs) | 
| AttributeSet | copyAttributes() | 
| protected void | fireStateChanged() | 
| Object | getAttribute(Object attrName) | 
| int | getAttributeCount() | 
| Enumeration<?> | getAttributeNames() | 
| ChangeListener[] | getChangeListeners() | 
| <T extends EventListener> T[] | getListeners(Class<T> listenerType) | 
| String | getName() | 
| AttributeSet | getResolveParent() | 
| boolean | isDefined(Object attrName) | 
| boolean | isEqual(AttributeSet attr) | 
| void | removeAttribute(Object name) | 
| void | removeAttributes(AttributeSet attrs) | 
| void | removeAttributes(Enumeration<?> names) | 
| void | removeChangeListener(ChangeListener l) | 
| void | setName(String n) | 
| void | setResolveParent(AttributeSet parent) | 
| String | toString() |