org.apache.myfaces.custom.selectitems
Class UISelectItems

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UISelectItems
              extended by org.apache.myfaces.custom.selectitems.AbstractUISelectItems
                  extended by org.apache.myfaces.custom.selectitems.UISelectItems
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class UISelectItems
extends AbstractUISelectItems


Nested Class Summary
protected static class UISelectItems.PropertyKeys
           
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
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
UISelectItems()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.Object getItemDescription()
          name of the selectitem
 java.lang.Object getItemDisabled()
          disabled state of the selectitem
 java.lang.Object getItemLabel()
          name of the selectitem
 java.lang.Object getItemLabelEscaped()
          indicate if the label should be escaped of the selectitem
 java.lang.Object getItemValue()
          value of the selectitem
 java.lang.String getVar()
          name of the iterator
 boolean isUseEntryAsItem()
          Only applies when value points to a map.
 void setItemDescription(java.lang.Object itemDescription)
           
 void setItemDisabled(java.lang.Object itemDisabled)
           
 void setItemLabel(java.lang.Object itemLabel)
           
 void setItemLabelEscaped(java.lang.Object itemLabelEscaped)
           
 void setItemValue(java.lang.Object itemValue)
           
 void setUseEntryAsItem(boolean useEntryAsItem)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class org.apache.myfaces.custom.selectitems.AbstractUISelectItems
getValue
 
Methods inherited from class javax.faces.component.UISelectItems
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

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

UISelectItems

public UISelectItems()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UISelectItems

getVar

public java.lang.String getVar()
Description copied from class: AbstractUISelectItems
name of the iterator

Specified by:
getVar in class AbstractUISelectItems

setVar

public void setVar(java.lang.String var)

getItemLabel

public java.lang.Object getItemLabel()
Description copied from class: AbstractUISelectItems
name of the selectitem

Specified by:
getItemLabel in class AbstractUISelectItems

setItemLabel

public void setItemLabel(java.lang.Object itemLabel)

getItemValue

public java.lang.Object getItemValue()
Description copied from class: AbstractUISelectItems
value of the selectitem

Specified by:
getItemValue in class AbstractUISelectItems

setItemValue

public void setItemValue(java.lang.Object itemValue)

getItemLabelEscaped

public java.lang.Object getItemLabelEscaped()
Description copied from class: AbstractUISelectItems
indicate if the label should be escaped of the selectitem

Specified by:
getItemLabelEscaped in class AbstractUISelectItems

setItemLabelEscaped

public void setItemLabelEscaped(java.lang.Object itemLabelEscaped)

getItemDescription

public java.lang.Object getItemDescription()
Description copied from class: AbstractUISelectItems
name of the selectitem

Specified by:
getItemDescription in class AbstractUISelectItems

setItemDescription

public void setItemDescription(java.lang.Object itemDescription)

getItemDisabled

public java.lang.Object getItemDisabled()
Description copied from class: AbstractUISelectItems
disabled state of the selectitem

Specified by:
getItemDisabled in class AbstractUISelectItems

setItemDisabled

public void setItemDisabled(java.lang.Object itemDisabled)

isUseEntryAsItem

public boolean isUseEntryAsItem()
Description copied from class: AbstractUISelectItems
Only applies when value points to a map. Use the Entry instance instead the value for resolve EL Expressions

Specified by:
isUseEntryAsItem in class AbstractUISelectItems

setUseEntryAsItem

public void setUseEntryAsItem(boolean useEntryAsItem)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.