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_TYPEFields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY -
Constructor Summary
Constructors -
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.booleanReturn the disabled setting for this selection item.booleanReturn the escape setting for the label of this selection item.booleanReturn the value of thenoSelectionOptionproperty.Methods inherited from class jakarta.faces.component.UISelectItem
getFamily, getValue, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setNoSelectionOption, setValueMethods 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, unsubscribeFromEventMethods 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:UISelectItemReturn the server value for this selection item.
- Overrides:
getItemValuein classUISelectItem- Returns:
- the item value.
-
getItemLabel
Description copied from class:UISelectItemReturn the localized label for this selection item.
- Overrides:
getItemLabelin classUISelectItem- Returns:
- the item label.
-
getItemDescription
Description copied from class:UISelectItemReturn the description for this selection item.
- Overrides:
getItemDescriptionin classUISelectItem- Returns:
- the item description.
-
isItemEscaped
public boolean isItemEscaped()Description copied from class:UISelectItemReturn the escape setting for the label of this selection item.
- Overrides:
isItemEscapedin classUISelectItem- Returns:
trueif the item is escaped,falseotherwise.
-
isNoSelectionOption
public boolean isNoSelectionOption()Description copied from class:UISelectItemReturn the value of the
noSelectionOptionproperty. If the value of this property istrue, the system interprets the option represented by thisUISelectIteminstance 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:
isNoSelectionOptionin classUISelectItem- Returns:
- the no selection option.
-
isItemDisabled
public boolean isItemDisabled()Description copied from class:UISelectItemReturn the disabled setting for this selection item.
- Overrides:
isItemDisabledin classUISelectItem- Returns:
trueis the item disabled,falseotherwise.
-