java.lang.Object
javax.swing.text.StyleContext.SmallAttributeSet
- All Implemented Interfaces:
AttributeSet
- Enclosing class:
StyleContext
This class holds a small number of attributes in an array.
The storage format is key, value, key, value, etc. The size
of the set is the length of the array divided by two. By
default, this is the class that will be used to store attributes
when held in the compact sharable form.
-
Nested Class Summary
Nested classes/interfaces declared in interface javax.swing.text.AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
-
Field Summary
Fields declared in interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute
-
Constructor Summary
ConstructorsConstructorDescriptionSmallAttributeSet
(Object[] attributes) Constructs a SmallAttributeSet.SmallAttributeSet
(AttributeSet attrs) Constructs a SmallAttributeSet. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones a set of attributes.boolean
containsAttribute
(Object name, Object value) Checks whether a given attribute name/value is defined.boolean