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
"javax.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 javax. The standard component family for this component. |
| public static final String | COMPONENT_TYPE
Hides javax. The standard component type for this component. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFamily()
Overrides javax. Return the identifier of the component family to which this component belongs. |
| public ValueBinding | getValueBinding(String
Name of the attribute or property for which to retrieve a name)ValueBindingOverrides javax.
Deprecated
This has been replaced by
getValueExpression.
Return any |
| public ValueExpression | getValueExpression(String
Name of the attribute or property for which to retrieve a name)ValueExpressionOverrides javax.
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 | setValueBinding(String
Name of the attribute or property for which to set a name, ValueBinding binding)ValueBindingOverrides javax.
Deprecated
This has been replaced by
setValueExpression.
Store any |
| public void | setValueExpression(String
Name of the attribute or property for which to set a name, ValueExpression binding)ValueExpressionOverrides javax.
Store any |
| COMPONENT_FAMILY | back to summary |
|---|---|
| public static final String COMPONENT_FAMILY Hides javax. The standard component family for this component. | |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE Hides javax. The standard component type for this component. | |
| UISelectBoolean | back to summary |
|---|---|
| public UISelectBoolean()
Create a new | |
| getFamily | back to summary |
|---|---|
| public String getFamily() Overrides javax. Doc from javax.
Return the identifier of the component family to which this component belongs. This
identifier, in conjunction with the value of the | |
| getValueBinding | back to summary |
|---|---|
| public ValueBinding getValueBinding(String name) Overrides javax. Deprecated This has been replaced by
Return any
Rely on the superclass implementation to wrap the returned
| |
| getValueExpression | back to summary |
|---|---|
| public ValueExpression getValueExpression(String name) Overrides javax.
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
| |
| setValueBinding | back to summary |
|---|---|
| public void setValueBinding(String name, ValueBinding binding) Overrides javax. Deprecated This has been replaced by
Store any
Rely on the superclass implementation to wrap the argument
| |
| setValueExpression | back to summary |
|---|---|
| public void setValueExpression(String name, ValueExpression binding) Overrides javax.
Store any
| |