org.primefaces.component.autocomplete
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.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, Widget
public class AutoComplete
- extends javax.faces.component.html.HtmlInputText
- implements Widget, InputHolder
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.HtmlInputText |
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, 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, 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, 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, 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, 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
MULTIPLE_STYLE_CLASS
public static final String MULTIPLE_STYLE_CLASS
- See Also:
- Constant Field Values
INPUT_CLASS
public static final String INPUT_CLASS
- See Also:
- Constant Field Values
INPUT_WITH_DROPDOWN_CLASS
public static final String INPUT_WITH_DROPDOWN_CLASS
- See Also:
- Constant Field Values
DROPDOWN_ICON_CLASS
public static final String DROPDOWN_ICON_CLASS
- See Also:
- Constant Field Values
PANEL_CLASS
public static final String PANEL_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_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
TOKEN_DISPLAY_CLASS
public static final String TOKEN_DISPLAY_CLASS
- See Also:
- Constant Field Values
TOKEN_LABEL_CLASS
public static final String TOKEN_LABEL_CLASS
- See Also:
- Constant Field Values
TOKEN_ICON_CLASS
public static final String TOKEN_ICON_CLASS
- See Also:
- Constant Field Values
TOKEN_INPUT_CLASS
public static final String TOKEN_INPUT_CLASS
- See Also:
- Constant Field Values
MULTIPLE_CONTAINER_CLASS
public static final String MULTIPLE_CONTAINER_CLASS
- See Also:
- Constant Field Values
ITEMTIP_CONTENT_CLASS
public static final String ITEMTIP_CONTENT_CLASS
- See Also:
- Constant Field Values
AutoComplete
public AutoComplete()
getFamily
public String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UIInput
getWidgetVar
public String getWidgetVar()
setWidgetVar
public void setWidgetVar(String _widgetVar)
getCompleteMethod
public javax.el.MethodExpression getCompleteMethod()
setCompleteMethod
public void setCompleteMethod(javax.el.MethodExpression _completeMethod)
getVar
public String getVar()
setVar
public void setVar(String _var)
getItemLabel
public String getItemLabel()
setItemLabel
public void setItemLabel(String _itemLabel)
getItemValue
public Object getItemValue()
setItemValue
public void setItemValue(Object _itemValue)
getMaxResults
public int getMaxResults()
setMaxResults
public void setMaxResults(int _maxResults)
getMinQueryLength
public int getMinQueryLength()
setMinQueryLength
public void setMinQueryLength(int _minQueryLength)
getQueryDelay
public int getQueryDelay()
setQueryDelay
public void setQueryDelay(int _queryDelay)
isForceSelection
public boolean isForceSelection()
setForceSelection
public void setForceSelection(boolean _forceSelection)
getOnstart
public String getOnstart()
setOnstart
public void setOnstart(String _onstart)
getOncomplete
public String getOncomplete()
setOncomplete
public void setOncomplete(String _oncomplete)
isGlobal
public boolean isGlobal()
setGlobal
public void setGlobal(boolean _global)
getScrollHeight
public int getScrollHeight()
setScrollHeight
public void setScrollHeight(int _scrollHeight)
getEffect
public String getEffect()
setEffect
public void setEffect(String _effect)
getEffectDuration
public int getEffectDuration()
setEffectDuration
public void setEffectDuration(int _effectDuration)
isDropdown
public boolean isDropdown()
setDropdown
public void setDropdown(boolean _dropdown)
getPanelStyle
public String getPanelStyle()
setPanelStyle
public void setPanelStyle(String _panelStyle)
getPanelStyleClass
public String getPanelStyleClass()
setPanelStyleClass
public void setPanelStyleClass(String _panelStyleClass)
isMultiple
public boolean isMultiple()
setMultiple
public void setMultiple(boolean _multiple)
getProcess
public String getProcess()
setProcess
public void setProcess(String _process)
getItemtipMyPosition
public String getItemtipMyPosition()
setItemtipMyPosition
public void setItemtipMyPosition(String _itemtipMyPosition)
getItemtipAtPosition
public String getItemtipAtPosition()
setItemtipAtPosition
public void setItemtipAtPosition(String _itemtipAtPosition)
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in class javax.faces.component.html.HtmlInputText
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent
in class javax.faces.component.UIComponentBase
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in class javax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
getColums
public List<Column> getColums()
getSuggestions
public List getSuggestions()
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.