| org.apache.beehive.netui.tags.html.HtmlBaseTag org.apache.beehive.netui.tags.html.HtmlFocusBaseTag org.apache.beehive.netui.tags.html.HtmlDataSourceTag org.apache.beehive.netui.tags.html.HtmlDefaultableDataSourceTag org.apache.beehive.netui.tags.html.TextBox
Method Summary | |
public void | addFormatter(FormatTag.Formatter formatter) | public int | doEndTag() Render the TextBox. | public int | doStartTag() Prepare the TextBox's formatters. | public void | formatterHasError() Indicate that a formatter has reported an error so the formatter should output it's
body text. | protected boolean | getPassword() Get the password state.
true if the text box is used for passwords. | protected AbstractHtmlState | getState() This method will return the state associated with the tag. | public String | getTagName() Return the name of the Tag. | protected void | localRelease() Release any acquired resources. | public void | setAccessKey(char accessKey) Sets the accessKey attribute value. | public void | setAlt(String alt) Sets the alt attribute value. | public void | setAttribute(String name, String value, String facet) Base support for the attribute tag. | public void | setMaxlength(int maxlength) Set the maximum length (in characters) of the TextBox. | public void | setPassword(boolean password) Set the password state (true means this is a password field). | public void | setReadonly(boolean readonly) Set if this TextBox is read-only. | public void | setSize(int size) Set the size (in characters) of the TextBox. | public void | setTabindex(int tabindex) Sets the tabIndex of the rendered html tag. |
addFormatter | public void addFormatter(FormatTag.Formatter formatter)(Code) | | Adds a FormatTag.Formatter to the TextBox's set of formatters
Parameters: formatter - a FormatTag.Formatter added by a child FormatTag. |
formatterHasError | public void formatterHasError()(Code) | | Indicate that a formatter has reported an error so the formatter should output it's
body text.
|
getPassword | protected boolean getPassword()(Code) | | Get the password state.
true if the text box is used for passwords. false otherwise. |
getState | 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. |
getTagName | public String getTagName()(Code) | | Return the name of the Tag.
|
localRelease | protected void localRelease()(Code) | | Release any acquired resources.
|
setAccessKey | public void setAccessKey(char accessKey)(Code) | | Sets the accessKey attribute value. This should key value of the
keyboard navigation key. It is recommended not to use the following
values because there are often used by browsers A, C, E, F, G,
H, V, left arrow, and right arrow .
Parameters: accessKey - the accessKey value. |
setAlt | public void setAlt(String alt)(Code) | | Sets the alt attribute value.
Parameters: alt - the alt value. |
setAttribute | public void setAttribute(String name, String value, String facet) throws JspException(Code) | | Base support for the attribute tag. This is overridden to prevent setting the type ,
and value attributes.
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. |
setMaxlength | public void setMaxlength(int maxlength)(Code) | | Set the maximum length (in characters) of the TextBox.
Parameters: maxlength - the max length |
setPassword | public void setPassword(boolean password)(Code) | | Set the password state (true means this is a password field).
Parameters: password - the password state |
setReadonly | public void setReadonly(boolean readonly)(Code) | | Set if this TextBox is read-only.
Parameters: readonly - the read-only state |
setSize | public void setSize(int size)(Code) | | Set the size (in characters) of the TextBox.
Parameters: size - the size |
setTabindex | public void setTabindex(int tabindex)(Code) | | Sets the tabIndex of the rendered html tag.
Parameters: tabindex - the tab index. |
Fields inherited from org.apache.beehive.netui.tags.html.HtmlDefaultableDataSourceTag | protected Object _defaultValue(Code)(Java Doc)
|
Fields inherited from org.apache.beehive.netui.tags.html.HtmlDataSourceTag | protected String _dataSource(Code)(Java Doc)
|
|
|