org.primefaces.component.selectonemenu
Class SelectOneMenu
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.SelectOneMenu
- 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, Widget
- Direct Known Subclasses:
- ThemeSwitcher
public class SelectOneMenu
- extends javax.faces.component.html.HtmlSelectOneMenu
- implements Widget, InputHolder
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, 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 |
Methods inherited from class javax.faces.component.html.HtmlSelectOneMenu |
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 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 |
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, 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 |
addClientBehavior, getClientBehaviors |
Methods inherited from interface javax.faces.component.ValueHolder |
getConverter, getLocalValue, getValue, setConverter |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
STYLE_CLASS
public static final String STYLE_CLASS
- See Also:
- Constant Field Values
LABEL_CLASS
public static final String LABEL_CLASS
- See Also:
- Constant Field Values
TRIGGER_CLASS
public static final String TRIGGER_CLASS
- See Also:
- Constant Field Values
PANEL_CLASS
public static final String PANEL_CLASS
- See Also:
- Constant Field Values
ITEMS_WRAPPER_CLASS
public static final String ITEMS_WRAPPER_CLASS
- See Also:
- Constant Field Values
LIST_CLASS
public static final String LIST_CLASS
- See Also:
- Constant Field Values
TABLE_CLASS
public static final String TABLE_CLASS
- See Also:
- Constant Field Values
ITEM_GROUP_CLASS
public static final String ITEM_GROUP_CLASS
- See Also:
- Constant Field Values
ITEM_CLASS
public static final String ITEM_CLASS
- See Also:
- Constant Field Values
ROW_CLASS
public static final String ROW_CLASS
- See Also:
- Constant Field Values
FILTER_CONTAINER_CLASS
public static final String FILTER_CONTAINER_CLASS
- See Also:
- Constant Field Values
FILTER_CLASS
public static final String FILTER_CLASS
- See Also:
- Constant Field Values
FILTER_ICON_CLASS
public static final String FILTER_ICON_CLASS
- See Also:
- Constant Field Values
SelectOneMenu
public SelectOneMenu()
getFamily
public String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UISelectOne
getWidgetVar
public String getWidgetVar()
setWidgetVar
public void setWidgetVar(String _widgetVar)
getEffect
public String getEffect()
setEffect
public void setEffect(String _effect)
getEffectSpeed
public String getEffectSpeed()
setEffectSpeed
public void setEffectSpeed(String _effectSpeed)
getPanelStyle
public String getPanelStyle()
setPanelStyle
public void setPanelStyle(String _panelStyle)
getPanelStyleClass
public String getPanelStyleClass()
setPanelStyleClass
public void setPanelStyleClass(String _panelStyleClass)
getVar
public String getVar()
setVar
public void setVar(String _var)
getHeight
public int getHeight()
setHeight
public void setHeight(int _height)
isEditable
public boolean isEditable()
setEditable
public void setEditable(boolean _editable)
isFilter
public boolean isFilter()
setFilter
public void setFilter(boolean _filter)
getFilterMatchMode
public String getFilterMatchMode()
setFilterMatchMode
public void setFilterMatchMode(String _filterMatchMode)
getFilterFunction
public String getFilterFunction()
setFilterFunction
public void setFilterFunction(String _filterFunction)
isCaseSensitive
public boolean isCaseSensitive()
setCaseSensitive
public void setCaseSensitive(boolean _caseSensitive)
getMaxlength
public int getMaxlength()
setMaxlength
public void setMaxlength(int _maxlength)
getColums
public List<Column> getColums()
validateValue
protected void validateValue(javax.faces.context.FacesContext context,
Object value)
- Overrides:
validateValue
in class javax.faces.component.UISelectOne
getInputClientId
public String getInputClientId()
- Specified by:
getInputClientId
in interface InputHolder
- Returns:
- Client id of the input element
getFacesContext
protected javax.faces.context.FacesContext getFacesContext()
- Overrides:
getFacesContext
in class javax.faces.component.UIComponentBase
resolveWidgetVar
public String resolveWidgetVar()
- Specified by:
resolveWidgetVar
in interface Widget
handleAttribute
public void handleAttribute(String name,
Object value)
Copyright © 2013. All Rights Reserved.