|
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.Container
org.pajes.html.StyleSheet
This class builds the STYLE tag and all of the Style Attributes that appear between the STYLE and /STYLE tags
| Field Summary |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
StyleSheet()
Creates an empty style sheet. |
|
StyleSheet(java.lang.String contentType)
Creates and empty style sheet of the specified type. |
|
| Method Summary | |
Container |
add(HTML plainText)
Over-rides Container.add(HTML) to prevent
anything except text being added to a stylesheet object. |
Container |
add(java.lang.String text,
boolean suppressNewLine)
Adds a line to the style sheet. |
StyleSheet |
setType(java.lang.String contentType)
Set the Style Sheet Type |
| Methods inherited from class org.pajes.html.Container |
add, add, addContent, clear, clone, delete, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, setContent, setContent, 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 StyleSheet()
public StyleSheet(java.lang.String contentType)
contentType - the content type (eg. text/css)| Method Detail |
public StyleSheet setType(java.lang.String contentType)
contentType - the content type (eg. text/css)
public Container add(HTML plainText)
Container.add(HTML) to prevent
anything except text being added to a stylesheet object.
add in class ContainerplainText - the text to be added.
TagException - if anything except PlainText is added to
the style sheet.
public Container add(java.lang.String text,
boolean suppressNewLine)
add in class Containertext - the style sheet text.suppressNewLine - suppresses a new line after the text.
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||