Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.3.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.component
Class UIAutocomplete

    java.lang.Object
      javax.faces.component.UIComponent
          javax.faces.component.UIComponentBase
              javax.faces.component.UIOutput
                  javax.faces.component.UIInput
                      org.richfaces.component.AbstractAutocomplete
                          org.richfaces.component.UIAutocomplete

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, org.richfaces.component.MetaComponentEncoder, org.richfaces.component.MetaComponentResolver

    @Generated(value={"RichFaces CDK","4.3.1.Final"})
    public class UIAutocomplete

extends AbstractAutocomplete
implements javax.faces.component.behavior.ClientBehaviorHolder, org.richfaces.component.MetaComponentEncoder, org.richfaces.component.MetaComponentResolver

The <rich:autocomplete> component is an auto-completing input-box with built-in Ajax capabilities. It supports client-side suggestions, browser-like selection, and customization of the look and feel.

Author:
  Nick Belaevski

Nested Class Summary
`protected static class` | `UIAutocomplete.Properties`

Field Summary
`static String` | `COMPONENT_FAMILY`
`static String` | `COMPONENT_TYPE`

Fields inherited from class org.richfaces.component.AbstractAutocomplete
`ITEMS_META_COMPONENT_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`

Fields inherited from interface org.richfaces.component.MetaComponentResolver
`META_COMPONENT_SEPARATOR_CHAR`

Constructor Summary
`UIAutocomplete()`

Method Summary
`Object` | `getAutocompleteList()` A collection of suggestions that will be resented to the user
`javax.el.MethodExpression` | `getAutocompleteMethod()` A method which returns a list of suggestions according to a supplied prefix
`String` | `getClientFilterFunction()` A javascript function used to filter the result list returned from the ajax call to the server.
`String` | `getDefaultEventName()`
`Collection<String>` | `getEventNames()`
`String` | `getFamily()`
`Object` | `getFetchValue()` A value to set in the target input element on a choice suggestion that isn't shown in the suggestion table.
`String` | `getInputClass()` Assigns one or more space-separated CSS class names to the input element
`String` | `getLayout()` Type of the layout encoded using nested components should be defined using layout attribute.
`int` | `getMinChars()` Minimal number of chars in input to activate suggestion popup
`org.richfaces.component.AutocompleteMode` | `getMode()` Determine how the suggestion list is requested:
`String` | `getOnbeforedomupdate()` The client-side script method to be called after the ajax response comes back, but before the DOM is updated
`String` | `getOnbegin()` The client-side script method to be called before an ajax request.
`String` | `getOnblur()`
`String` | `getOnchange()` Javascript code executed when this element loses focus and its value has been modified since gaining focus.
`String` | `getOnclick()`
`String` | `getOncomplete()` The client-side script method to be called after the DOM is updated
`String` | `getOndblclick()`
`String` | `getOnerror()` The client-side script method to be called when an error has occurred during Ajax communications
`String` | `getOnfocus()`
`String` | `getOnkeydown()`
`String` | `getOnkeypress()`
`String` | `getOnkeyup()`
`String` | `getOnlistclick()` Javascript code executed when a pointer button is clicked over the popup list element.
`String` | `getOnlistdblclick()` Javascript code executed when a pointer button is double clicked over this element.
`String` | `getOnlistkeydown()` Javascript code executed when a key is pressed down over this element.
`String` | `getOnlistkeypress()` Javascript code executed when a key is pressed and released over this element.
`String` | `getOnlistkeyup()` Javascript code executed when a key is released over this element.
`String` | `getOnlistmousedown()` Javascript code executed when a pointer button is pressed down over this element.
`String` | `getOnlistmousemove()` Javascript code executed when a pointer button is moved within this element.
`String` | `getOnlistmouseout()` Javascript code executed when a pointer button is moved away from this element.
`String` | `getOnlistmouseover()` Javascript code executed when a pointer button is moved onto this element.
`String` | `getOnlistmouseup()` Javascript code executed when a pointer button is released over this element.
`String` | `getOnmousedown()`
`String` | `getOnmousemove()`
`String` | `getOnmouseout()`
`String` | `getOnmouseover()`
`String` | `getOnmouseup()`
`String` | `getOnselectitem()` Javascript code executed when an item is selected
`String` | `getPopupClass()` Assigns one or more space-separated CSS class names to the content of the popup suggestion element
`String` | `getSelectedItemClass()` Assigns one or more space-separated CSS class names to the selected suggestion entry
`String` | `getStyle()` CSS style(s) to be applied when this component is rendered.
`String` | `getStyleClass()` Space-separated list of CSS style class(es) to be applied when this element is rendered.
`String` | `getTabindex()`
`String` | `getTokens()` Allow a user to enter multiple values separated by specific characters.
`String` | `getVar()` A request-scope attribute via which the data object for the current row will be used when iterating
`boolean` | `isAutofill()` Causes the combo-box to fill the text field box with a matching suggestion as the user types
`boolean` | `isDisabled()` Boolean value indicating whether this component is disabled
`boolean` | `isSelectFirst()` Boolean value indicating whether the first suggestion item is selected as the user types
`boolean` | `isShowButton()` Boolean value indicating whether to display a button to expand the popup suggestion element
`void` | `setAutocompleteList(Object autocompleteList)`
`void` | `setAutocompleteMethod(javax.el.MethodExpression autocompleteMethod)`
`void` | `setAutofill(boolean autofill)`
`void` | `setClientFilterFunction(String clientFilterFunction)`
`void` | `setDisabled(boolean disabled)`
`void` | `setFetchValue(Object fetchValue)`
`void` | `setInputClass(String inputClass)`
`void` | `setLayout(String layout)`
`void` | `setMinChars(int minChars)`
`void` | `setMode(org.richfaces.component.AutocompleteMode mode)`
`void` | `setOnbeforedomupdate(String onbeforedomupdate)`
`void` | `setOnbegin(String onbegin)`
`void` | `setOnblur(String onblur)`
`void` | `setOnchange(String onchange)`
`void` | `setOnclick(String onclick)`
`void` | `setOncomplete(String oncomplete)`
`void` | `setOndblclick(String ondblclick)`
`void` | `setOnerror(String onerror)`
`void` | `setOnfocus(String onfocus)`
`void` | `setOnkeydown(String onkeydown)`
`void` | `setOnkeypress(String onkeypress)`
`void` | `setOnkeyup(String onkeyup)`
`void` | `setOnlistclick(String onlistclick)`
`void` | `setOnlistdblclick(String onlistdblclick)`
`void` | `setOnlistkeydown(String onlistkeydown)`
`void` | `setOnlistkeypress(String onlistkeypress)`
`void` | `setOnlistkeyup(String onlistkeyup)`
`void` | `setOnlistmousedown(String onlistmousedown)`
`void` | `setOnlistmousemove(String onlistmousemove)`
`void` | `setOnlistmouseout(String onlistmouseout)`
`void` | `setOnlistmouseover(String onlistmouseover)`
`void` | `setOnlistmouseup(String onlistmouseup)`
`void` | `setOnmousedown(String onmousedown)`
`void` | `setOnmousemove(String onmousemove)`
`void` | `setOnmouseout(String onmouseout)`
`void` | `setOnmouseover(String onmouseover)`
`void` | `setOnmouseup(String onmouseup)`
`void` | `setOnselectitem(String onselectitem)`
`void` | `setPopupClass(String popupClass)`
`void` | `setSelectedItemClass(String selectedItemClass)`
`void` | `setSelectFirst(boolean selectFirst)`
`void` | `setShowButton(boolean showButton)`
`void` | `setStyle(String style)`
`void` | `setStyleClass(String styleClass)`
`void` | `setTabindex(String tabindex)`
`void` | `setTokens(String tokens)`
`void` | `setVar(String var)`

Methods inherited from class org.richfaces.component.AbstractAutocomplete
`encodeMetaComponent, resolveClientId, substituteUnresolvedClientId, visitTree`

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, validateValue`

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, 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`

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 org.richfaces.component.MetaComponentEncoder
`encodeMetaComponent`

Methods inherited from interface org.richfaces.component.MetaComponentResolver
`resolveClientId, substituteUnresolvedClientId`

Methods inherited from interface javax.faces.component.ValueHolder
`getConverter, getLocalValue, getValue, setConverter`

Field Detail

### 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

Constructor Detail

### UIAutocomplete

    public UIAutocomplete()

Method Detail

### getFamily

    public String getFamily()

  Overrides:
    `getFamily` in class `javax.faces.component.UIInput`

### getEventNames

    public Collection<String> getEventNames()

  Specified by:
    `getEventNames` in interface `javax.faces.component.behavior.ClientBehaviorHolder`
  Overrides:
    `getEventNames` in class `javax.faces.component.UIComponentBase`

### getDefaultEventName

    public String getDefaultEventName()

  Specified by:
    `getDefaultEventName` in interface `javax.faces.component.behavior.ClientBehaviorHolder`
  Overrides:
    `getDefaultEventName` in class `javax.faces.component.UIComponentBase`

### getAutocompleteList

    public Object getAutocompleteList()

  Description copied from class: `AbstractAutocomplete`
  A collection of suggestions that will be resented to the user

  Specified by:
    `getAutocompleteList` in class `AbstractAutocomplete`

### setAutocompleteList

    public void setAutocompleteList(Object autocompleteList)

### getAutocompleteMethod

    public javax.el.MethodExpression getAutocompleteMethod()

  Description copied from class: `AbstractAutocomplete`
  A method which returns a list of suggestions according to a supplied prefix

  Specified by:
    `getAutocompleteMethod` in class `AbstractAutocomplete`

### setAutocompleteMethod

    public void setAutocompleteMethod(javax.el.MethodExpression autocompleteMethod)

  Specified by:
    `setAutocompleteMethod` in class `AbstractAutocomplete`

### isAutofill

    public boolean isAutofill()

  Description copied from class: `AbstractAutocomplete`
  Causes the combo-box to fill the text field box with a matching suggestion as the user types

  Specified by:
    `isAutofill` in class `AbstractAutocomplete`

### setAutofill

    public void setAutofill(boolean autofill)

### getClientFilterFunction

    public String getClientFilterFunction()

  Description copied from class: `AbstractAutocomplete`

  A javascript function used to filter the result list returned from the ajax call to the server. This function should have two parameters; subString(current input value considering tokens) and value (currently iterated item value) and return boolean flag which means if the value satisfies the substring passed. The function will be called for every available suggestion in order to construct a new list of suggestions.

  Default: A javascript method called startsWith

  Specified by:
    `getClientFilterFunction` in class `AbstractAutocomplete`

### setClientFilterFunction

    public void setClientFilterFunction(String clientFilterFunction)

### isDisabled

    public boolean isDisabled()

  Description copied from class: `AbstractAutocomplete`
  Boolean value indicating whether this component is disabled

  Default: false

  Specified by:
    `isDisabled` in class `AbstractAutocomplete`

### setDisabled

    public void setDisabled(boolean disabled)

### getFetchValue

    public Object getFetchValue()

  Description copied from class: `AbstractAutocomplete`
  A value to set in the target input element on a choice suggestion that isn't shown in the suggestion table. It can be used for descriptive output comments or suggestions. If not set, all text in the suggestion row is set as a value

  Specified by:
    `getFetchValue` in class `AbstractAutocomplete`

### setFetchValue

    public void setFetchValue(Object fetchValue)

### getInputClass

    public String getInputClass()

  Description copied from class: `AbstractAutocomplete`
  Assigns one or more space-separated CSS class names to the input element

  Specified by:
    `getInputClass` in class `AbstractAutocomplete`

### setInputClass

    public void setInputClass(String inputClass)

### getLayout

    public String getLayout()

  Description copied from class: `AbstractAutocomplete`

  Type of the layout encoded using nested components should be defined using layout attribute. Possible values are:

  list
    suggestions wrapped to HTML unordered list
  div
    suggestions wrapped with just div element
  table
    suggestions are encoded as table rows, column definitions are required in this case

  Default: div

  Specified by:
    `getLayout` in class `AbstractAutocomplete`

### setLayout

    public void setLayout(String layout)

### getMinChars

    public int getMinChars()

  Description copied from class: `AbstractAutocomplete`
  Minimal number of chars in input to activate suggestion popup

  Specified by:
    `getMinChars` in class `AbstractAutocomplete`

### setMinChars

    public void setMinChars(int minChars)

### getMode

    public org.richfaces.component.AutocompleteMode getMode()

  Description copied from class: `AbstractAutocomplete`

  Determine how the suggestion list is requested:

  client
    pre-loads data to the client and uses the input to filter the possible suggestions
  ajax
    fetches suggestions with every input change using Ajax requests
  lazyClient
    pre-loads data to the client and uses the input to filter the possible suggestions. The filtering does not start until the input length matches a minimum value. Set the minimum value with the minChars attribute.
  cachedAjax
    pre-loads data via Ajax requests when the input length matches a minimum value. Set the minimum value with the minChars attribute. All suggestions are handled on the client until the input prefix is changed, at which point a new request is made based on the new input prefix

  Default: cachedAjax

  Specified by:
    `getMode` in class `AbstractAutocomplete`

### setMode

    public void setMode(org.richfaces.component.AutocompleteMode mode)

### getOnbeforedomupdate

    public String getOnbeforedomupdate()

  Description copied from class: `AbstractAutocomplete`
  The client-side script method to be called after the ajax response comes back, but before the DOM is updated

  Specified by:
    `getOnbeforedomupdate` in class `AbstractAutocomplete`

### setOnbeforedomupdate

    public void setOnbeforedomupdate(String onbeforedomupdate)

### getOnbegin

    public String getOnbegin()

  Description copied from class: `AbstractAutocomplete`
  The client-side script method to be called before an ajax request.

  Specified by:
    `getOnbegin` in class `AbstractAutocomplete`

### setOnbegin

    public void setOnbegin(String onbegin)

### getOnblur

    public String getOnblur()

  Specified by:
    `getOnblur` in class `AbstractAutocomplete`

### setOnblur

    public void setOnblur(String onblur)

### getOnchange

    public String getOnchange()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when this element loses focus and its value has been modified since gaining focus.

  Specified by:
    `getOnchange` in class `AbstractAutocomplete`

### setOnchange

    public void setOnchange(String onchange)

### getOnclick

    public String getOnclick()

  Specified by:
    `getOnclick` in class `AbstractAutocomplete`

### setOnclick

    public void setOnclick(String onclick)

### getOncomplete

    public String getOncomplete()

  Description copied from class: `AbstractAutocomplete`
  The client-side script method to be called after the DOM is updated

  Specified by:
    `getOncomplete` in class `AbstractAutocomplete`

### setOncomplete

    public void setOncomplete(String oncomplete)

### getOndblclick

    public String getOndblclick()

  Specified by:
    `getOndblclick` in class `AbstractAutocomplete`

### setOndblclick

    public void setOndblclick(String ondblclick)

### getOnerror

    public String getOnerror()

  Description copied from class: `AbstractAutocomplete`
  The client-side script method to be called when an error has occurred during Ajax communications

  Specified by:
    `getOnerror` in class `AbstractAutocomplete`

### setOnerror

    public void setOnerror(String onerror)

### getOnfocus

    public String getOnfocus()

  Specified by:
    `getOnfocus` in class `AbstractAutocomplete`

### setOnfocus

    public void setOnfocus(String onfocus)

### getOnkeydown

    public String getOnkeydown()

  Specified by:
    `getOnkeydown` in class `AbstractAutocomplete`

### setOnkeydown

    public void setOnkeydown(String onkeydown)

### getOnkeypress

    public String getOnkeypress()

  Specified by:
    `getOnkeypress` in class `AbstractAutocomplete`

### setOnkeypress

    public void setOnkeypress(String onkeypress)

### getOnkeyup

    public String getOnkeyup()

  Specified by:
    `getOnkeyup` in class `AbstractAutocomplete`

### setOnkeyup

    public void setOnkeyup(String onkeyup)

### getOnlistclick

    public String getOnlistclick()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is clicked over the popup list element.

  Specified by:
    `getOnlistclick` in class `AbstractAutocomplete`

### setOnlistclick

    public void setOnlistclick(String onlistclick)

### getOnlistdblclick

    public String getOnlistdblclick()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is double clicked over this element.

  Specified by:
    `getOnlistdblclick` in class `AbstractAutocomplete`

### setOnlistdblclick

    public void setOnlistdblclick(String onlistdblclick)

### getOnlistkeydown

    public String getOnlistkeydown()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a key is pressed down over this element.

  Specified by:
    `getOnlistkeydown` in class `AbstractAutocomplete`

### setOnlistkeydown

    public void setOnlistkeydown(String onlistkeydown)

### getOnlistkeypress

    public String getOnlistkeypress()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a key is pressed and released over this element.

  Specified by:
    `getOnlistkeypress` in class `AbstractAutocomplete`

### setOnlistkeypress

    public void setOnlistkeypress(String onlistkeypress)

### getOnlistkeyup

    public String getOnlistkeyup()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a key is released over this element.

  Specified by:
    `getOnlistkeyup` in class `AbstractAutocomplete`

### setOnlistkeyup

    public void setOnlistkeyup(String onlistkeyup)

### getOnlistmousedown

    public String getOnlistmousedown()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is pressed down over this element.

  Specified by:
    `getOnlistmousedown` in class `AbstractAutocomplete`

### setOnlistmousedown

    public void setOnlistmousedown(String onlistmousedown)

### getOnlistmousemove

    public String getOnlistmousemove()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is moved within this element.

  Specified by:
    `getOnlistmousemove` in class `AbstractAutocomplete`

### setOnlistmousemove

    public void setOnlistmousemove(String onlistmousemove)

### getOnlistmouseout

    public String getOnlistmouseout()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is moved away from this element.

  Specified by:
    `getOnlistmouseout` in class `AbstractAutocomplete`

### setOnlistmouseout

    public void setOnlistmouseout(String onlistmouseout)

### getOnlistmouseover

    public String getOnlistmouseover()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is moved onto this element.

  Specified by:
    `getOnlistmouseover` in class `AbstractAutocomplete`

### setOnlistmouseover

    public void setOnlistmouseover(String onlistmouseover)

### getOnlistmouseup

    public String getOnlistmouseup()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when a pointer button is released over this element.

  Specified by:
    `getOnlistmouseup` in class `AbstractAutocomplete`

### setOnlistmouseup

    public void setOnlistmouseup(String onlistmouseup)

### getOnmousedown

    public String getOnmousedown()

  Specified by:
    `getOnmousedown` in class `AbstractAutocomplete`

### setOnmousedown

    public void setOnmousedown(String onmousedown)

### getOnmousemove

    public String getOnmousemove()

  Specified by:
    `getOnmousemove` in class `AbstractAutocomplete`

### setOnmousemove

    public void setOnmousemove(String onmousemove)

### getOnmouseout

    public String getOnmouseout()

  Specified by:
    `getOnmouseout` in class `AbstractAutocomplete`

### setOnmouseout

    public void setOnmouseout(String onmouseout)

### getOnmouseover

    public String getOnmouseover()

  Specified by:
    `getOnmouseover` in class `AbstractAutocomplete`

### setOnmouseover

    public void setOnmouseover(String onmouseover)

### getOnmouseup

    public String getOnmouseup()

  Specified by:
    `getOnmouseup` in class `AbstractAutocomplete`

### setOnmouseup

    public void setOnmouseup(String onmouseup)

### getOnselectitem

    public String getOnselectitem()

  Description copied from class: `AbstractAutocomplete`
  Javascript code executed when an item is selected

  Specified by:
    `getOnselectitem` in class `AbstractAutocomplete`

### setOnselectitem

    public void setOnselectitem(String onselectitem)

### getPopupClass

    public String getPopupClass()

  Description copied from class: `AbstractAutocomplete`
  Assigns one or more space-separated CSS class names to the content of the popup suggestion element

  Specified by:
    `getPopupClass` in class `AbstractAutocomplete`

### setPopupClass

    public void setPopupClass(String popupClass)

### isSelectFirst

    public boolean isSelectFirst()

  Description copied from class: `AbstractAutocomplete`
  Boolean value indicating whether the first suggestion item is selected as the user types

  Default: true

  Specified by:
    `isSelectFirst` in class `AbstractAutocomplete`

### setSelectFirst

    public void setSelectFirst(boolean selectFirst)

### getSelectedItemClass

    public String getSelectedItemClass()

  Description copied from class: `AbstractAutocomplete`
  Assigns one or more space-separated CSS class names to the selected suggestion entry

  Specified by:
    `getSelectedItemClass` in class `AbstractAutocomplete`

### setSelectedItemClass

    public void setSelectedItemClass(String selectedItemClass)

### isShowButton

    public boolean isShowButton()

  Description copied from class: `AbstractAutocomplete`

  Boolean value indicating whether to display a button to expand the popup suggestion element

  Default: false

  Specified by:
    `isShowButton` in class `AbstractAutocomplete`

### setShowButton

    public void setShowButton(boolean showButton)

### getStyle

    public String getStyle()

  Description copied from class: `AbstractAutocomplete`
  CSS style(s) to be applied when this component is rendered.

  Specified by:
    `getStyle` in class `AbstractAutocomplete`

### setStyle

    public void setStyle(String style)

### getStyleClass

    public String getStyleClass()

  Description copied from class: `AbstractAutocomplete`
  Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.

  Specified by:
    `getStyleClass` in class `AbstractAutocomplete`

### setStyleClass

    public void setStyleClass(String styleClass)

### getTabindex

    public String getTabindex()

  Specified by:
    `getTabindex` in class `AbstractAutocomplete`

### setTabindex

    public void setTabindex(String tabindex)

### getTokens

    public String getTokens()

  Description copied from class: `AbstractAutocomplete`

  Allow a user to enter multiple values separated by specific characters. As the user types, a suggestion will present as normal. When they enter the specified token character, this begins a new suggestion process, and the component will then only use text entered after the token character for suggestions.

  Make sure that no character defined in tokens is part of any suggestion value. E.g. do not use space as a token if you expect to allow spaces in suggestion values.

  When tokens defined, they can be naturally separated by space character - input separated by tokens ', ' or ' ,' will be considered as it would be ',' token without any space.

  Specified by:
    `getTokens` in class `AbstractAutocomplete`

### setTokens

    public void setTokens(String tokens)

### getVar

    public String getVar()

  Description copied from class: `AbstractAutocomplete`
  A request-scope attribute via which the data object for the current row will be used when iterating

  Specified by:
    `getVar` in class `AbstractAutocomplete`

### setVar

    public void setVar(String var)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.3.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.