Class 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

    public class AutoComplete
    extends AutoCompleteBase
    • Constructor Detail

      • AutoComplete

        public AutoComplete()
    • Method Detail

      • getUnobstrusiveEventNames

        public Collection<String> 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 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
      • hasMoreSuggestions

        protected boolean hasMoreSuggestions()
      • getSuggestions

        public Object getSuggestions()
      • isServerQueryMode

        public boolean isServerQueryMode()
      • isClientQueryMode

        public boolean isClientQueryMode()
      • isHybridQueryMode

        public boolean isHybridQueryMode()
      • getInputClientId

        public String getInputClientId()
        Returns:
        Client id of the input element
      • getValidatableInputClientId

        public String getValidatableInputClientId()
        Returns:
        Client id of the validatable input element
      • getLabelledBy

        public String getLabelledBy()
        Returns:
        Client id of the label for aria
      • setLabelledBy

        public void setLabelledBy​(String labelledBy)
        Description copied from interface: InputHolder
        Sets the id of the label for aria.
        Parameters:
        labelledBy - the id
      • saveState

        public Object saveState​(javax.faces.context.FacesContext context)
        Specified by:
        saveState in interface javax.faces.component.StateHolder
        Overrides:
        saveState in class javax.faces.component.UIInput