|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTagSupport
BodyTagSupport
AbstractClassicTag
HtmlBaseTag
HtmlFocusBaseTag
public abstract class HtmlFocusBaseTag
Abstract base class which implements support for the input tag. This class introduces the following
event attributes which are found on the <input> element: onblur
, onfocus
,
onchange
, onselect
. In addition, the disable
attribute
is added.
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 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 | |
---|---|
HtmlFocusBaseTag()
|
Method Summary | |
---|---|
protected boolean |
isDisabled()
This method will a boolean indicating if the control is disabled or not. |
protected void |
localRelease()
Free the state variables of this base class. |
void |
setDisabled(boolean disabled)
Set the disable state either with the literal "true" or "false" or with an expression. |
void |
setOnBlur(String onblur)
Sets the onBlur javascript event. |
void |
setOnChange(String onchange)
Sets the onChange javascript event. |
void |
setOnFocus(String onfocus)
Sets the onFocus javascript event. |
void |
setOnSelect(String onselect)
Sets the onSelect javascript event. |
Methods inherited from class HtmlBaseTag |
---|
getJavaScriptAttribute, getOnClick, getState, getTagId, renderDefaultNameAndId, renderNameAndId, setAttribute, setDir, setLang, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStateAttribute, setStyle, setStyleClass, setTagId, setTitle |
Methods inherited from class BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, 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 |
---|
public HtmlFocusBaseTag()
Method Detail |
---|
public void setDisabled(boolean disabled)
disabled
- true or false or an expressionprotected final boolean isDisabled()
true
if the control is disabled.public void setOnBlur(String onblur)
onblur
- the onBlur event.public void setOnFocus(String onfocus)
onfocus
- the onFocus event.public void setOnChange(String onchange)
onchange
- the onChange event.public void setOnSelect(String onselect)
onselect
- the onSelect event.protected void localRelease()
HtmlBaseTag
localRelease
in class HtmlBaseTag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |