javax.swing.text.html
Class StyleSheet.LargeConversionSet
java.lang.Object
javax.swing.text.SimpleAttributeSet
javax.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.
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 |
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()
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)