Class SingleRadioTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.html.ElementTag
org.deltava.taglib.html.FormElementTag
org.deltava.taglib.html.SingleTag
org.deltava.taglib.html.SingleRadioTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
A JSP tag to support the generation of HTML single-option radio buttons.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class FormElementTag
_valueFields inherited from class ElementTag
_classes, _data, _outModifier and TypeFieldDescriptionprotected final Collection<String> protected final XMLRendererprotected jakarta.servlet.jsp.JspWriterFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SingleTag
doEndTag, release, setChecked, setClassName, setDisabled, setLabel, setOnChange, setValueModifier and TypeMethodDescriptionintdoEndTag()Renders the checkbox to the JSP output stream.voidrelease()voidsetChecked(boolean checked) Sets if the checkbox is selected.final voidsetClassName(String cName) Sets the CSS class name for the checkbox label text .voidsetDisabled(boolean disabled) Marks this button as disabled.final voidSets the checkbox label text.final voidsetOnChange(String jsEvent) Sets the JavaScript onChange event for these checkboxes/radio buttons.final voidSets the checkbox value/alias.Methods inherited from class FormElementTag
setDelimValues, setIdx, setName, setRequired, validateStateModifier and TypeMethodDescriptionvoidsetDelimValues(String values) Sets multiple values for this input element.voidSets the tab index of this field.voidSets the name of this field.voidsetRequired(boolean isRequired) Sets this field as required for HTML5 browsers.protected voidValidates tag state.Methods inherited from class ElementTag
doStartTag, getFormIndexCount, getName, getParentFormTag, setID, setNumericAttr, setPageContext, setStyleModifier and TypeMethodDescriptionintprotected intGets and increments the current tab index count for the parent form tag.protected StringgetName()Returns the type of HTML element this tag generated.protected FormTagReturns the parent form tag.voidSets the ID of this HTML element.protected voidsetNumericAttr(String attrName, int value, int minValue) Sets a numeric attribute.voidsetPageContext(jakarta.servlet.jsp.PageContext ctxt) voidAssociates a CSS style with this HTML element.Methods inherited from class BrowserInfoTag
getBrowserContext, passedCAPTCHAModifier and TypeMethodDescriptionprotected HTTPContextDataFetches the browser data.protected booleanReturns whether the user has passed CAPTCHA validation.Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
Constructor Details
-
SingleRadioTag
public SingleRadioTag()Initializes the tag.
-