Package | Description |
---|---|
javax.faces.component |
Fundamental APIs for user
interface components.
|
javax.faces.model |
Standard model data beans for
JavaServer Faces.
|
Modifier and Type | Class and Description |
---|---|
private static class |
SelectItemsIterator.GenericObjectSelectItemIterator.GenericObjectSelectItem
A
SelectItem implementation to support generating
unique SelectItem values based on ValueExpressions
from the owning UISelectItems instance. |
Modifier and Type | Field and Description |
---|---|
private SelectItem |
SelectItemsIterator.SingleElementIterator.item |
private SelectItem |
SelectItemsIterator.MapIterator.item |
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<SelectItem> |
SelectItemsIterator.items
Iterator over the SelectItem elements pointed at by a
UISelectItems component, or null . |
Modifier and Type | Method and Description |
---|---|
protected SelectItem |
SelectItemsIterator.GenericObjectSelectItemIterator.getSelectItemFor(FacesContext ctx,
java.lang.Object value) |
SelectItem |
SelectItemsIterator.next()
Return the next element in the iteration.
|
SelectItem |
SelectItemsIterator.SingleElementIterator.next() |
SelectItem |
SelectItemsIterator.MapIterator.next() |
SelectItem |
SelectItemsIterator.ArrayIterator.next() |
SelectItem |
SelectItemsIterator.IterableItemIterator.next() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Object |
SelectUtils.doConversion(FacesContext ctx,
UIComponent component,
SelectItem item,
java.lang.Object value,
Converter converter) |
private void |
SelectItemsIterator.SingleElementIterator.updateItem(SelectItem item) |
private void |
SelectItemsIterator.updateSingeItemIterator(SelectItem item)
Update the
singleItemIterator with the provided
item |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
SelectUtils.matchValue(FacesContext ctx,
UIComponent component,
java.lang.Object value,
java.util.Iterator<SelectItem> items,
Converter converter)
Return
true if the specified value matches one of the
available options, performing a recursive search if if a SelectItemGroup instance is detected. |
(package private) static boolean |
SelectUtils.valueIsNoSelectionOption(FacesContext ctx,
UIComponent component,
java.lang.Object value,
java.util.Iterator<SelectItem> items,
Converter converter)
Returns true iff component has a
UISelectItem child
whose itemValue exactly matches the argument value |
Modifier and Type | Class and Description |
---|---|
class |
SelectItemGroup
SelectItemGroup is a subclass of
SelectItem that
identifies a set of options that will be made available as a subordinate
"submenu" or "options list", depending upon the requirements of the
UISelectMany or UISelectOne renderer that is actually used. |
Modifier and Type | Field and Description |
---|---|
private SelectItem[] |
SelectItemGroup.selectItems |
Modifier and Type | Method and Description |
---|---|
SelectItem[] |
SelectItemGroup.getSelectItems()
Return the set of subordinate
SelectItem s for this group. |
Modifier and Type | Method and Description |
---|---|
void |
SelectItemGroup.setSelectItems(SelectItem[] selectItems)
Set the set of subordinate
SelectItem s for this group. |
Constructor and Description |
---|
SelectItemGroup(java.lang.String label,
java.lang.String description,
boolean disabled,
SelectItem[] selectItems)
Construct a
SelectItemGroup with the specified
properties. |