public abstract class AbstractSingleCheckedElementTag extends AbstractCheckedElementTag
input' element with a
'type' of 'checkbox' or 'radio'.ACCESSKEY_ATTRIBUTE, DISABLED_ATTRIBUTE, ONBLUR_ATTRIBUTE, ONCHANGE_ATTRIBUTE, ONFOCUS_ATTRIBUTE, READONLY_ATTRIBUTECLASS_ATTRIBUTE, DIR_ATTRIBUTE, LANG_ATTRIBUTE, ONCLICK_ATTRIBUTE, ONDBLCLICK_ATTRIBUTE, ONKEYDOWN_ATTRIBUTE, ONKEYPRESS_ATTRIBUTE, ONKEYUP_ATTRIBUTE, ONMOUSEDOWN_ATTRIBUTE, ONMOUSEMOVE_ATTRIBUTE, ONMOUSEOUT_ATTRIBUTE, ONMOUSEOVER_ATTRIBUTE, ONMOUSEUP_ATTRIBUTE, STYLE_ATTRIBUTE, TABINDEX_ATTRIBUTE, TITLE_ATTRIBUTENESTED_PATH_VARIABLE_NAMElogger, REQUEST_CONTEXT_PAGE_ATTRIBUTEpageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
AbstractSingleCheckedElementTag() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getLabel()
Get the value of the '
label' attribute. |
protected Object |
getValue()
Get the value of the '
value' attribute. |
void |
setLabel(Object label)
Set the value of the '
label' attribute. |
void |
setValue(Object value)
Set the value of the '
value' attribute. |
protected int |
writeTagContent(TagWriter tagWriter)
Renders the '
input(radio)' element with the configured
value. |
protected abstract void |
writeTagDetails(TagWriter tagWriter)
Write the details for the given primary tag:
i.e.
|
autogenerateId, getInputType, isValidDynamicAttribute, renderFromBoolean, renderFromValue, renderFromValuegetAccesskey, getOnblur, getOnchange, getOnfocus, isDisabled, isReadonly, setAccesskey, setDisabled, setOnblur, setOnchange, setOnfocus, setReadonly, writeOptionalAttributesgetCssClass, getCssErrorClass, getCssStyle, getDir, getDynamicAttributes, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getTabindex, getTitle, resolveCssClass, setCssClass, setCssErrorClass, setCssStyle, setDir, setDynamicAttribute, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTabindex, setTitle, writeDefaultAttributesconvertToDisplayString, doFinally, getBindStatus, getBoundValue, getEditor, getId, getName, getNestedPath, getPath, getPropertyEditor, getPropertyPath, processFieldValue, resolveId, setId, setPathcreateTagWriter, doStartTagInternal, evaluate, getDisplayString, getDisplayString, isDefaultHtmlEscape, writeOptionalAttributehtmlEscape, isHtmlEscape, isResponseEncodedHtmlEscape, setHtmlEscapedoCatch, doStartTag, getRequestContextdoAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValuepublic void setValue(Object value)
value' attribute.
May be a runtime expression.public void setLabel(Object label)
label' attribute.
May be a runtime expression.protected int writeTagContent(TagWriter tagWriter) throws JspException
input(radio)' element with the configured
value. Marks the element as checked if the
value matches the bound value.writeTagContent in class AbstractCheckedElementTagTag.doStartTag().JspExceptionprotected abstract void writeTagDetails(TagWriter tagWriter) throws JspException
JspException