public interface Style extends MutableAttributeSet
AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute , AttributeSet.FontAttribute , AttributeSet.ParagraphAttribute NameAttribute, ResolveAttribute| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ChangeListener
Adds a listener to track whenever an attribute has been changed.
|
String |
getName()
Fetches the name of the style.
|
void |
removeChangeListener(ChangeListener
Removes a listener that was tracking attribute changes.
|
addAttribute, addAttributes, removeAttribute, removeAttributes, removeAttributes, setResolveParentcontainsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEqualStringgetName()
null is returned if there is no name associated with the style.
void addChangeListener(ChangeListenerl)
l - the change listener
void removeChangeListener(ChangeListenerl)
l - the change listener