public abstract class SelectMenuBase extends javax.faces.component.UIInput implements ISelectMenu, IceClientBehaviorHolder
For more information, see the SelectMenu Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SelectMenuBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
SelectMenuBase() |
| Modifier and Type | Method and Description |
|---|---|
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.lang.String |
getDirection()
Return the value of the
direction property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
int |
getHeight()
Return the value of the
height property. |
java.lang.String |
getHideEffect()
Return the value of the
hideEffect property. |
int |
getHideEffectLength()
Return the value of the
hideEffectLength property. |
java.lang.String |
getIndicatorPosition()
Return the value of the
indicatorPosition property. |
java.lang.Object |
getItemDisabled()
Return the value of the
itemDisabled property. |
java.util.List |
getItemList()
Return the value of the
itemList property. |
java.lang.Object |
getItemValue()
Return the value of the
itemValue 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 |
getListenerArgument(java.lang.String event) |
java.util.List |
getListValue()
Return the value of the
listValue property. |
java.lang.String |
getListVar()
Return the value of the
listVar 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 |
getShowEffect()
Return the value of the
showEffect property. |
int |
getShowEffectLength()
Return the value of the
showEffectLength 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. |
int |
getWidth()
Return the value of the
width property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isReadonly()
Return the value of the
readonly property. |
boolean |
isShowListOnInput()
Return the value of the
showListOnInput 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 |
setDirection(java.lang.String direction)
Set the value of the
direction property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setHeight(int height)
Set the value of the
height property. |
void |
setHideEffect(java.lang.String hideEffect)
Set the value of the
hideEffect property. |
void |
setHideEffectLength(int hideEffectLength)
Set the value of the
hideEffectLength property. |
void |
setIndicatorPosition(java.lang.String indicatorPosition)
Set the value of the
indicatorPosition property. |
void |
setItemDisabled(java.lang.Object itemDisabled)
Set the value of the
itemDisabled property. |
void |
setItemList(java.util.List itemList)
Set the value of the
itemList property. |
void |
setItemValue(java.lang.Object itemValue)
Set the value of the
itemValue 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 |
setListValue(java.util.List listValue)
Set the value of the
listValue property. |
void |
setListVar(java.lang.String listVar)
Set the value of the
listVar 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 |
setShowEffect(java.lang.String showEffect)
Set the value of the
showEffect property. |
void |
setShowEffectLength(int showEffectLength)
Set the value of the
showEffectLength property. |
void |
setShowListOnInput(boolean showListOnInput)
Set the value of the
showListOnInput 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. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setWidth(int width)
Set the value of the
width property. |
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, 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, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputpublic void setAccesskey(java.lang.String accesskey)
Set the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this component.
setAccesskey in interface ISelectMenupublic java.lang.String getAccesskey()
Return the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this component.
getAccesskey in interface ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic void setDirection(java.lang.String direction)
Set the value of the direction property.
Contents: Direction in which to show the list of possible matches. Possible values are "up", "down", and "auto".
setDirection in interface ISelectMenupublic java.lang.String getDirection()
Return the value of the direction property.
Contents: Direction in which to show the list of possible matches. Possible values are "up", "down", and "auto". Default = 'auto'.
getDirection in interface ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic void setHeight(int height)
Set the value of the height property.
Contents: Maximum height in pixels of the list of possible matches (if 0, then the size is automatically adjusted to show all possible matches).
setHeight in interface ISelectMenupublic int getHeight()
Return the value of the height property.
Contents: Maximum height in pixels of the list of possible matches (if 0, then the size is automatically adjusted to show all possible matches).
getHeight in interface ISelectMenupublic void setHideEffect(java.lang.String hideEffect)
Set the value of the hideEffect property.
Contents: Effect to use when hiding the list. Possible values are 'blind', 'bounce', 'clip', 'drop', 'explode', 'fade', 'fold', 'puff', 'pulsate', 'scale', and 'slide'.
setHideEffect in interface ISelectMenupublic java.lang.String getHideEffect()
Return the value of the hideEffect property.
Contents: Effect to use when hiding the list. Possible values are 'blind', 'bounce', 'clip', 'drop', 'explode', 'fade', 'fold', 'puff', 'pulsate', 'scale', and 'slide'. Default = 'fade'.
getHideEffect in interface ISelectMenupublic void setHideEffectLength(int hideEffectLength)
Set the value of the hideEffectLength property.
Contents: Length of time in milliseconds the hide effect will last for.
setHideEffectLength in interface ISelectMenupublic int getHideEffectLength()
Return the value of the hideEffectLength property.
Contents: Length of time in milliseconds the hide effect will last for. Default = '150'.
getHideEffectLength in interface ISelectMenupublic 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 "labelRight" if labelPosition is "inField", "right" otherwise.
setIndicatorPosition in interface ISelectMenupublic 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 "labelRight" if labelPosition is "inField", "right" otherwise.
getIndicatorPosition in interface ISelectMenupublic void setItemDisabled(java.lang.Object itemDisabled)
Set the value of the itemDisabled property.
Contents: ValueExpression that specifies the property of the data object to use for checking whether the item should be disabled or not. It must evaluate to a boolean value. This only applies when listvar is used and the rendering is done by means of a facet. When using f:selectItem(s), the disabled property on that object/tag is used for the same effect.
setItemDisabled in interface ISelectMenupublic java.lang.Object getItemDisabled()
Return the value of the itemDisabled property.
Contents: ValueExpression that specifies the property of the data object to use for checking whether the item should be disabled or not. It must evaluate to a boolean value. This only applies when listvar is used and the rendering is done by means of a facet. When using f:selectItem(s), the disabled property on that object/tag is used for the same effect.
getItemDisabled in interface ISelectMenupublic void setItemValue(java.lang.Object itemValue)
Set the value of the itemValue property.
Contents: ValueExpression that specifies the property of the data object to use as the value of the item for this component if it gets selected. This only applies when listvar is used and the rendering is done by means of a facet.
setItemValue in interface ISelectMenupublic java.lang.Object getItemValue()
Return the value of the itemValue property.
Contents: ValueExpression that specifies the property of the data object to use as the value of the item for this component if it gets selected. This only applies when listvar is used and the rendering is done by means of a facet.
getItemValue in interface ISelectMenupublic 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 ISelectMenupublic java.lang.String getLabel()
Return the value of the label property.
Contents: A localized user presentable name for this component.
getLabel in interface ISelectMenupublic 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/inField/none". Default is "none".
setLabelPosition in interface ISelectMenupublic 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/inField/none". Default is "none".
getLabelPosition in interface ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic void setListValue(java.util.List listValue)
Set the value of the listValue property.
Contents: When rendering via a facet, this attribute specifies the list of data objects that contains all possible options.
setListValue in interface ISelectMenupublic java.util.List getListValue()
Return the value of the listValue property.
Contents: When rendering via a facet, this attribute specifies the list of data objects that contains all possible options.
getListValue in interface ISelectMenupublic void setListVar(java.lang.String listVar)
Set the value of the listVar property.
Contents: Variable name to use for referencing each data object in the list when rendering via a facet.
setListVar in interface ISelectMenupublic java.lang.String getListVar()
Return the value of the listVar property.
Contents: Variable name to use for referencing each data object in the list when rendering via a facet.
getListVar in interface ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic void setShowEffect(java.lang.String showEffect)
Set the value of the showEffect property.
Contents: Effect to use when showing the list. Possible values are 'blind', 'bounce', 'clip', 'drop', 'explode', 'fade', 'fold', 'puff', 'pulsate', 'scale', 'slide', and 'shake'.
setShowEffect in interface ISelectMenupublic java.lang.String getShowEffect()
Return the value of the showEffect property.
Contents: Effect to use when showing the list. Possible values are 'blind', 'bounce', 'clip', 'drop', 'explode', 'fade', 'fold', 'puff', 'pulsate', 'scale', 'slide', and 'shake'. Default = 'fade'.
getShowEffect in interface ISelectMenupublic void setShowEffectLength(int showEffectLength)
Set the value of the showEffectLength property.
Contents: Length of time in milliseconds the show effect will last for.
setShowEffectLength in interface ISelectMenupublic int getShowEffectLength()
Return the value of the showEffectLength property.
Contents: Length of time in milliseconds the show effect will last for. Default = '150'.
getShowEffectLength in interface ISelectMenupublic void setShowListOnInput(boolean showListOnInput)
Set the value of the showListOnInput property.
Contents: Boolean value that indicates whether the popup list should be displayed when typing in the text field or only when clicking the down arrow button.
setShowListOnInput in interface ISelectMenupublic boolean isShowListOnInput()
Return the value of the showListOnInput property.
Contents: Boolean value that indicates whether the popup list should be displayed when typing in the text field or only when clicking the down arrow button. Default = 'true'.
isShowListOnInput in interface ISelectMenupublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Style class name of the container element.
setStyle in interface ISelectMenupublic java.lang.String getStyle()
Return the value of the style property.
Contents: Style class name of the container element.
getStyle in interface ISelectMenupublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class name of the container element.
setStyleClass in interface ISelectMenupublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class name of the container element.
getStyleClass in interface ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic 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 ISelectMenupublic void setWidth(int width)
Set the value of the width property.
Contents: The width of the text input field, in pixels.
setWidth in interface ISelectMenupublic int getWidth()
Return the value of the width property.
Contents: The width of the text input field, in pixels. Default = '200'.
getWidth in interface ISelectMenupublic void setItemList(java.util.List itemList)
Set the value of the itemList property.
setItemList in interface ISelectMenupublic java.util.List getItemList()
Return the value of the itemList property.
getItemList in interface ISelectMenuprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic 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 IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic 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.UIComponentBaseCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.