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

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

Introduction

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

The text is from its open source code.

Field

AttributeSetEMPTY
An empty attribute set.

Constructor

SimpleAttributeSet()
Creates a new attribute set.
SimpleAttributeSet(AttributeSet source)
Creates a new attribute set based on a supplied set of attributes.

Method

voidaddAttribute(Object name, Object value)
Adds an attribute to the list.
ObjectgetAttribute(Object name)
Gets the value of an attribute.
intgetAttributeCount()
Gets a count of the number of attributes.
EnumerationgetAttributeNames()
Gets the names of the attributes in the set.