UISelectBoolean is a UIComponent that represents a single boolean (true or
false) value. It is most commonly rendered as a checkbox.
By default, the rendererType property must be set to "jakarta.faces.Checkbox". This value
can be changed by calling the setRendererType() method.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_FAMILY
Hides jakarta. The standard component family for this component. |
| public static final String | COMPONENT_TYPE
Hides jakarta. The standard component type for this component. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFamily()
Overrides jakarta. Return the identifier of the component family to which this component belongs. |
| public ValueExpression | getValueExpression(String
Name of the attribute or property for which to retrieve a name)ValueExpressionOverrides jakarta.
Return any |
| public boolean | Returns: true if selected, false otherwise.Return the local value of the selected state of this component. |
| public void | setSelected(boolean
The new selected state selected)Set the local value of the selected state of this component. |
| public void | setValueExpression(String
Name of the attribute or property for which to set a name, ValueExpression binding)ValueExpressionOverrides jakarta.
Store any |
| COMPONENT_FAMILY | back to summary |
|---|---|
| public static final String COMPONENT_FAMILY Hides jakarta. The standard component family for this component. | |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE Hides jakarta. The standard component type for this component. | |
| UISelectBoolean | back to summary |
|---|---|
| public UISelectBoolean()
Create a new | |
| getFamily | back to summary |
|---|---|
| public String getFamily() Overrides jakarta. Doc from jakarta.
Return the identifier of the component family to which this component belongs. This identifier, in conjunction with
the value of the | |
| getValueExpression | back to summary |
|---|---|
| public ValueExpression getValueExpression(String name) Overrides jakarta.
Return any
| |
| isSelected | back to summary |
|---|---|
| public boolean isSelected()
Return the local value of the selected state of this component. This method is a typesafe alias for
| |
| setSelected | back to summary |
|---|---|
| public void setSelected(boolean selected)
Set the local value of the selected state of this component. This method is a typesafe alias for
| |
| setValueExpression | back to summary |
|---|---|
| public void setValueExpression(String name, ValueExpression binding) Overrides jakarta.
Store any
| |