|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectOne
org.icefaces.ace.component.simpleselectonemenu.SimpleSelectOneMenuBase
public class SimpleSelectOneMenuBase
A simple selection component that uses the browser's native "select" element and integrates with the ACE environment, supporting Themeroller, ARIA, label positioning, and ace:ajax.
For more information, see the SimpleSelectOneMenu Wiki Documentation.
| Nested Class Summary | |
|---|---|
protected static class |
SimpleSelectOneMenuBase.PropertyKeys
|
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UISelectOne |
|---|
COMPONENT_FAMILY, INVALID_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIInput |
|---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
SimpleSelectOneMenuBase()
|
|
| Method Summary | |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
java.lang.String |
getAccesskey()
Return the value of the accesskey property. |
java.lang.String |
getDefaultEventName()
|
java.lang.String |
getDefaultExecute(java.lang.String event)
|
java.lang.String |
getDefaultRender(java.lang.String event)
|
java.lang.String |
getDir()
Return the value of the dir property. |
java.util.Collection<java.lang.String> |
getEventNames()
|
java.lang.String |
getFamily()
|
java.lang.String |
getIndicatorPosition()
Return the value of the indicatorPosition property. |
java.util.List |
getItemList()
Return the value of the itemList property. |
java.lang.String |
getLabel()
Return the value of the label property. |
java.lang.String |
getLabelPosition()
Return the value of the labelPosition property. |
java.lang.String |
getLang()
Return the value of the lang property. |
java.lang.String |
getOptionalIndicator()
Return the value of the optionalIndicator property. |
java.lang.String |
getRequiredIndicator()
Return the value of the requiredIndicator property. |
java.lang.String |
getStyle()
Return the value of the style property. |
java.lang.String |
getStyleClass()
Return the value of the styleClass property. |
java.lang.String |
getTabindex()
Return the value of the tabindex property. |
java.lang.String |
getTitle()
Return the value of the title property. |
boolean |
isDisabled()
Return the value of the disabled property. |
boolean |
isReadonly()
Return the value of the readonly property. |
void |
setAccesskey(java.lang.String accesskey)
Set the value of the accesskey property. |
void |
setDir(java.lang.String dir)
Set the value of the dir property. |
void |
setDisabled(boolean disabled)
Set the value of the disabled property. |
void |
setIndicatorPosition(java.lang.String indicatorPosition)
Set the value of the indicatorPosition property. |
void |
setItemList(java.util.List itemList)
Set the value of the itemList property. |
void |
setLabel(java.lang.String label)
Set the value of the label property. |
void |
setLabelPosition(java.lang.String labelPosition)
Set the value of the labelPosition property. |
void |
setLang(java.lang.String lang)
Set the value of the lang property. |
void |
setOptionalIndicator(java.lang.String optionalIndicator)
Set the value of the optionalIndicator property. |
void |
setReadonly(boolean readonly)
Set the value of the readonly property. |
void |
setRequiredIndicator(java.lang.String requiredIndicator)
Set the value of the requiredIndicator property. |
void |
setStyle(java.lang.String style)
Set the value of the style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property. |
void |
setTabindex(java.lang.String tabindex)
Set the value of the tabindex property. |
void |
setTitle(java.lang.String title)
Set the value of the title property. |
| Methods inherited from class javax.faces.component.UISelectOne |
|---|
validateValue |
| Methods inherited from class javax.faces.component.UIInput |
|---|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
| 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.behavior.ClientBehaviorHolder |
|---|
getClientBehaviors |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
| Constructor Detail |
|---|
public SimpleSelectOneMenuBase()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UISelectOnepublic void setAccesskey(java.lang.String accesskey)
Set the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this element.
setAccesskey in interface ISimpleSelectOneMenupublic java.lang.String getAccesskey()
Return the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this element.
getAccesskey in interface ISimpleSelectOneMenupublic void setDir(java.lang.String dir)
Set the value of the dir property.
Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
setDir in interface ISimpleSelectOneMenupublic java.lang.String getDir()
Return the value of the dir property.
Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
getDir in interface ISimpleSelectOneMenupublic void setDisabled(boolean disabled)
Set the value of the disabled property.
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".
setDisabled in interface ISimpleSelectOneMenupublic boolean isDisabled()
Return the value of the disabled property.
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". Default = 'false'.
isDisabled in interface ISimpleSelectOneMenupublic void setIndicatorPosition(java.lang.String indicatorPosition)
Set the value of the indicatorPosition property.
Contents: Position of input-required or input-optional indicator relative to input field or label. Supported values are "left/right/top/bottom/labelLeft/labelRight/none". Default is "right".
setIndicatorPosition in interface ISimpleSelectOneMenupublic java.lang.String getIndicatorPosition()
Return the value of the indicatorPosition property.
Contents: Position of input-required or input-optional indicator relative to input field or label. Supported values are "left/right/top/bottom/labelLeft/labelRight/none". Default is "right".
getIndicatorPosition in interface ISimpleSelectOneMenupublic void setLabel(java.lang.String label)
Set the value of the label property.
Contents: A localized user presentable name for this component.
setLabel in interface ISimpleSelectOneMenupublic java.lang.String getLabel()
Return the value of the label property.
Contents: A localized user presentable name for this component.
getLabel in interface ISimpleSelectOneMenupublic void setLabelPosition(java.lang.String labelPosition)
Set the value of the labelPosition property.
Contents: Position of label relative to input field. Supported values are "left/right/top/bottom/none". Default is "none".
setLabelPosition in interface ISimpleSelectOneMenupublic java.lang.String getLabelPosition()
Return the value of the labelPosition property.
Contents: Position of label relative to input field. Supported values are "left/right/top/bottom/none". Default is "none".
getLabelPosition in interface ISimpleSelectOneMenupublic void setLang(java.lang.String lang)
Set the value of the lang property.
Contents: Code describing the language used in the generated markup for this component.
setLang in interface ISimpleSelectOneMenupublic java.lang.String getLang()
Return the value of the lang property.
Contents: Code describing the language used in the generated markup for this component.
getLang in interface ISimpleSelectOneMenupublic void setOptionalIndicator(java.lang.String optionalIndicator)
Set the value of the optionalIndicator property.
Contents: Indicator indicating that the user is NOT required to provide a submitted value for this input component.
setOptionalIndicator in interface ISimpleSelectOneMenupublic java.lang.String getOptionalIndicator()
Return the value of the optionalIndicator property.
Contents: Indicator indicating that the user is NOT required to provide a submitted value for this input component.
getOptionalIndicator in interface ISimpleSelectOneMenupublic void setReadonly(boolean readonly)
Set the value of the readonly property.
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".
setReadonly in interface ISimpleSelectOneMenupublic boolean isReadonly()
Return the value of the readonly property.
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". Default = 'false'.
isReadonly in interface ISimpleSelectOneMenupublic void setRequiredIndicator(java.lang.String requiredIndicator)
Set the value of the requiredIndicator property.
Contents: Indicator indicating that the user is required to provide a submitted value for this input component.
setRequiredIndicator in interface ISimpleSelectOneMenupublic java.lang.String getRequiredIndicator()
Return the value of the requiredIndicator property.
Contents: Indicator indicating that the user is required to provide a submitted value for this input component.
getRequiredIndicator in interface ISimpleSelectOneMenupublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Style class name of the container element.
setStyle in interface ISimpleSelectOneMenupublic java.lang.String getStyle()
Return the value of the style property.
Contents: Style class name of the container element.
getStyle in interface ISimpleSelectOneMenupublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class name of the container element.
setStyleClass in interface ISimpleSelectOneMenupublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class name of the container element.
getStyleClass in interface ISimpleSelectOneMenupublic void setTabindex(java.lang.String tabindex)
Set the value of the tabindex property.
Contents: Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
setTabindex in interface ISimpleSelectOneMenupublic java.lang.String getTabindex()
Return the value of the tabindex property.
Contents: Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
getTabindex in interface ISimpleSelectOneMenupublic void setTitle(java.lang.String title)
Set the value of the title property.
Contents: Advisory title information about markup elements generated for this component.
setTitle in interface ISimpleSelectOneMenupublic java.lang.String getTitle()
Return the value of the title property.
Contents: Advisory title information about markup elements generated for this component.
getTitle in interface ISimpleSelectOneMenupublic void setItemList(java.util.List itemList)
Set the value of the itemList property.
setItemList in interface ISimpleSelectOneMenupublic java.util.List getItemList()
Return the value of the itemList property.
getItemList in interface ISimpleSelectOneMenupublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolder
public void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBase
|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||