|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UISelectItems
public class UISelectItems
UISelectItems is a component that may be nested
inside a UISelectMany
or UISelectOne
component, and
causes the addition of one or more SelectItem
instances to the
list of available options in the parent component. The
value
of this component (set either directly, or acquired
indirectly a ValueExpression
, can be of any
of the following types:
SelectItem
- This instance is
added to the set of available options for the parent tag.SelectItem
- This set of instances is
added to the set of available options for the parent component,
in ascending subscript order.SelectItem
- This set of instances is
added to the set of available options for the parent component,
in the order provided by an iterator over them.SelectItem
instances that will
be constructed dynamically and added to the set of available options
for the parent component, in the order provided by an iterator over
the keys.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
The standard component family for this component. |
static java.lang.String |
COMPONENT_TYPE
The standard component type for this component. |
Fields inherited from class javax.faces.component.UIComponent |
---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
UISelectItems()
Create a new UISelectItems instance with default property
values. |
Method Summary | |
---|---|
java.lang.String |
getFamily()
Return the identifier of the component family to which this component belongs. |
java.lang.Object |
getValue()
Returns the value property of the
UISelectItems . |
void |
setValue(java.lang.Object value)
Sets the value property of the
UISelectItems . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
The standard component type for this component.
public static final java.lang.String COMPONENT_FAMILY
The standard component family for this component.
Constructor Detail |
---|
public UISelectItems()
Create a new UISelectItems
instance with default property
values.
Method Detail |
---|
public java.lang.String getFamily()
UIComponent
Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType
property, may be used to select
the appropriate Renderer
for this component instance.
getFamily
in class UIComponent
public java.lang.Object getValue()
Returns the value
property of the
UISelectItems
.
public void setValue(java.lang.Object value)
Sets the value
property of the
UISelectItems
.
value
- the new value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |