|
||||||||||
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 org.apache.myfaces.custom.selectitems.AbstractUISelectItems
public abstract class AbstractUISelectItems
An extended version of the standard UISelectItems. Populates the SelectItem collection from the given value automatically using the itemLabel and itemValue attributes. By using the component there is no need to manually create a SelectItem collection because component automatically populates SelectItem objects from types like Collection, Map and etc..
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UISelectItems |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
AbstractUISelectItems()
|
Method Summary | |
---|---|
abstract java.lang.Object |
getItemDescription()
name of the selectitem |
abstract java.lang.Object |
getItemDisabled()
disabled state of the selectitem |
abstract java.lang.Object |
getItemLabel()
name of the selectitem |
abstract java.lang.Object |
getItemLabelEscaped()
indicate if the label should be escaped of the selectitem |
abstract java.lang.Object |
getItemValue()
value of the selectitem |
java.lang.Object |
getValue()
|
abstract java.lang.String |
getVar()
name of the iterator |
abstract boolean |
isUseEntryAsItem()
Only applies when value points to a map. |
Methods inherited from class javax.faces.component.UISelectItems |
---|
getFamily, setRendered, setValue |
Methods inherited from class javax.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, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendererType, setTransient, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
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
Constructor Detail |
---|
public AbstractUISelectItems()
Method Detail |
---|
public abstract java.lang.String getVar()
public abstract java.lang.Object getItemLabel()
public abstract java.lang.Object getItemValue()
public abstract java.lang.Object getItemLabelEscaped()
public abstract java.lang.Object getItemDescription()
public abstract java.lang.Object getItemDisabled()
public abstract boolean isUseEntryAsItem()
public java.lang.Object getValue()
getValue
in class javax.faces.component.UISelectItems
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |