Class UISelectItems
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UISelectItems
-
- org.apache.myfaces.tobago.internal.component.AbstractUISelectItems
-
- org.apache.myfaces.tobago.component.UISelectItems
-
- All Implemented Interfaces:
EventListener,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder
@Generated("component.stg") public class UISelectItems extends AbstractUISelectItems
Add a child UISelectItems component to the UIComponent associated with the closed parent UIComponent custom action. UIComponent class, generated from templatecomponent.stgwith classSelectItemsTagDeclaration.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_FAMILYstatic StringCOMPONENT_TYPE
-
Constructor Summary
Constructors Constructor Description UISelectItems()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFamily()StringgetItemImage()Image to be displayed to the user for this option.StringgetItemLabel()Label to be displayed to the user for this option.ObjectgetItemValue()Value to be returned to the server if this option is selected by the user.StringgetTip()Text value to display as tooltip.StringgetVar()Name of a variable under which the iterated data will be exposed.booleanisItemDisabled()Flag indicating whether the option created by this component is disabled.voidrestoreState(javax.faces.context.FacesContext context, Object state)voidsetItemDisabled(boolean itemDisabled)voidsetItemImage(String itemImage)voidsetItemLabel(String itemLabel)voidsetItemValue(Object itemValue)voidsetTip(String tip)voidsetVar(String var)-
Methods inherited from class javax.faces.component.UISelectItems
getFacesContext, getValue, setValue
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
-
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamilyin classjavax.faces.component.UISelectItems
-
isItemDisabled
public boolean isItemDisabled()
Flag indicating whether the option created by this component is disabled.
Default:false
-
setItemDisabled
public void setItemDisabled(boolean itemDisabled)
-
getVar
public String getVar()
Name of a variable under which the iterated data will be exposed. It may be referred to in EL of other attributes.
-
setVar
public void setVar(String var)
-
getItemValue
public Object getItemValue()
Value to be returned to the server if this option is selected by the user.
-
setItemValue
public void setItemValue(Object itemValue)
-
getTip
public String getTip()
Text value to display as tooltip.
-
setTip
public void setTip(String tip)
-
getItemLabel
public String getItemLabel()
Label to be displayed to the user for this option.
-
setItemLabel
public void setItemLabel(String itemLabel)
-
getItemImage
public String getItemImage()
Image to be displayed to the user for this option.
-
setItemImage
public void setItemImage(String itemImage)
-
restoreState
public void restoreState(javax.faces.context.FacesContext context, Object state)- Specified by:
restoreStatein interfacejavax.faces.component.StateHolder- Overrides:
restoreStatein classjavax.faces.component.UIComponentBase
-
-