public class Body extends HTMLTagWithCoreEvents
XMLContainerImpl.sMode
mContentAndSubtagList
Modifier and Type | Method and Description |
---|---|
Center |
addCenter() |
Center |
addCenter(HTMLTag inContent) |
Center |
addCenter(String inContent) |
Div |
addDiv() |
Div |
addDiv(String inContent) |
Form |
addForm() |
Form |
addForm(String inFormName) |
IFrame |
addIFrame() |
Img |
addImage(String inSrc) |
ImageMap |
addImageMap() |
Link |
addLink() |
Link |
addLink(CharSequence inURL) |
Link |
addLink(CharSequence inURL,
String inContent) |
Nobr |
addNobr() |
Nobr |
addNobr(HTMLTag inContent) |
Nobr |
addNobr(String inContent) |
Pre |
addPre() |
Pre |
addPre(HTMLTag inContent) |
Pre |
addPre(String inContent) |
Span |
addSpan() |
Span |
addSpan(HTMLTag inContent) |
Span |
addSpan(String inContent) |
Body |
addStyle(String inValue) |
Table |
addTable() |
Ul |
addUnorderedList() |
Body |
appendToOnLoad(String inValue)
Appends the specified javascript to the body's onload attribute.
|
void |
br() |
void |
br(int inNumber) |
void |
hr() |
void |
hr(String inWidth) |
void |
nbsp(int inNumber) |
Body |
setBackground(String inValue)
Sets the background image for the page.
|
Body |
setBackgroundColor(Color inValue)
Sets the background color for the page.
|
Body |
setBackgroundColor(HTMLColor inValue)
Sets the background color for the page.
|
Body |
setBackgroundColor(String inValue)
Sets the background color for the page.
|
Body |
setClass(String inValue)
Sets the class attribute to the specified value.
|
Body |
setId(String inValue) |
Body |
setOnClick(String inValue) |
Body |
setOnDblClick(String inValue) |
Body |
setOnKeyDown(String inValue) |
Body |
setOnKeyPress(String inValue) |
Body |
setOnKeyUp(String inValue) |
Body |
setOnLoad(String inValue)
Sets the onload attribute to the specified value.
|
Body |
setOnMouseDown(String inValue) |
Body |
setOnMouseMove(String inValue) |
Body |
setOnMouseOut(String inValue) |
Body |
setOnMouseOver(String inValue) |
Body |
setOnMouseUp(String inValue) |
Body |
setStyle(CharSequence inValue) |
appendToOnClick, appendToOnDblClick, appendToOnKeyDown, appendToOnKeyPress, appendToOnKeyUp, appendToOnMouseDown, appendToOnMouseMove, appendToOnMouseOut, appendToOnMouseOver, appendToOnMouseUp, getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp
addClass, applyColorSpec, clone, getClassAttribute, getDraggable, getId, getStyle, initFromXMLNode, removeClass, removeStyleProperty, setAttribute, setAttribute, setDraggable, setStyleColor, toHTML, toHTML, toHTML, toIndentedHTML, toIndentedHTML, toIndentedHTML, toText
addSubtag, addSubtag, addXMLNamespaceDeclaration, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getNamespace, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttributes, setNamespace, setTagName, setTagName, toIndentedXML, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML
public ImageMap addImageMap()
public Link addLink(CharSequence inURL)
public Link addLink(CharSequence inURL, String inContent)
public Ul addUnorderedList()
public void br()
public void br(int inNumber)
public void nbsp(int inNumber)
public void hr()
public Body setBackground(String inValue)
inValue
- the URL of the background image to use for the bodypublic Body setBackgroundColor(HTMLColor inValue)
inValue
- the background color to use for the bodypublic Body setBackgroundColor(Color inValue)
inValue
- the background color to use for the bodypublic Body setBackgroundColor(String inValue)
inValue
- the background color to use for the bodypublic Body setOnLoad(String inValue)
inValue
- the 'onload' javascript to apply to the bodypublic Body appendToOnLoad(String inValue)
inValue
- javascript to append to the 'onload' javascript for the bodypublic Body setStyle(CharSequence inValue)
public Body setOnClick(String inValue)
setOnClick
in class HTMLTagWithCoreEvents
public Body setOnDblClick(String inValue)
setOnDblClick
in class HTMLTagWithCoreEvents
public Body setOnMouseDown(String inValue)
setOnMouseDown
in class HTMLTagWithCoreEvents
public Body setOnMouseMove(String inValue)
setOnMouseMove
in class HTMLTagWithCoreEvents
public Body setOnMouseOut(String inValue)
setOnMouseOut
in class HTMLTagWithCoreEvents
public Body setOnMouseOver(String inValue)
setOnMouseOver
in class HTMLTagWithCoreEvents
public Body setOnMouseUp(String inValue)
setOnMouseUp
in class HTMLTagWithCoreEvents
public Body setOnKeyDown(String inValue)
setOnKeyDown
in class HTMLTagWithCoreEvents
public Body setOnKeyPress(String inValue)
setOnKeyPress
in class HTMLTagWithCoreEvents
public Body setOnKeyUp(String inValue)
setOnKeyUp
in class HTMLTagWithCoreEvents