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:
javax.faces.component.StateHolder

public class UISelectItems
extends AbstractUISelectItems


Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Constructor Summary
UISelectItems()
           
 
Method Summary
 String getFamily()
           
 Object getItemLabel()
          name of the selectitem
 Object getItemValue()
          value of the selectitem
 String getVar()
          name of the iterator
 boolean isUseEntryAsItem()
          Only applies when value points to a map.
 void restoreState(javax.faces.context.FacesContext facesContext, Object state)
           
 Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setItemLabel(Object itemLabel)
           
 void setItemValue(Object itemValue)
           
 void setUseEntryAsItem(boolean useEntryAsItem)
           
 void setVar(String var)
           
 
Methods inherited from class org.apache.myfaces.custom.selectitems.AbstractUISelectItems
getValue
 
Methods inherited from class javax.faces.component.UISelectItems
isRendered, setRendered, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendererType, setTransient, setValueBinding
 
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 String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

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

UISelectItems

public UISelectItems()
Method Detail

getFamily

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

getVar

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

Specified by:
getVar in class AbstractUISelectItems

setVar

public void setVar(String var)

getItemLabel

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

Specified by:
getItemLabel in class AbstractUISelectItems

setItemLabel

public void setItemLabel(Object itemLabel)

getItemValue

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

Specified by:
getItemValue in class AbstractUISelectItems

setItemValue

public void setItemValue(Object itemValue)

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)

saveState

public Object saveState(javax.faces.context.FacesContext facesContext)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UISelectItems

restoreState

public void restoreState(javax.faces.context.FacesContext facesContext,
                         Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UISelectItems


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