| org.apache.beehive.netui.tags.AbstractClassicTag org.apache.beehive.netui.tags.html.HtmlBaseTag
All known Subclasses: org.apache.beehive.netui.tags.html.HtmlFocusBaseTag, org.apache.beehive.netui.tags.html.SelectOption, org.apache.beehive.netui.tags.html.Body, org.apache.beehive.netui.tags.html.Form, org.apache.beehive.netui.tags.html.LabelBase, org.apache.beehive.netui.tags.html.Image, org.apache.beehive.netui.tags.html.AnchorBase,
HtmlBaseTag | abstract public class HtmlBaseTag extends AbstractClassicTag implements HtmlConstants,IAttributeConsumer,IHtmlAttrs(Code) | | [Base] Anchor, Form, Image, ImageAnchor (Image), Label, SelectOption
[FocusBase] Button, CheckBoxOption, ImageButton, RadioButtonOption
[DataSource] FileUpload
[DefaultableDatSource] CheckBox, TextArea, TextBox
[OptionsDataSource] Select
[GroupDataSource] CheckBoxGroup, RadioButtonGroup
|
getOnClick | public String getOnClick()(Code) | | Gets the onClick javascript event.
the onClick event. |
getState | abstract protected AbstractHtmlState getState()(Code) | | 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.
a subclass of the AbstractHtmlState class. |
getTagId | public String getTagId()(Code) | | Return the ID of the tag. The id may be rewritten by the container (such
as a portal) to make sure it is unique. JavaScript may lookup the actual id
of the element by looking it up in the netui_names table written
into the HTML.
the tagId. |
localRelease | protected void localRelease()(Code) | | Free the state variables of this base class.
|
renderNameAndId | final protected String renderNameAndId(HttpServletRequest request, AbstractHtmlState state, Form parentForm)(Code) | | Assumptions:
- The state.name must be fully formed or the "real name" of the form.
- The state.id is the tagId value set on the tag and has not be rewritten yet to form the "real id"
Parameters: state - Parameters: parentForm - String |
setAttribute | public void setAttribute(String name, String value, String facet) throws JspException(Code) | | Base support for the attribute tag. This requires that the tag buffer their body and
write attribute in the end tag. For the HTML tags it is not legal to set
the id or name attributes. In addition, the base tag does
not allow facets to be set. If the attribute is legal it will be added to the
general expression map stored in the AbstractHtmlState of the tag.
Parameters: name - The name of the attribute. This value may not be null or the empty string. Parameters: value - The value of the attribute. This may contain an expression. Parameters: facet - The name of a facet to which the attribute will be applied. This is optional. throws: JspException - A JspException may be thrown if there is an error setting the attribute. |
setDir | public void setDir(String dir)(Code) | | Sets the dir attribute for the HTML element.
Parameters: dir - |
setLang | public void setLang(String lang)(Code) | | Sets the lang attribute for the HTML element.
Parameters: lang - |
setOnClick | public void setOnClick(String onclick)(Code) | | Sets the onClick javascript event.
Parameters: onclick - the onClick event. |
setOnDblClick | public void setOnDblClick(String ondblclick)(Code) | | Sets the onDblClick javascript event.
Parameters: ondblclick - the onDblClick event. |
setOnKeyDown | public void setOnKeyDown(String onkeydown)(Code) | | Sets the onKeyDown javascript event.
Parameters: onkeydown - the onKeyDown event. |
setOnKeyPress | public void setOnKeyPress(String onkeypress)(Code) | | Sets the onKeyPress javascript event.
Parameters: onkeypress - the onKeyPress event. |
setOnKeyUp | public void setOnKeyUp(String onkeyup)(Code) | | Sets the onKeyUp javascript event.
Parameters: onkeyup - the onKeyUp event. |
setOnMouseDown | public void setOnMouseDown(String onmousedown)(Code) | | Sets the onMouseDown javascript event.
Parameters: onmousedown - the onMouseDown event. |
setOnMouseMove | public void setOnMouseMove(String onmousemove)(Code) | | Sets the onMouseMove javascript event.
Parameters: onmousemove - the onMouseMove event. |
setOnMouseOut | public void setOnMouseOut(String onmouseout)(Code) | | Sets the onMouseOut javascript event.
Parameters: onmouseout - the onMouseOut event. |
setOnMouseOver | public void setOnMouseOver(String onmouseover)(Code) | | Sets the onMouseOver javascript event.
Parameters: onmouseover - the onMouseOver event. |
setOnMouseUp | public void setOnMouseUp(String onmouseup)(Code) | | Sets the onMouseUp javascript event.
Parameters: onmouseup - the onMouseUp event. |
setStyle | public void setStyle(String style)(Code) | | Sets the style of the rendered html tag.
Parameters: style - the html style. |
setStyleClass | public void setStyleClass(String styleClass)(Code) | | Sets the style class of the rendered html tag.
Parameters: styleClass - the html style class. |
setTagId | public void setTagId(String tagId) throws JspException(Code) | | Set the ID of the tag.
Parameters: tagId - the tagId. A value is required. |
setTitle | public void setTitle(String title)(Code) | | Sets the value of the title attribute.
Parameters: title - |
|
|