|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectBoolean
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 is set to
"Checkbox". This value can be changed by calling the
setRendererType() method.
| Field Summary |
| Fields inherited from class javax.faces.component.UIInput |
listeners |
| Fields inherited from interface javax.faces.component.UIComponent |
SEPARATOR_CHAR |
| Constructor Summary | |
UISelectBoolean()
Create a new UISelectBoolean instance with default property
values. |
|
| Method Summary | |
boolean |
isSelected()
Return the local value of the selected state of this component. |
void |
setSelected(boolean selected)
Set the local value of the selected state of this component. |
| Methods inherited from class javax.faces.component.UIInput |
addValueChangedListener, broadcast, broadcast, compareValues, fireValueChangedEvent, getPrevious, removeValueChangedListener, setPrevious, updateModel, validate |
| Methods inherited from class javax.faces.component.UIOutput |
currentValue, getValue, getValueRef, setValue, setValueRef |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UISelectBoolean()
Create a new UISelectBoolean instance with default property
values.
| Method Detail |
public boolean isSelected()
Return the local value of the selected state of this component.
public void setSelected(boolean selected)
Set the local value of the selected state of this component.
selected - The new selected state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||