org.apache.myfaces.component.html.ext
Class HtmlSelectOneMenu
java.lang.Object
   javax.faces.component.UIComponent
javax.faces.component.UIComponent
       javax.faces.component.UIComponentBase
javax.faces.component.UIComponentBase
           javax.faces.component.UIOutput
javax.faces.component.UIOutput
               javax.faces.component.UIInput
javax.faces.component.UIInput
                   javax.faces.component.UISelectOne
javax.faces.component.UISelectOne
                       javax.faces.component.html.HtmlSelectOneMenu
javax.faces.component.html.HtmlSelectOneMenu
                           org.apache.myfaces.component.html.ext.AbstractHtmlSelectOneMenu
org.apache.myfaces.component.html.ext.AbstractHtmlSelectOneMenu
                               org.apache.myfaces.component.html.ext.HtmlSelectOneMenu
org.apache.myfaces.component.html.ext.HtmlSelectOneMenu
- All Implemented Interfaces: 
- javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, DataProperties, DisplayValueOnlyAware, EscapeAware, ForceIdAware, UserRoleAware, DisplayValueOnlyCapable, EscapeCapable
- Direct Known Subclasses: 
- AbstractSelectOneCountry, AbstractSelectOneLanguage
- public class HtmlSelectOneMenu 
- extends AbstractHtmlSelectOneMenu
 
| Fields inherited from class javax.faces.component.UISelectOne | 
| INVALID_MESSAGE_ID | 
 
| Fields inherited from class javax.faces.component.UIInput | 
| CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID | 
 
| Fields inherited from class javax.faces.component.UIComponent | 
| bindings | 
 
 
 
 
 
 
| Methods inherited from class javax.faces.component.html.HtmlSelectOneMenu | 
| getAccesskey, getDir, getDisabledClass, getEnabledClass, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setDir, setDisabled, setDisabledClass, setEnabledClass, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setTabindex, setTitle | 
 
| Methods inherited from class javax.faces.component.UISelectOne | 
| validateValue | 
 
| Methods inherited from class javax.faces.component.UIInput | 
| addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate | 
 
| Methods inherited from class javax.faces.component.UIOutput | 
| getConverter, getLocalValue, setConverter | 
 
| Methods inherited from class javax.faces.component.UIComponentBase | 
| addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, 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 | 
 
| Methods inherited from interface javax.faces.component.ValueHolder | 
| getConverter, getLocalValue, setConverter | 
 
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
DEFAULT_RENDERER_TYPE
public static final String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
HtmlSelectOneMenu
public HtmlSelectOneMenu()
getFamily
public String getFamily()
- 
- Overrides:
- getFamilyin class- javax.faces.component.html.HtmlSelectOneMenu
 
- 
 
getDisplayValueOnly
public Boolean getDisplayValueOnly()
- Description copied from interface: DisplayValueOnlyAware
- If true, renders only the value of the component, 
  but no input widget. Default is false.
 
- 
 
setDisplayValueOnly
public void setDisplayValueOnly(Boolean displayValueOnly)
- 
 
getDisplayValueOnlyStyle
public String getDisplayValueOnlyStyle()
- Description copied from interface: DisplayValueOnlyAware
- Style used when displayValueOnly is true.
 
- 
 
setDisplayValueOnlyStyle
public void setDisplayValueOnlyStyle(String displayValueOnlyStyle)
- 
 
getDisplayValueOnlyStyleClass
public String getDisplayValueOnlyStyleClass()
- Description copied from interface: DisplayValueOnlyAware
- Style class used when displayValueOnly is true.
 
- 
 
setDisplayValueOnlyStyleClass
public void setDisplayValueOnlyStyleClass(String displayValueOnlyStyleClass)
- 
 
getEnabledOnUserRole
public String getEnabledOnUserRole()
- Description copied from interface: UserRoleAware
- If user is in given role, this component will be rendered 
 normally. If not, no hyperlink is rendered but all nested 
 tags (=body) are rendered.
 
- 
- Returns:
 
setEnabledOnUserRole
public void setEnabledOnUserRole(String enabledOnUserRole)
- 
 
getVisibleOnUserRole
public String getVisibleOnUserRole()
- Description copied from interface: UserRoleAware
- If user is in given role, this component will be rendered 
  normally. If not, nothing is rendered and the body of this 
  tag will be skipped.
 
- 
- Returns:
 
setVisibleOnUserRole
public void setVisibleOnUserRole(String visibleOnUserRole)
- 
 
isForceId
public boolean isForceId()
- Description copied from interface: ForceIdAware
- If true, this component will force the use of the specified id when rendering.
 
- 
- Returns:
 
setForceId
public void setForceId(boolean forceId)
- 
 
isForceIdIndex
public boolean isForceIdIndex()
- Description copied from interface: ForceIdAware
- If false, this component will not append a '[n]' suffix 
  (where 'n' is the row index) to components that are 
  contained within a "list." This value will be true by 
  default and the value will be ignored if the value of 
  forceId is false (or not specified.)
 
- 
- Returns:
 
setForceIdIndex
public void setForceIdIndex(boolean forceIdIndex)
- 
 
isEscape
public boolean isEscape()
- Description copied from interface: EscapeAware
- Indicates whether rendered markup should be escaped. Default: true
 
- 
 
setEscape
public void setEscape(boolean escape)
- 
 
getDatafld
public String getDatafld()
- Description copied from interface: DataProperties
- Reserved for future use.
 
- 
 
setDatafld
public void setDatafld(String datafld)
- 
 
getDatasrc
public String getDatasrc()
- Description copied from interface: DataProperties
- Reserved for future use.
 
- 
 
setDatasrc
public void setDatasrc(String datasrc)
- 
 
getDataformatas
public String getDataformatas()
- Description copied from interface: DataProperties
- Reserved for future use.
 
- 
 
setDataformatas
public void setDataformatas(String dataformatas)
- 
 
saveState
public Object saveState(javax.faces.context.FacesContext facesContext)
- 
- Specified by:
- saveStatein interface- javax.faces.component.StateHolder
- Overrides:
- saveStatein class- javax.faces.component.html.HtmlSelectOneMenu
 
- 
 
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
                         Object state)
- 
- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- javax.faces.component.html.HtmlSelectOneMenu
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.