javax.swing.text.html
Class StyleSheet.LargeConversionSet

java.lang.Object
  extended byjavax.swing.text.SimpleAttributeSet
      extended byjavax.swing.text.html.StyleSheet.LargeConversionSet
All Implemented Interfaces:
AttributeSet, Cloneable, MutableAttributeSet, Serializable
Enclosing class:
StyleSheet

class StyleSheet.LargeConversionSet
extends SimpleAttributeSet

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


Nested Class Summary
 
Nested classes inherited from class javax.swing.text.SimpleAttributeSet
 
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.SimpleAttributeSet
EMPTY
 
Fields inherited from interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute
 
Constructor Summary
StyleSheet.LargeConversionSet()
           
StyleSheet.LargeConversionSet(AttributeSet source)
          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.SimpleAttributeSet
addAttribute, addAttributes, clone, containsAttribute, containsAttributes, copyAttributes, equals, getAttributeCount, getAttributeNames, getResolveParent, hashCode, isEmpty, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyleSheet.LargeConversionSet

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

Parameters:
source - the set of attributes

StyleSheet.LargeConversionSet

public StyleSheet.LargeConversionSet()
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 SimpleAttributeSet
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 SimpleAttributeSet
Parameters:
key - the attribute name
Returns:
the attribute value
See Also:
AttributeSet.getAttribute(java.lang.Object)