|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||


, AbstractDocument.BranchElement
, AbstractDocument.LeafElement
, DefaultStyledDocument.SectionElement
, HTMLDocument.BlockElement
, HTMLDocument.RunElement
, SimpleAttributeSet
, StyleContext.NamedStyle

public interface MutableAttributeSet

A generic interface for a mutable collection of unique attributes. Implementations will probably want to provide a constructor of the form: public XXXAttributeSet(ConstAttributeSet source);
| Nested Class Summary |
|---|
Nested classes/interfaces inherited from interface javax.swing.text.AttributeSet ![]() |
|---|
AttributeSet.CharacterAttribute |
| Field Summary |
|---|
Fields inherited from interface javax.swing.text.AttributeSet ![]() |
|---|
NameAttribute |
| Method Summary | |
|---|---|
void |
addAttribute
Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. |
void |
addAttributes
Creates a new attribute set similar to this one except that it contains the given attributes and values. |
void |
removeAttribute
Removes an attribute with the given name. |
void |
removeAttributes
Removes a set of attributes with the given name. |
void |
removeAttributes
Removes an attribute set with the given names. |
void |
setResolveParent
Sets the resolving parent. |
Methods inherited from interface javax.swing.text.AttributeSet ![]() |
|---|
containsAttribute |
| Method Detail |
|---|

void addAttribute(Object![]()
![]()
name, Object
![]()
![]()
value)
name - the namevalue - the value

void addAttributes(AttributeSet![]()
![]()
attributes)
attributes - the set of attributes

void removeAttribute(Object![]()
![]()
name)
name.
name - the attribute name

void removeAttributes(Enumeration![]()
![]()
<?> names)
names.
names - the set of names

void removeAttributes(AttributeSet![]()
![]()
attributes)
name.
attributes - the set of attributes

void setResolveParent(AttributeSet![]()
![]()
parent)
parent - the parent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||