org.apache.myfaces.tobago.component
Class UISelectItem

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UISelectItem
              extended by org.apache.myfaces.tobago.internal.component.AbstractUISelectItem
                  extended by org.apache.myfaces.tobago.component.UISelectItem
All Implemented Interfaces:
javax.faces.component.StateHolder, OnComponentPopulated, SupportsMarkup

public class UISelectItem
extends AbstractUISelectItem
implements SupportsMarkup

Add a child UISelectItem component to the UIComponent associated with the closed parent UIComponent custom action. UIComponent class, generated from template component1.2.stg with class SelectItemTagDeclaration.


Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UISelectItem
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.apache.myfaces.tobago.component.OnComponentPopulated
MARKER
 
Constructor Summary
UISelectItem()
           
 
Method Summary
 Markup getCurrentMarkup()
           
 String getItemImage()
          Image to be displayed to the user for this option.
 Markup getMarkup()
           
 boolean isItemDisabled()
          Flag indicating whether the option created by this component is disabled.
 void restoreState(javax.faces.context.FacesContext context, Object componentState)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setCurrentMarkup(Markup currentMarkup)
           
 void setItemDisabled(boolean itemDisabled)
           
 void setItemImage(String itemImage)
           
 void setMarkup(Markup markup)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUISelectItem
onComponentPopulated, setItemValue
 
Methods inherited from class javax.faces.component.UISelectItem
getFamily, getItemDescription, getItemLabel, getItemValue, getValue, isItemEscaped, setItemDescription, setItemEscaped, setItemLabel, setRendered, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

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

UISelectItem

public UISelectItem()
Method Detail

getMarkup

public Markup getMarkup()
Specified by:
getMarkup in interface SupportsMarkup

setMarkup

public void setMarkup(Markup markup)
Specified by:
setMarkup in interface SupportsMarkup

getCurrentMarkup

public Markup getCurrentMarkup()
Specified by:
getCurrentMarkup in interface SupportsMarkup

setCurrentMarkup

public void setCurrentMarkup(Markup currentMarkup)
Specified by:
setCurrentMarkup in interface SupportsMarkup

getItemImage

public String getItemImage()
Image to be displayed to the user for this option.


setItemImage

public void setItemImage(String itemImage)

isItemDisabled

public boolean isItemDisabled()
Flag indicating whether the option created by this component is disabled.
Default: false

Overrides:
isItemDisabled in class javax.faces.component.UISelectItem

setItemDisabled

public void setItemDisabled(boolean itemDisabled)
Overrides:
setItemDisabled in class javax.faces.component.UISelectItem

restoreState

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

saveState

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


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.