java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectOne
javax.faces.component.html.HtmlSelectOneMenu
All Implemented Interfaces:
ClientBehaviorHolder, EditableValueHolder, ValueHolder, PartialStateHolder, ComponentSystemEventListener, SystemEventListenerHolder
Represents a single-selection component that is rendered
as an HTML select
element, showing a single
available option at a time.
By default, the rendererType
property must be set to "javax.faces.Menu
".
This value can be changed by calling the setRendererType()
method.
Nested Class Summary: | ||
---|---|---|
protected enum class | HtmlSelectOneMenu.PropertyKeys |
Field Summary | ||
---|---|---|
public static final String | COMPONENT_TYPE | The standard component type for this component. |
Fields inherited from javax.faces.component.UISelectOne: |
---|
COMPONENT_TYPE, COMPONENT_FAMILY, INVALID_MESSAGE_ID |
Fields inherited from javax.faces.component.UIInput: |
---|
COMPONENT_TYPE, COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME, validators |
Fields inherited from javax.faces.component.UIOutput: |
---|
COMPONENT_TYPE, COMPONENT_FAMILY |
Constructor: |
---|
|
Method from javax.faces.component.html.HtmlSelectOneMenu Summary: |
---|
getAccesskey, getDefaultEventName, getDir, getDisabledClass, getEnabledClass, getEventNames, 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 from javax.faces.component.UISelectOne: |
---|
getFamily, validateValue |
Methods from javax.faces.component.UIOutput: |
---|
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.component.html.HtmlSelectOneMenu Detail: |
---|
Return the value of the Contents: Access key that, when pressed, transfers focus to this element. |
|
Return the value of the Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). |
Return the value of the Contents: CSS style class to apply to the rendered label on disabled options. |
Return the value of the Contents: CSS style class to apply to the rendered label on enabled options. |
|
Return the value of the Contents: A localized user presentable name for this component. |
Return the value of the Contents: Code describing the language used in the generated markup for this component. |
Return the value of the Contents: Javascript code executed when this element loses focus. |
Return the value of the Contents: Javascript code executed when this element loses focus and its value has been modified since gaining focus. |
Return the value of the Contents: Javascript code executed when a pointer button is clicked over this element. |
Return the value of the Contents: Javascript code executed when a pointer button is double clicked over this element. |
Return the value of the Contents: Javascript code executed when this element receives focus. |
Return the value of the Contents: Javascript code executed when a key is pressed down over this element. |
Return the value of the Contents: Javascript code executed when a key is pressed and released over this element. |
Return the value of the Contents: Javascript code executed when a key is released over this element. |
Return the value of the Contents: Javascript code executed when a pointer button is pressed down over this element. |
Return the value of the Contents: Javascript code executed when a pointer button is moved within this element. |
Return the value of the Contents: Javascript code executed when a pointer button is moved away from this element. |
Return the value of the Contents: Javascript code executed when a pointer button is moved onto this element. |
Return the value of the Contents: Javascript code executed when a pointer button is released over this element. |
Return the value of the Contents: Javascript code executed when text within this element is selected by the user. |
Return the value of the Contents: CSS style(s) to be applied when this component is rendered. |
Return the value of the Contents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. |
Return the value of the Contents: Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767. |
Return the value of the Contents: Advisory title information about markup elements generated for this component. |
Return the value of the Contents: Flag indicating that this element must never receive focus or be included in a subsequent submit. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled". |
Return the value of the Contents: Flag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly". |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |
Set the value of the |