org.apache.beehive.netui.tags.html
Class Body

Object
  extended by TagSupport
      extended by BodyTagSupport
          extended by AbstractClassicTag
              extended by HtmlBaseTag
                  extended by Body
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, HtmlConstants, IAttributeConsumer, IHtmlAttrs, IHtmlCore, IHtmlEvents, IHtmlI18n, INetuiTag

public class Body
extends HtmlBaseTag

See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractClassicTag
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT
 
Fields inherited from class BodyTagSupport
bodyContent
 
Fields inherited from class TagSupport
id, pageContext
 
Fields inherited from interface HtmlConstants
ABBR, ACCEPT, ACCESSKEY, ACTION, ALIGN, ALINK, ALT, ANCHOR, AREA, AXIS, BACKGROUND, BASE, BGCOLOR, BODY, BORDER, BR, CAPTION, CELLPADDING, CELLSPACING, CHAR, CHAROFF, CHARSET, CHECKED, CLASS, COLS, COLSPAN, COORDS, DIR, DISABLED, DIV, ENCTYPE, FOR, FORM, FORM_GET, FORM_POST, FRAME, HEADERS, HEIGHT, HREF, HREFLANG, HSPACE, HTML, ID, IMAGE, INPUT, INPUT_BUTTON, INPUT_CHECKBOX, INPUT_FILE, INPUT_HIDDEN, INPUT_IMAGE, INPUT_PASSWORD, INPUT_RADIO, INPUT_RESET, INPUT_SUBMIT, INPUT_TEXT, ISMAP, LABEL, LANG, LANGUAGE, LINK, LONGDESC, MAXLENGTH, METHOD, NAME, ONBLUR, ONCHANGE, ONCLICK, ONDBLCLICK, ONFOCUS, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONLOAD, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, ONRESET, ONSELECT, ONSUBMIT, ONUNLOAD, OPTION, READONLY, REL, REV, ROWS, ROWSPAN, RULES, SCOPE, SCRIPT, SELECT, SHAPE, SIZE, SPAN, SRC, STYLE, SUMMARY, TABINDEX, TABLE, TARGET, TBODY, TD, TEXT, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TYPE, USEMAP, VALIGN, VALUE, VLINK, VSPACE, WIDTH
 
Fields inherited from interface BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Body()
           
 
Method Summary
 int doEndTag()
          Render the button.
 int doStartTag()
          Process the start of the Button.
protected  AbstractHtmlState getState()
          This method will return the state associated with the tag.
 String getTagName()
          Return the name of the Tag.
 void localRelease()
          Free the state variables of this base class.
 void setAlink(String alink)
          Sets the color of text marking hypertext links when selected by the user.
 void setBackground(String background)
          Sets the background image of the page.
 void setBgcolor(String bgcolor)
          Sets the bgcolor of the page.
 void setLink(String link)
          Sets the the color of text marking unvisited hypertext links.
 void setOnLoad(String onload)
          Sets the onLoad javascript event.
 void setOnUnload(String onunload)
          Sets the onUnload javascript event.
 void setText(String text)
          Sets the foreground text color of the page.
 void setVlink(String vlink)
          Sets the the color of text marking visited hypertext links.
 
Methods inherited from class HtmlBaseTag
getJavaScriptAttribute, getNearestForm, getOnClick, getTagId, qualifyUrlToContext, renderDefaultNameAndId, renderNameAndId, setAttribute, setDir, setLang, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStateAttribute, setStyle, setStyleClass, setTagId, setTitle
 
Methods inherited from class AbstractClassicTag
applyNamingChain, getErrorsReport, getIdForTagId, getNamingChain, getNextId, getScriptReporter, getUserLocale, hasErrors, qualifyAttribute, registerTagError, registerTagError, reportAndExit, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write
 
Methods inherited from class BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Tag
getParent, setPageContext, setParent
 

Constructor Detail

Body

public Body()
Method Detail

getTagName

public String getTagName()
Return the name of the Tag.

Specified by:
getTagName in interface INetuiTag
Specified by:
getTagName in class AbstractClassicTag
Returns:
the name of the tag.

getState

protected AbstractHtmlState getState()
This method will return the state associated with the tag. This is used by this base class to access the individual state objects created by the tags.

Specified by:
getState in class HtmlBaseTag
Returns:
a subclass of the AbstractHtmlState class.

setOnLoad

public void setOnLoad(String onload)
Sets the onLoad javascript event.

Parameters:
onload - - the onLoad event.

setOnUnload

public void setOnUnload(String onunload)
Sets the onUnload javascript event.

Parameters:
onunload - - the onUnload event.

setBackground

public void setBackground(String background)
Sets the background image of the page.

Parameters:
background - - the background image of the page.

setBgcolor

public void setBgcolor(String bgcolor)
Sets the bgcolor of the page.

Parameters:
bgcolor - - the background color of the page.

setText

public void setText(String text)
Sets the foreground text color of the page.

Parameters:
text - - the foreground text color of the page.

setLink

public void setLink(String link)
Sets the the color of text marking unvisited hypertext links.

Parameters:
link - - the color of text marking unvisited hypertext links of the page.

setVlink

public void setVlink(String vlink)
Sets the the color of text marking visited hypertext links.

Parameters:
vlink - - the color of text marking visited hypertext links of the page.

setAlink

public void setAlink(String alink)
Sets the color of text marking hypertext links when selected by the user.

Parameters:
alink - - the color of text marking hypertext links when selected by the user.

doStartTag

public int doStartTag()
               throws JspException
Process the start of the Button.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws JspException
Render the button.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException - if a JSP exception has occurred

localRelease

public void localRelease()
Description copied from class: HtmlBaseTag
Free the state variables of this base class.

Overrides:
localRelease in class HtmlBaseTag