Class RadioRenderer.GroupSelectItem
- 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
public static class RadioRenderer.GroupSelectItem extends UISelectItem
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
Constructors Constructor Description GroupSelectItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetItemDescription()Return the description for this selection item.StringgetItemLabel()Return the localized label for this selection item.ObjectgetItemValue()Return the server value for this selection item.booleanisItemDisabled()Return the disabled setting for this selection item.booleanisItemEscaped()Return the escape setting for the label of this selection item.booleanisNoSelectionOption()Return the value of thenoSelectionOptionproperty.-
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
-
-
-
-
Method Detail
-
getItemValue
public Object getItemValue()
Description copied from class:UISelectItemReturn the server value for this selection item.
- Overrides:
getItemValuein classUISelectItem- Returns:
- the item value.
-
getItemLabel
public String getItemLabel()
Description copied from class:UISelectItemReturn the localized label for this selection item.
- Overrides:
getItemLabelin classUISelectItem- Returns:
- the item label.
-
getItemDescription
public String 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.
-
-