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 java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Constructor Summary
UISelectItems()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.Object getItemLabel()
          name 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 restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setItemLabel(java.lang.Object itemLabel)
           
 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
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 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)

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 java.lang.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,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UISelectItems


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