Class SelectOneMenuBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectOne
javax.faces.component.html.HtmlSelectOneMenu
org.primefaces.component.selectonemenu.SelectOneMenuBase
- All Implemented Interfaces:
EventListener,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.EditableValueHolder,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.ValueHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,InputHolder,RTLAware,TouchAware,Widget
- Direct Known Subclasses:
SelectOneMenu
public abstract class SelectOneMenuBase
extends javax.faces.component.html.HtmlSelectOneMenu
implements Widget, InputHolder, RTLAware, TouchAware
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.faces.component.html.HtmlSelectOneMenu
COMPONENT_TYPEFields inherited from class javax.faces.component.UISelectOne
INVALID_MESSAGE_IDFields inherited from class javax.faces.component.UIInput
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAMEFields 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_KEYFields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDir()getLabel()intgetTitle()getVar()booleanbooleanbooleanbooleanbooleanisFilter()booleanbooleanIs this component touch enabled?voidsetAlwaysDisplayLabel(boolean alwaysDisplayLabel) voidsetAppendTo(String appendTo) voidsetAutoWidth(String autoWidth) voidsetCaseSensitive(boolean caseSensitive) voidvoidsetDynamic(boolean dynamic) voidsetEditable(boolean editable) voidsetFilter(boolean filter) voidsetFilterFunction(String filterFunction) voidsetFilterMatchMode(String filterMatchMode) voidsetFilterNormalize(boolean filterNormalize) voidsetFilterPlaceholder(String filterPlaceholder) voidvoidvoidsetLabelTemplate(String labelTemplate) voidsetMaxlength(int maxlength) voidsetPanelStyle(String panelStyle) voidsetPanelStyleClass(String panelStyleClass) voidsetPlaceholder(String placeholder) voidsetSyncTooltip(boolean syncTooltip) voidvoidsetTouchable(Boolean touchable) Enable/disable touch support for this component.voidvoidsetWidgetVar(String widgetVar) Methods inherited from class javax.faces.component.html.HtmlSelectOneMenu
getAccesskey, getDefaultEventName, getDisabledClass, getEnabledClass, getEventNames, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRole, getStyle, getStyleClass, getTabindex, isDisabled, isReadonly, setAccesskey, setDisabled, setDisabledClass, setEnabledClass, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setReadonly, setRole, setStyle, setStyleClass, setTabindexMethods inherited from class javax.faces.component.UISelectOne
getGroup, processValidators, setGroup, validateValueMethods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validateMethods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverterMethods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, 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, unsubscribeFromEventMethods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviorsMethods inherited from interface org.primefaces.component.api.InputHolder
getInputClientId, getLabelledBy, getValidatableInputClientId, setLabelledByMethods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverterMethods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
-
Constructor Details
-
SelectOneMenuBase
public SelectOneMenuBase()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UISelectOne
-
getWidgetVar
-
setWidgetVar
-
getPanelStyle
-
setPanelStyle
-
getPanelStyleClass
-
setPanelStyleClass
-
getVar
-
setVar
-
getHeight
-
setHeight
-
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean editable) -
isFilter
public boolean isFilter() -
setFilter
public void setFilter(boolean filter) -
getFilterMatchMode
-
setFilterMatchMode
-
getFilterFunction
-
setFilterFunction
-
getFilterPlaceholder
-
setFilterPlaceholder
-
isCaseSensitive
public boolean isCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) -
getMaxlength
public int getMaxlength() -
setMaxlength
public void setMaxlength(int maxlength) -
getAppendTo
-
setAppendTo
-
getTitle
- Overrides:
getTitlein classjavax.faces.component.html.HtmlSelectOneMenu
-
setTitle
- Overrides:
setTitlein classjavax.faces.component.html.HtmlSelectOneMenu
-
isSyncTooltip
public boolean isSyncTooltip() -
setSyncTooltip
public void setSyncTooltip(boolean syncTooltip) -
isAlwaysDisplayLabel
public boolean isAlwaysDisplayLabel() -
setAlwaysDisplayLabel
public void setAlwaysDisplayLabel(boolean alwaysDisplayLabel) -
getLabelTemplate
-
setLabelTemplate
-
getLabel
- Overrides:
getLabelin classjavax.faces.component.html.HtmlSelectOneMenu
-
setLabel
- Overrides:
setLabelin classjavax.faces.component.html.HtmlSelectOneMenu
-
getPlaceholder
-
setPlaceholder
-
getAutoWidth
-
setAutoWidth
-
isDynamic
public boolean isDynamic() -
setDynamic
public void setDynamic(boolean dynamic) -
getDir
-
setDir
- Overrides:
setDirin classjavax.faces.component.html.HtmlSelectOneMenu
-
isTouchable
Description copied from interface:TouchAwareIs this component touch enabled?- Specified by:
isTouchablein interfaceTouchAware- Returns:
- false to disable
-
setTouchable
Description copied from interface:TouchAwareEnable/disable touch support for this component.- Specified by:
setTouchablein interfaceTouchAware- Parameters:
touchable- true for touch support
-
isFilterNormalize
public boolean isFilterNormalize() -
setFilterNormalize
public void setFilterNormalize(boolean filterNormalize)
-