public abstract class AbstractSelect extends AbstractSelectComponent implements CoreProps, EventsKeyProps, EventsMouseProps, SelectProps
The <r:select> component provides a drop-down list box for selecting a single value from multiple options. The <r:select> component can be configured as a combo-box, where it will accept typed input. The component also supports keyboard navigation. The <r:select> component functions similarly to the JSF UISelectOne component.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
AbstractSelect() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getActiveClass()
Space-separated list of CSS style class(es) to be applied to the list element when it is in the "active" state.
|
abstract String |
getChangedClass()
Space-separated list of CSS style class(es) to be applied to the list element when it is in the "changed" state.
|
abstract String |
getClientFilterFunction()
A javascript function used to filter the list of items in the select popup
|
abstract String |
getDisabledClass()
Space-separated list of CSS style class(es) to be applied to the list element when it is disabled.
|
abstract String |
getMaxListHeight()
The maximum height of the list
|
abstract String |
getMinListHeight()
The minimum height ot the list
|
abstract boolean |
isDisabled()
If "true", this component is disabled
|
abstract boolean |
isEnableManualInput()
If "true" Allows the user to type into a text field to scroll through or filter the list
|
abstract boolean |
isSelectFirst()
If "true" as the user types to narrow the list, automatically select the first element in the list.
|
abstract boolean |
isShowButton()
When "true" display a button to expand the popup list
|
void |
processEvent(javax.faces.event.ComponentSystemEvent event) |
getOnchange, getOnlistclick, getOnlistdblclick, getOnlisthide, getOnlistkeydown, getOnlistkeypress, getOnlistkeyup, getOnlistmousedown, getOnlistmousemove, getOnlistmouseout, getOnlistmouseover, getOnlistmouseup, getOnlistshow, getOnselectitem
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
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStyle, getStyleClass, getTitle
getOnkeydown, getOnkeypress, getOnkeyup
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
getDefaultLabel, getItemClass, getListClass, getListHeight, getListWidth, getSelectItemClass
getOnblur, getOnfocus, getTabindex
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract boolean isDisabled()
public abstract boolean isEnableManualInput()
If "true" Allows the user to type into a text field to scroll through or filter the list
Default is "false"
public abstract boolean isSelectFirst()
If "true" as the user types to narrow the list, automatically select the first element in the list. Applicable only when enableManualInput is "true".
Default is "true"
public abstract boolean isShowButton()
When "true" display a button to expand the popup list
Default is "true"
public abstract String getMinListHeight()
public abstract String getMaxListHeight()
public abstract String getClientFilterFunction()
public abstract String getActiveClass()
SelectProps
getActiveClass
in interface SelectProps
public abstract String getChangedClass()
SelectProps
getChangedClass
in interface SelectProps
public abstract String getDisabledClass()
SelectProps
getDisabledClass
in interface SelectProps
public void processEvent(javax.faces.event.ComponentSystemEvent event) throws javax.faces.event.AbortProcessingException
processEvent
in interface javax.faces.event.ComponentSystemEventListener
processEvent
in class javax.faces.component.UIComponent
javax.faces.event.AbortProcessingException
Copyright © 2014 JBoss by Red Hat. All rights reserved.