oracle.adf.view.faces.component.core.input
Class CoreSelectItem

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byoracle.adf.view.faces.component.UIXComponent
          extended byoracle.adf.view.faces.component.UIXComponentBase
              extended byoracle.adf.view.faces.component.UIXSelectItem
                  extended byoracle.adf.view.faces.component.core.input.CoreSelectItem
All Implemented Interfaces:
StateHolder

public class CoreSelectItem
extends UIXSelectItem

The selectItem tag represents a single item that the user may select from a list, choice, radio, or shuttle ADF control. It may be used in place of the JSF selectItem or selectItems tags, but is very similar (largely not requiring "item" in front of its attributes.)

Example:

 <af:selectOneRadio value="#{bean.aValue}" required="yes">
   <af:selectItem label="Option1" value="1"/>
   <af:selectItem label="Option1" value="2"/>
   <af:selectItem label="Option1" value="3"/>
 </af:selectOneRadio>


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static PropertyKey DISABLED_KEY
           
static PropertyKey LABEL_KEY
           
static PropertyKey LONG_DESC_KEY
           
static PropertyKey SHORT_DESC_KEY
           
static FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.component.UIXSelectItem
VALUE_KEY
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Constructor Summary
  CoreSelectItem()
          Construct an instance of the CoreSelectItem.
protected CoreSelectItem(java.lang.String rendererType)
          Construct an instance of the CoreSelectItem.
 
Method Summary
protected  FacesBean.Type getBeanType()
           
 java.lang.String getFamily()
           
 java.lang.String getLabel()
          Gets the user-visible text of the item
 java.lang.String getLongDesc()
          Gets the description associated with this option.
 java.lang.String getShortDesc()
          Gets The short description of the bean.
 boolean isDisabled()
          Gets whether the item is disabled.
 void setDisabled(boolean disabled)
          Sets whether the item is disabled.
 void setLabel(java.lang.String label)
          Sets the user-visible text of the item
 void setLongDesc(java.lang.String longDesc)
          Sets the description associated with this option.
 void setShortDesc(java.lang.String shortDesc)
          Sets The short description of the bean.
 
Methods inherited from class oracle.adf.view.faces.component.UIXSelectItem
getValue, setValue
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addAttributeChange, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final FacesBean.Type TYPE

LABEL_KEY

public static final PropertyKey LABEL_KEY

DISABLED_KEY

public static final PropertyKey DISABLED_KEY

LONG_DESC_KEY

public static final PropertyKey LONG_DESC_KEY

SHORT_DESC_KEY

public static final PropertyKey SHORT_DESC_KEY

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

CoreSelectItem

public CoreSelectItem()
Construct an instance of the CoreSelectItem.


CoreSelectItem

protected CoreSelectItem(java.lang.String rendererType)
Construct an instance of the CoreSelectItem.

Method Detail

getLabel

public final java.lang.String getLabel()
Gets the user-visible text of the item


setLabel

public final void setLabel(java.lang.String label)
Sets the user-visible text of the item


isDisabled

public final boolean isDisabled()
Gets whether the item is disabled. By default, no items are disabled.


setDisabled

public final void setDisabled(boolean disabled)
Sets whether the item is disabled. By default, no items are disabled.


getLongDesc

public final java.lang.String getLongDesc()
Gets the description associated with this option. This is used in selectManyShuttle and selectOrderShuttle, and ignored otherwise.


setLongDesc

public final void setLongDesc(java.lang.String longDesc)
Sets the description associated with this option. This is used in selectManyShuttle and selectOrderShuttle, and ignored otherwise.


getShortDesc

public final java.lang.String getShortDesc()
Gets The short description of the bean. This text is commonly used by user agents to display advisory information about the option.


setShortDesc

public final void setShortDesc(java.lang.String shortDesc)
Sets The short description of the bean. This text is commonly used by user agents to display advisory information about the option.


getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class UIXSelectItem

getBeanType

protected FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXSelectItem


Copyright © 2003-2007 Oracle Corporation. All Rights Reserved.