|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.TraversableElement
org.pajes.html.SingleElementContainer
org.pajes.html.Heading
Places the heading tags around a piece of text or HTML.
| Field Summary |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
Heading(int level,
HTML text)
Wraps heading tags around a line of pre-formatted HTML. |
|
Heading(int level,
HTML text,
java.lang.String alignment)
Wraps heading tags around a line of pre-formatted HTML. |
|
Heading(int level,
java.lang.String text)
Wraps heading tags around a line of pre-formatted HTML. |
|
Heading(int level,
java.lang.String text,
java.lang.String alignment)
Wraps heading tags around a line of pre-formatted HTML. |
|
| Method Summary | |
Heading |
setAlignment(java.lang.String alignment)
Sets the alignment of the heading. |
Heading |
setText(HTML text)
Sets the text of the heading. |
Heading |
setText(java.lang.String text)
Sets the text of the heading. |
| Methods inherited from class org.pajes.html.SingleElementContainer |
get, set, size, writeContent |
| Methods inherited from class org.pajes.html.TraversableElement |
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Heading(int level,
HTML text)
level - the heading level between 1 and 6.text - the text to display as a heading.
TagException - if an invalid heading level number is specified.
public Heading(int level,
HTML text,
java.lang.String alignment)
level - the heading level between 1 and 6.text - the text to display as a heading.alignment - the alignment of the heading (Left, Center or Right).
public Heading(int level,
java.lang.String text)
level - the heading level between 1 and 6.text - the text to display as a heading.
public Heading(int level,
java.lang.String text,
java.lang.String alignment)
level - the heading level between 1 and 6.text - the text to display as a heading.alignment - the alignment of the heading (Left, Center or Right).| Method Detail |
public Heading setAlignment(java.lang.String alignment)
alignment - Left, Center or Right
TagException - if an invalid alignment is specified.public Heading setText(HTML text)
text - the text to display as a heading.
public Heading setText(java.lang.String text)
text - the text to display as a heading.
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||