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);
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);
(add-attribute this name value)
Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. The object must be immutable, or not mutated by any client.
name - the name - java.lang.Object
value - the value - java.lang.Object
Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. The object must be immutable, or not mutated by any client. name - the name - `java.lang.Object` value - the value - `java.lang.Object`
(add-attributes this attributes)
Creates a new attribute set similar to this one except that it contains the given attributes and values.
attributes - the set of attributes - javax.swing.text.AttributeSet
Creates a new attribute set similar to this one except that it contains the given attributes and values. attributes - the set of attributes - `javax.swing.text.AttributeSet`
(remove-attribute this name)
Removes an attribute with the given name.
name - the attribute name - java.lang.Object
Removes an attribute with the given name. name - the attribute name - `java.lang.Object`
(remove-attributes this names)
Removes an attribute set with the given names.
names - the set of names - java.util.Enumeration
Removes an attribute set with the given names. names - the set of names - `java.util.Enumeration`
(set-resolve-parent this parent)
Sets the resolving parent. This is the set of attributes to resolve through if an attribute isn't defined locally.
parent - the parent - javax.swing.text.AttributeSet
Sets the resolving parent. This is the set of attributes to resolve through if an attribute isn't defined locally. parent - the parent - `javax.swing.text.AttributeSet`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close