Class TextStyle
java.lang.Object
javax.swing.text.SimpleAttributeSet
com.nomagic.magicreport.format.html.SimpleStyle
com.nomagic.magicreport.format.html.TextStyle
- All Implemented Interfaces:
Serializable,Cloneable,AttributeSet,MutableAttributeSet,Style
A collection of attributes, represent text styles.
- Since:
- Dec 24, 2009
- See Also:
-
Field Summary
Fields inherited from class com.nomagic.magicreport.format.html.SimpleStyle
changeEvent, listenerListFields inherited from class javax.swing.text.SimpleAttributeSet
EMPTYFields inherited from interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.nomagic.magicreport.format.html.SimpleStyle
addAttribute, addAttributes, addChangeListener, equals, fireStateChanged, getChangeListeners, getListeners, getName, hashCode, removeAttribute, removeAttributes, removeAttributes, removeChangeListener, setNameMethods inherited from class javax.swing.text.SimpleAttributeSet
clone, containsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEmpty, isEqual, setResolveParent, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.swing.text.AttributeSet
containsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEqualMethods inherited from interface javax.swing.text.MutableAttributeSet
setResolveParent
-
Constructor Details
-
TextStyle
public TextStyle()Creates a new style, with a null name and parent. -
TextStyle
Creates a new style.- Parameters:
name- the style name, null for unnamed
-