Class ParagraphStyle
java.lang.Object
javax.swing.text.SimpleAttributeSet
com.nomagic.magicreport.format.html.SimpleStyle
com.nomagic.magicreport.format.html.ParagraphStyle
- All Implemented Interfaces:
Serializable,Cloneable,AttributeSet,MutableAttributeSet,Style
A collection of attributes, represent paragraph styles.
- Since:
- Jun 3, 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
ConstructorsConstructorDescriptionCreates a new style, with a null name and parent.ParagraphStyle(String name) Creates a new style. -
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
-
ParagraphStyle
public ParagraphStyle()Creates a new style, with a null name and parent. -
ParagraphStyle
Creates a new style.- Parameters:
name- the style name, null for unnamed
-