|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.xml.Node
electric.xml.Child
electric.xml.Parent
electric.xml.Element
electric.util.html.HTML
HTML provides an object-oriented way to create HTML pages.
Field Summary |
Fields inherited from class electric.xml.Parent |
children |
Fields inherited from class electric.xml.Child |
parent |
Fields inherited from class electric.xml.Node |
list, next, prev |
Fields inherited from interface electric.util.html.IHTMLConstants |
A, ACTION, ALIGN, ALINK, ALT, AQUA, B, BACKGROUND, BGCOLOR, BIG, BLACK, BLUE, BODY, BORDER, BR, CELLPADDING, CELLSPACING, CENTER, CHECKED, CODE, COLOR, COLS, COLSPAN, DD, DIV, DL, DT, FACE, FONT, FORM, FRAME, FRAMESET, FUCHSIA, GRAY, GREEN, H1, H2, H3, HEAD, HR, HREF, HSPACE, HTML, I, IMG, INPUT, LI, LIME, LINK, MAROON, MAXLENGTH, METHOD, MULTIPLE, NAME, NAVY, OL, OLIVE, OPTION, P, PRE, PURPLE, RED, REL, ROWS, ROWSPAN, SELECT, SELECTED, SILVER, SIZE, SMALL, SPAN, SRC, STRIKE, STYLE, STYLECLASS, SUB, SUP, TABLE, TARGET, TD, TEAL, TEXT, TEXTAREA, TH, TITLE, TR, TT, TYPE, U, UL, VALIGN, VALUE, VLINK, VSPACE, WHITE, WIDTH, YELLOW |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from interface electric.xml.IXMLConstants |
ATTLIST_START, ATTLIST_STOP, CDATA, CDATA_START, CDATA_STOP, CLOSE_TAG, COLON, COMMENT_START, COMMENT_STOP, DOCTYPE_START, DOCTYPE_STOP, ELEMENTDECL_START, ELEMENTDECL_STOP, ENCODING, ENTITYDECL_START, ENTITYDECL_STOP, ID, ID_CASE, INSTRUCTION_START, INSTRUCTION_STOP, NEGATIVE_INFINITY, NOT_A_NUMBER, NOTATIONDECL_START, NOTATIONDECL_STOP, NULL, OPEN_TAG, POSITIVE_INFINITY, PUBLIC, SPECIALS, STANDALONE, SUBSTITUTES, SYSTEM, UNDEFINED, VERSION, XML, XML_NAMESPACE, XMLDECL_START, XMLDECL_STOP, XMLNS, XMLNS_NAMESPACE |
Fields inherited from interface electric.xml.IDOMConstants |
CDATA_SECTION_NAME, COMMENT_NAME, CORE, DOCUMENT_FRAGMENT_NAME, DOCUMENT_NAME, HIERARCHY_REQUEST_ERR, TEXT_NAME |
Constructor Summary | |
HTML()
|
|
HTML(java.lang.String name)
|
Method Summary | |
HTML |
align(java.lang.String type)
|
HTML |
alinkColor(java.lang.String color)
Set the activated link color to the specified value. |
HTML |
alt(java.lang.String string)
|
java.lang.String |
asString()
|
HTML |
backgroundColor(java.lang.String color)
Set the background color to the specified value. |
HTML |
backgroundImage(java.lang.String image)
Set the background image to the specified value. |
HTML |
big()
Display subsequent text in a big size. |
HTML |
body()
Add a BODY. |
HTML |
bold()
Display subsequent text in bold. |
HTML |
border(java.lang.String width)
|
HTML |
bulletList()
Start a bullet list. |
HTML |
button(java.lang.String source)
Add a custom button to the current form. |
HTML |
cell()
|
HTML |
cellHeading()
|
HTML |
cellPadding(java.lang.String amount)
|
HTML |
cellSpacing(java.lang.String amount)
|
HTML |
checkbox(java.lang.String name,
boolean checked,
java.lang.String value)
Add a checkbox to the current form. |
HTML |
code()
Display subsequent text as computer code. |
HTML |
cols(java.lang.String columns)
|
HTML |
colSpan(java.lang.String number)
|
HTML |
definitionKey()
Add a key to the current definition list. |
HTML |
definitionList()
Start a definition list. |
HTML |
definitionValue()
Add a value to the current definition list. |
HTML |
division()
|
static HTML |
document(java.lang.String title)
|
HTML |
dropMenu(java.lang.String name)
Add a drop-down menu to the current form. |
HTML |
font()
Start a font declaration. |
HTML |
fontColor(java.lang.String color)
Set the font color to the specified value. |
HTML |
fontFace(java.lang.String face)
Set the font face to the specified value. |
HTML |
fontSize(int size)
Set the font size to the specified value. |
HTML |
form(java.lang.String method,
java.lang.String action)
|
HTML |
frame()
|
HTML |
frameset()
|
HTML |
head()
Add a HEAD. |
HTML |
heading(int level)
Add a heading with the specified level. |
HTML |
hidden(java.lang.String name,
java.lang.String value)
|
HTML |
horizontalSpace(java.lang.String space)
|
HTML |
html()
|
HTML |
image()
Add an image. |
HTML |
italic()
Display subsequent text in italics. |
HTML |
item()
Add an item to the current list. |
HTML |
link(java.lang.String link)
Add a link to the specified location. |
HTML |
linkColor(java.lang.String color)
Set the unfollowed link color to the specified value. |
HTML |
name(java.lang.String name)
|
HTML |
newline()
Start a new line. |
HTML |
numberList()
Start a numbered list. |
HTML |
option(java.lang.String value,
boolean selected,
java.lang.String text)
|
HTML |
paragraph()
Start a new paragraph. |
HTML |
preformatted()
Display subsequent text as preformatted style. |
HTML |
radio(java.lang.String name,
boolean checked,
java.lang.String value)
Add a radio button to the current form. |
HTML |
raw(java.lang.String string)
Append the specified text without performing any metacharacter substitutions. |
HTML |
reset(java.lang.String label)
Add a reset button to the current form. |
HTML |
row()
|
HTML |
rows(java.lang.String rows)
|
HTML |
rowSpan(java.lang.String number)
|
HTML |
ruler()
Add a horizontal ruler. |
HTML |
scrollMenu(java.lang.String name,
int size,
boolean multiple)
Add a scrolling menu to the current form. |
HTML |
small()
Display subsequent text in a small size. |
HTML |
source(java.lang.String source)
Set the image source to the specified value. |
HTML |
span()
|
HTML |
strike()
Display subsequent text using strikethrough. |
HTML |
style()
|
HTML |
styleclass(java.lang.String styleclass)
|
HTML |
stylesheet(java.lang.String stylesheet)
Set the style sheet to the specified value. |
HTML |
submit(java.lang.String label)
Add a submit button to the current form. |
HTML |
subscript()
Display subsequent text in subscript. |
HTML |
superscript()
Display subsequent text in superscript. |
HTML |
table()
Add a table. |
HTML |
target(java.lang.String target)
|
HTML |
text(java.lang.String string)
Append the specified text. |
HTML |
textArea(java.lang.String name,
int rows,
int columns)
Add a text area to the current form. |
HTML |
textBox(java.lang.String name,
int size,
int maxlength,
java.lang.String text)
Add a text box to the current form. |
HTML |
textColor(java.lang.String color)
Set the text color to the specified value. |
HTML |
title()
Add a title. |
HTML |
typewriter()
Display subsequent text using a typewriter style. |
HTML |
underline()
Display subsequent text using underline. |
HTML |
valign(java.lang.String type)
|
HTML |
verticalSpace(java.lang.String space)
|
HTML |
vlinkColor(java.lang.String color)
Set the followed link color to the specified value. |
HTML |
width(java.lang.String amount)
|
Methods inherited from class electric.xml.Child |
cloneNode, getByteArray, getByteArray, getByteArray, getBytes, getBytes, getBytes, getDocument, getNextSiblingChild, getOwnerDocument, getParent, getParentNode, getPreviousSiblingChild, replaceWith, setNextSiblingChild, setParent, setPreviousSiblingChild, toString, toString, write, write, write |
Methods inherited from class electric.xml.Node |
getNextSibling, getNextSiblingNode, getNode, getNode, getNodes, getNodeValue, getPreviousSibling, getPreviousSiblingNode, isSupported, normalize, remove, setNextSiblingNode, setNodeValue, setPreviousSiblingNode |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue |
Constructor Detail |
public HTML()
public HTML(java.lang.String name)
Method Detail |
public static HTML document(java.lang.String title)
public HTML body()
public HTML division()
public HTML span()
public HTML heading(int level)
public HTML head()
public HTML ruler()
public HTML html()
public HTML title()
public HTML newline()
public HTML code()
public HTML paragraph()
public HTML preformatted()
public HTML subscript()
public HTML superscript()
public HTML bold()
public HTML big()
public HTML font()
public HTML italic()
public HTML small()
public HTML typewriter()
public HTML underline()
public HTML bulletList()
public HTML numberList()
public HTML item()
public HTML definitionList()
public HTML definitionKey()
public HTML definitionValue()
public HTML link(java.lang.String link)
link
- The URL of the location.public HTML table()
public HTML cols(java.lang.String columns)
public HTML cell()
public HTML cellHeading()
public HTML row()
public HTML frameset()
public HTML frame()
public HTML image()
public HTML style()
public HTML styleclass(java.lang.String styleclass)
public HTML form(java.lang.String method, java.lang.String action)
public HTML hidden(java.lang.String name, java.lang.String value)
public HTML submit(java.lang.String label)
label
- public HTML button(java.lang.String source)
source
- public HTML reset(java.lang.String label)
label
- public HTML option(java.lang.String value, boolean selected, java.lang.String text)
public HTML textBox(java.lang.String name, int size, int maxlength, java.lang.String text)
name
- size
- maxlength
- text
- public HTML checkbox(java.lang.String name, boolean checked, java.lang.String value)
name
- checked
- value
- public HTML radio(java.lang.String name, boolean checked, java.lang.String value)
name
- checked
- value
- public HTML textArea(java.lang.String name, int rows, int columns)
name
- rows
- columns
- public HTML dropMenu(java.lang.String name)
name
- public HTML scrollMenu(java.lang.String name, int size, boolean multiple)
name
- size
- multiple
- public java.lang.String asString()
public HTML backgroundColor(java.lang.String color)
color
- The color.public HTML textColor(java.lang.String color)
color
- The color.public HTML linkColor(java.lang.String color)
color
- The color.public HTML vlinkColor(java.lang.String color)
color
- The color.public HTML alinkColor(java.lang.String color)
color
- The color.public HTML backgroundImage(java.lang.String image)
image
- A URL to the background image.public HTML raw(java.lang.String string)
public HTML text(java.lang.String string)
string
- The text.public HTML fontColor(java.lang.String color)
color
- The color.public HTML fontSize(int size)
public HTML fontFace(java.lang.String face)
public HTML strike()
public HTML align(java.lang.String type)
public HTML valign(java.lang.String type)
public HTML stylesheet(java.lang.String stylesheet)
public HTML source(java.lang.String source)
public HTML alt(java.lang.String string)
public HTML verticalSpace(java.lang.String space)
public HTML horizontalSpace(java.lang.String space)
public HTML border(java.lang.String width)
public HTML cellSpacing(java.lang.String amount)
public HTML cellPadding(java.lang.String amount)
public HTML width(java.lang.String amount)
public HTML rowSpan(java.lang.String number)
public HTML colSpan(java.lang.String number)
public HTML rows(java.lang.String rows)
public HTML name(java.lang.String name)
public HTML target(java.lang.String target)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |