Uses of Class
jakarta.faces.model.SelectItem
-
Packages that use SelectItem Package Description com.sun.faces.renderkit com.sun.faces.renderkit.html_basic com.sun.faces.util jakarta.faces.model Standard model data beans for Jakarta Faces. -
-
Uses of SelectItem in com.sun.faces.renderkit
Classes in com.sun.faces.renderkit with type parameters of type SelectItem Modifier and Type Class Description class
SelectItemsIterator<T extends SelectItem>
Package private class for iterating over the set ofSelectItem
s for a parentUISelectMany
orUISelectOne
.Methods in com.sun.faces.renderkit that return SelectItem Modifier and Type Method Description SelectItem
SelectItemsIterator. next()
Return the next element in the iteration.Methods in com.sun.faces.renderkit that return types with arguments of type SelectItem Modifier and Type Method Description static SelectItemsIterator<SelectItem>
RenderKitUtils. getSelectItems(FacesContext context, UIComponent component)
Return a List ofSelectItem
instances representing the available options for this component, assembled from the set ofUISelectItem
and/orUISelectItems
components that are direct children of this component. -
Uses of SelectItem in com.sun.faces.renderkit.html_basic
Methods in com.sun.faces.renderkit.html_basic with parameters of type SelectItem Modifier and Type Method Description protected void
RadioRenderer. renderLabel(ResponseWriter writer, UIComponent component, String forClientId, SelectItem curItem, HtmlBasicRenderer.OptionComponentInfo optionInfo)
protected boolean
MenuRenderer. renderOption(FacesContext context, UIComponent component, UIComponent selectComponent, Converter<?> converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, HtmlBasicRenderer.OptionComponentInfo optionInfo)
protected void
RadioRenderer. renderOption(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo)
protected void
SelectManyCheckboxListRenderer. renderOption(FacesContext context, UIComponent component, Converter converter, SelectItem curItem, Object currentSelections, Object[] submittedValues, Boolean newTableRow, int itemNumber, HtmlBasicRenderer.OptionComponentInfo optionInfo)
Method parameters in com.sun.faces.renderkit.html_basic with type arguments of type SelectItem Modifier and Type Method Description protected int
MenuRenderer. renderOptions(FacesContext context, UIComponent component, SelectItemsIterator<SelectItem> items)
-
Uses of SelectItem in com.sun.faces.util
Methods in com.sun.faces.util with type parameters of type SelectItem Modifier and Type Method Description static <S extends SelectItem>
SSelectItemUtils. createSelectItem(UIComponent component, Object value, Supplier<S> supplier)
static <S extends SelectItem>
voidSelectItemUtils. createSelectItems(FacesContext context, UIComponent component, Object values, Supplier<S> supplier, Consumer<S> callback)
Methods in com.sun.faces.util that return types with arguments of type SelectItem Modifier and Type Method Description static List<SelectItem>
SelectItemUtils. collectSelectItems(FacesContext context, UIComponent component)
-
Uses of SelectItem in jakarta.faces.model
Subclasses of SelectItem in jakarta.faces.model Modifier and Type Class Description class
SelectItemGroup
SelectItemGroup is a subclass ofSelectItem
that identifies a set of options that will be made available as a subordinate "submenu" or "options list", depending upon the requirements of theUISelectMany
orUISelectOne
renderer that is actually used.Methods in jakarta.faces.model that return SelectItem Modifier and Type Method Description SelectItem[]
SelectItemGroup. getSelectItems()
Return the set of subordinateSelectItem
s for this group.Methods in jakarta.faces.model with parameters of type SelectItem Modifier and Type Method Description void
SelectItemGroup. setSelectItems(SelectItem... selectItems)
Set the set of subordinateSelectItem
s for this group as a variable array.Method parameters in jakarta.faces.model with type arguments of type SelectItem Modifier and Type Method Description void
SelectItemGroup. setSelectItems(Collection<? extends SelectItem> selectItems)
Set the set of subordinateSelectItem
s for this group as a collection.Constructors in jakarta.faces.model with parameters of type SelectItem Constructor Description SelectItemGroup(String label, String description, boolean disabled, SelectItem... selectItems)
Construct aSelectItemGroup
with the specified properties.Constructor parameters in jakarta.faces.model with type arguments of type SelectItem Constructor Description SelectItemGroup(String label, String description, boolean disabled, Collection<? extends SelectItem> selectItems)
Construct aSelectItemGroup
with the specified properties.
-