java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UISelectItem
com.sun.faces.renderkit.html_basic.RadioRenderer.GroupSelectItem
- All Implemented Interfaces:
PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
,EventListener
- Enclosing class:
RadioRenderer
Used when a
<h:selectOneRadio group>
doesn't have a select item; it will then get it via first radio of the group.-
Field Summary
Fields inherited from class jakarta.faces.component.UISelectItem
COMPONENT_FAMILY, COMPONENT_TYPE
Fields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the description for this selection item.Return the localized label for this selection item.Return the server value for this selection item.boolean
Return the disabled setting for this selection item.boolean
Return the escape setting for the label of this selection item.boolean
Return the value of thenoSelectionOption
property.Methods inherited from class jakarta.faces.component.UISelectItem
getFamily, getValue, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setNoSelectionOption, setValue
Methods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class jakarta.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Constructor Details
-
GroupSelectItem
public GroupSelectItem()
-
-
Method Details
-
getItemValue
Description copied from class:UISelectItem
Return the server value for this selection item.
- Overrides:
getItemValue
in classUISelectItem
- Returns:
- the item value.
-
getItemLabel
Description copied from class:UISelectItem
Return the localized label for this selection item.
- Overrides:
getItemLabel
in classUISelectItem
- Returns:
- the item label.
-
getItemDescription
Description copied from class:UISelectItem
Return the description for this selection item.
- Overrides:
getItemDescription
in classUISelectItem
- Returns:
- the item description.
-
isItemEscaped
public boolean isItemEscaped()Description copied from class:UISelectItem
Return the escape setting for the label of this selection item.
- Overrides:
isItemEscaped
in classUISelectItem
- Returns:
true
if the item is escaped,false
otherwise.
-
isNoSelectionOption
public boolean isNoSelectionOption()Description copied from class:UISelectItem
Return the value of the
noSelectionOption
property. If the value of this property istrue
, the system interprets the option represented by thisUISelectItem
instance as representing a "no selection" option. SeeUISelectOne.validateValue(jakarta.faces.context.FacesContext, java.lang.Object)
andUISelectMany.validateValue(jakarta.faces.context.FacesContext, java.lang.Object)
for usage.- Overrides:
isNoSelectionOption
in classUISelectItem
- Returns:
- the no selection option.
-
isItemDisabled
public boolean isItemDisabled()Description copied from class:UISelectItem
Return the disabled setting for this selection item.
- Overrides:
isItemDisabled
in classUISelectItem
- Returns:
true
is the item disabled,false
otherwise.
-