Class AutoComplete
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputText
org.primefaces.component.api.AbstractPrimeHtmlInputText
org.primefaces.component.autocomplete.AutoCompleteBase
org.primefaces.component.autocomplete.AutoComplete
- 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
,MixedClientBehaviorHolder
,Widget
-
Nested Class Summary
Nested classes/interfaces inherited from class org.primefaces.component.autocomplete.AutoCompleteBase
AutoCompleteBase.PropertyKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
protected static final Collection<String>
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.primefaces.component.autocomplete.AutoCompleteBase
COMPONENT_FAMILY, DEFAULT_RENDERER
Fields 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_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.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast
(javax.faces.event.FacesEvent event) Gets the collection of unobtrusive event names.protected boolean
boolean
isClientCacheRequest
(javax.faces.context.FacesContext context) boolean
boolean
isDynamicLoadRequest
(javax.faces.context.FacesContext context) boolean
boolean
isMoreTextRequest
(javax.faces.context.FacesContext context) boolean
void
queueEvent
(javax.faces.event.FacesEvent event) saveState
(javax.faces.context.FacesContext context) void
setLabelledBy
(String labelledBy) Sets the id of the label for aria.Methods inherited from class org.primefaces.component.autocomplete.AutoCompleteBase
getAppendTo, getAt, getCacheTimeout, getCompleteEndpoint, getCompleteMethod, getDropdownMode, getDropdownTabindex, getFamily, getGroupBy, getGroupByTooltip, getInputStyle, getInputStyleClass, getItemLabel, getItemStyleClass, getItemtipAtPosition, getItemtipMyPosition, getItemValue, getLazyField, getLazyModel, getMaxResults, getMinQueryLength, getMoreText, getMy, getPanelStyle, getPanelStyleClass, getPlaceholder, getQueryDelay, getQueryEvent, getQueryMode, getScrollHeight, getSelectLimit, getType, getVar, getWidgetVar, isActive, isAutoHighlight, isAutoSelection, isCache, isDropdown, isDynamic, isEscape, isForceSelection, isMultiple, isUnique, setActive, setAppendTo, setAt, setAutoHighlight, setAutoSelection, setCache, setCacheTimeout, setCompleteEndpoint, setCompleteMethod, setDropdown, setDropdownMode, setDropdownTabindex, setDynamic, setEscape, setForceSelection, setGroupBy, setGroupByTooltip, setInputStyle, setInputStyleClass, setItemLabel, setItemStyleClass, setItemtipAtPosition, setItemtipMyPosition, setItemValue, setLazyField, setLazyModel, setMaxResults, setMinQueryLength, setMoreText, setMultiple, setMy, setPanelStyle, setPanelStyleClass, setPlaceholder, setQueryDelay, setQueryEvent, setQueryMode, setScrollHeight, setSelectLimit, setType, setUnique, setVar, setWidgetVar
Methods inherited from class org.primefaces.component.api.AbstractPrimeHtmlInputText
getInputmode, getOncontextmenu, getOncopy, getOncut, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOninput, getOninvalid, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnwheel, setInputmode, setOncontextmenu, setOncopy, setOncut, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOninput, setOninvalid, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnwheel
Methods inherited from class javax.faces.component.html.HtmlInputText
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitle
Methods 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, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, 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, 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, getPassThroughAttributes, 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, setConverter
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_TYPE
- See Also:
-
STYLE_CLASS
- See Also:
-
MULTIPLE_STYLE_CLASS
- See Also:
-
DROPDOWN_SYLE_CLASS
- See Also:
-
INPUT_CLASS
- See Also:
-
INPUT_WITH_DROPDOWN_CLASS
- See Also:
-
DROPDOWN_CLASS
- See Also:
-
PANEL_CLASS
- See Also:
-
LIST_CLASS
- See Also:
-
TABLE_CLASS
- See Also:
-
ITEM_CLASS
- See Also:
-
ROW_CLASS
- See Also:
-
TOKEN_DISPLAY_CLASS
- See Also:
-
TOKEN_LABEL_CLASS
- See Also:
-
TOKEN_LABEL_DISABLED_CLASS
- See Also:
-
TOKEN_ICON_CLASS
- See Also:
-
TOKEN_INPUT_CLASS
- See Also:
-
MULTIPLE_CONTAINER_CLASS
- See Also:
-
MULTIPLE_CONTAINER_WITH_DROPDOWN_CLASS
- See Also:
-
ITEMTIP_CONTENT_CLASS
- See Also:
-
MORE_TEXT_LIST_CLASS
- See Also:
-
MORE_TEXT_TABLE_CLASS
- See Also:
-
UNOBSTRUSIVE_EVENT_NAMES
-
EVENT_NAMES
-
-
Constructor Details
-
AutoComplete
public AutoComplete()
-
-
Method Details
-
getEventNames
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classAbstractPrimeHtmlInputText
-
getUnobstrusiveEventNames
Description copied from interface:MixedClientBehaviorHolder
Gets the collection of unobtrusive event names.- Returns:
- the collection of unobtrusive event names.
-
isMoreTextRequest
public boolean isMoreTextRequest(javax.faces.context.FacesContext context) -
isDynamicLoadRequest
public boolean isDynamicLoadRequest(javax.faces.context.FacesContext context) -
isClientCacheRequest
public boolean isClientCacheRequest(javax.faces.context.FacesContext context) -
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event) - Overrides:
queueEvent
in classjavax.faces.component.UIComponentBase
-
broadcast
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException - Overrides:
broadcast
in classjavax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
-
hasMoreSuggestions
protected boolean hasMoreSuggestions() -
getColums
-
getSuggestions
-
isServerQueryMode
public boolean isServerQueryMode() -
isClientQueryMode
public boolean isClientQueryMode() -
isHybridQueryMode
public boolean isHybridQueryMode() -
getInputClientId
- Returns:
- Client id of the input element
-
getValidatableInputClientId
- Returns:
- Client id of the validatable input element
-
getLabelledBy
- Returns:
- Client id of the label for aria
-
setLabelledBy
Description copied from interface:InputHolder
Sets the id of the label for aria.- Parameters:
labelledBy
- the id
-
saveState
- Specified by:
saveState
in interfacejavax.faces.component.StateHolder
- Overrides:
saveState
in classjavax.faces.component.UIInput
-