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

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

Introduction

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

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.
ObjectgetAttribute(Object key)
Fetches the value of the given attribute.
intgetAttributeCount()
Returns the number of attributes that are defined locally in this set.
EnumerationgetAttributeNames()
Returns an enumeration over the names of the attributes that are defined locally in the set.
StringgetName()
Fetches the name of the style.
StringtoString()
Returns a string representation of the object.