com.simpleservlets.htmlobjects
Class HTMLBody
java.lang.Object
com.simpleservlets.htmlobjects.GenericHTMLElement
com.simpleservlets.htmlobjects.HTMLBody
- All Implemented Interfaces:
- DoNotMinimizeEmpty, HTMLElement
public class HTMLBody
- extends GenericHTMLElement
- implements HTMLElement, DoNotMinimizeEmpty
Main body of an HTML page, <body> tag.
- Author:
- Paul Hyde
| Methods inherited from class com.simpleservlets.htmlobjects.GenericHTMLElement |
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setSafeToWrapWithWhitespace, setStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.simpleservlets.htmlobjects.HTMLElement |
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setStyle |
HTMLBody
public HTMLBody(HTMLColor bgColor)
HTMLBody
public HTMLBody()
addParagraph
public HTMLParagraph addParagraph(String text)
setBackgroundColor
public void setBackgroundColor(HTMLColor bgColor)
- Sets the page's background color. Pass in null to remove
this attribute.
Copyright © 2001-2007
Programix Incorporated.
All rights reserved.
SimpleServlets is free
and is
OSI Certified
Open Source Software under the BSD
license.