javax.swing.text.html
Class StyleSheet.SmallConversionSet

java.lang.Object
  extended byjavax.swing.text.StyleContext.SmallAttributeSet
      extended byjavax.swing.text.html.StyleSheet.SmallConversionSet
All Implemented Interfaces:
AttributeSet
Enclosing class:
StyleSheet

class StyleSheet.SmallConversionSet
extends StyleContext.SmallAttributeSet

Small set of attributes that does conversion of requests for attributes of type StyleConstants.


Nested Class Summary
 
Nested classes inherited from class javax.swing.text.AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
 
Field Summary
 
Fields inherited from class javax.swing.text.StyleContext.SmallAttributeSet
 
Fields inherited from interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute
 
Constructor Summary
StyleSheet.SmallConversionSet(AttributeSet attrs)
          Creates a new attribute set based on a supplied set of attributes.
 
Method Summary
 Object getAttribute(Object key)
          Gets the value of an attribute.
 boolean isDefined(Object key)
          Checks whether a given attribute is defined.
 
Methods inherited from class javax.swing.text.StyleContext.SmallAttributeSet
clone, containsAttribute, containsAttributes, copyAttributes, equals, getAttributeCount, getAttributeNames, getResolveParent, hashCode, isEqual, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyleSheet.SmallConversionSet

public StyleSheet.SmallConversionSet(AttributeSet attrs)
Creates a new attribute set based on a supplied set of attributes.

Method Detail

isDefined

public boolean isDefined(Object key)
Checks whether a given attribute is defined.

Specified by:
isDefined in interface AttributeSet
Overrides:
isDefined in class StyleContext.SmallAttributeSet
Parameters:
key - the attribute key
Returns:
true if the attribute is defined
See Also:
AttributeSet.isDefined(java.lang.Object)

getAttribute

public Object getAttribute(Object key)
Gets the value of an attribute.

Specified by:
getAttribute in interface AttributeSet
Overrides:
getAttribute in class StyleContext.SmallAttributeSet
Parameters:
key - the attribute name
Returns:
the attribute value
See Also:
AttributeSet.getAttribute(java.lang.Object)