All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.text.JAttributes
java.lang.Object
|
+----com.sun.java.swing.text.JAttributes
- public class JAttributes
- extends Object
- implements Attributes, Serializable
Implements the Attribute interface using a hashtable.
-
changeEvent
-
-
changeListener
-
-
JAttributes()
-
-
JAttributes(Attributes)
-
-
addChangeListener(ChangeListener)
-
-
copyAttributes(Attributes)
-
-
getAttribute(String)
- Fetch the value of the given attribute.
-
getAttributeNames()
-
-
getLocalAttribute(String)
- Fetch the value of the given attribute.
-
getResolveParent()
-
-
removeAttribute(String)
-
-
removeAttributes()
-
-
removeChangeListener(ChangeListener)
-
-
setAttribute(String, Object)
- Set the value for some general attribute.
-
setResolveParent(Attributes)
-
changeListener
protected transient ChangeListener changeListener
changeEvent
protected ChangeEvent changeEvent
JAttributes
public JAttributes()
JAttributes
public JAttributes(Attributes parent)
addChangeListener
public void addChangeListener(ChangeListener l)
- See Also:
- addChangeListener
removeChangeListener
public void removeChangeListener(ChangeListener l)
- See Also:
- removeChangeListener
getAttributeNames
public String[] getAttributeNames()
- See Also:
- getAttributeNames
getAttribute
public Object getAttribute(String attrName)
- Fetch the value of the given attribute. If the value is not found locally,
the search is continued upward until the value is either found or there are
no more parents. If the value is not found, null is returned.
getLocalAttribute
public Object getLocalAttribute(String attrName)
- Fetch the value of the given attribute. If the value is not found locally,
then discontinue the search and return null.
setAttribute
public void setAttribute(String attrName,
Object attrValue)
- Set the value for some general attribute.
removeAttribute
public void removeAttribute(String attrName)
- See Also:
- removeAttribute
getResolveParent
public Attributes getResolveParent()
setResolveParent
public void setResolveParent(Attributes parent)
removeAttributes
public void removeAttributes()
copyAttributes
public void copyAttributes(Attributes attr)
All Packages Class Hierarchy This Package Previous Next Index