Java javax.swing.text MutableAttributeSet fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.text MutableAttributeSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.text MutableAttributeSet.

The text is from its open source code.

Method

voidaddAttribute(Object name, Object value)
Creates a new attribute set similar to this one except that it contains an attribute with the given name and value.
voidaddAttributes(AttributeSet attributes)
Creates a new attribute set similar to this one except that it contains the given attributes and values.
ObjectgetAttribute(Object key)
Fetches the value of the given attribute.
EnumerationgetAttributeNames()
Returns an enumeration over the names of the attributes that are defined locally in the set.
voidremoveAttribute(Object name)
Removes an attribute with the given name .
voidremoveAttributes(Enumeration names)
Removes an attribute set with the given names .
voidremoveAttributes(AttributeSet attributes)
Removes a set of attributes with the given name .