public class UISelectBoolean extends UIInput
Type | Phases | Description |
---|---|---|
javax.faces.event.ValueChangeEvent |
The valueChange event is delivered when the value attribute is changed. |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
bindings
Constructor and Description |
---|
UISelectBoolean()
Construct an instance of the UISelectBoolean.
|
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
ValueBinding |
getValueBinding(String name)
Deprecated.
Use getValueExpression instead
|
javax.el.ValueExpression |
getValueExpression(String name) |
boolean |
isSelected() |
void |
setSelected(boolean selected) |
void |
setValueBinding(String name,
ValueBinding binding)
Deprecated.
Use setValueExpression instead
|
void |
setValueExpression(String name,
javax.el.ValueExpression binding) |
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
getConverter, getLocalValue, getValue, setConverter
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
encodeAll, getContainerClientId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getLocalValue, getValue, setConverter
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public UISelectBoolean()
public void setSelected(boolean selected)
public boolean isSelected()
public ValueBinding getValueBinding(String name)
UIComponentBase
Value-bindings are stored in a map associated with the component, though there is commonly a property (setter/getter methods) of the same name defined on the component itself which evaluates the value-binding when called.
getValueBinding
in class UIComponentBase
public void setValueBinding(String name, ValueBinding binding)
UIComponentBase
setValueBinding
in class UIComponentBase
public javax.el.ValueExpression getValueExpression(String name)
getValueExpression
in class UIComponent
public void setValueExpression(String name, javax.el.ValueExpression binding)
setValueExpression
in class UIComponent
Copyright © 2013 Apache Software Foundation. All Rights Reserved.