Represents a single-selection component that is rendered as a set of
HTML input elements of type radio.
By default, the rendererType property must be set to "jakarta.faces.Radio". This value can
be changed by calling the setRendererType() method.
| Modifier and Type | Class and Description |
|---|---|
| protected static enum | HtmlSelectOneRadio.
The property keys. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_TYPE
Hides jakarta. The standard component type for this component. |
| private static final Collection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the property valueContents: Access key that, when pressed, transfers focus to this element.
Return the value of the |
| public int | Returns: the property valueContents: Width (in pixels) of the border to be drawn around the table containing the options list. This attribute is ignored when "group" attribute is specified.
Return the value of the |
| public String | getDefaultEventName()
Overrides jakarta. Implements jakarta.
Returns the default event name for this |
| public String | Returns: the property valueContents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct case.
Return the value of the |
| public String | Returns: the property valueContents: CSS style class to apply to the rendered label on disabled options. This attribute is ignored when "group" attribute is specified.
Return the value of the |
| public String | Returns: the property valueContents: CSS style class to apply to the rendered label on enabled options. This attribute is ignored when "group" attribute is specified.
Return the value of the |
| public Collection | getEventNames()
Overrides jakarta. Implements jakarta.
Returns a non-null, unmodifiable |
| public String | Returns: the property value
Contents: Specifies the name of the radio button group. Radio button components having the same group within a
Overrides jakarta.
Return the value of the |
| public String | Returns: the property valueContents: A localized user presentable name for this component.
Return the value of the |
| public String | Returns: the property valueContents: Code describing the language used in the generated markup for this component.
Return the value of the |
| public String | Returns: the property valueContents: Orientation of the options list to be created. Valid values are "pageDirection" (list is laid out vertically), or "lineDirection" (list is laid out horizontally), or "list" (list is laid out in list format). If not specified, the default value is "lineDirection". This attribute is ignored when "group" attribute is specified.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when this element loses focus.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when this element loses focus and its value has been modified since gaining focus.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is clicked over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is double clicked over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when this element receives focus.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is pressed down over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is pressed and released over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is released over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is pressed down over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved within this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved away from this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved onto this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is released over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when text within this element is selected by the user.
Return the value of the |
| public String | Returns: the property valueContents: Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or an EL Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to. It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute.
Return the value of the |
| public String | Returns: the property valueContents: CSS style(s) to be applied when this component is rendered.
Return the value of the |
| public String | Returns: the property valueContents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
Return the value of the |
| public String | Returns: the property valueContents: Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
Return the value of the |
| public String | Returns: the property valueContents: Advisory title information about markup elements generated for this component.
Return the value of the |
| public boolean | Returns: the property valueContents: Flag indicating that this element must never receive focus or be included in a subsequent submit. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled".
Return the value of the |
| public boolean | Returns: the property valueContents: Flag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly".
Return the value of the |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setDisabledClass(String
the new property value disabledClass)
Set the value of the |
| public void | setEnabledClass(String
the new property value enabledClass)
Set the value of the |
| public void | setGroup(String
the new property value group)Overrides jakarta.
Set the value of the |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |