Class SearchBar

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, Serializable

    @Tag("search-bar")
    @JsModule("./src/components/search-bar.js")
    public class SearchBar
    extends com.vaadin.flow.component.polymertemplate.PolymerTemplate<SearchBar.Model>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchBar()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addActionClickListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> listener)  
      void addFilterChangeListener​(com.vaadin.flow.component.ComponentEventListener<SearchBar.FilterChanged> listener)  
      String getFilter()  
      boolean isCheckboxChecked()  
      void setActionText​(String actionText)  
      void setCheckboxText​(String checkboxText)  
      void setPlaceHolder​(String placeHolder)  
      • Methods inherited from class com.vaadin.flow.component.polymertemplate.PolymerTemplate

        getChildren
      • Methods inherited from class com.vaadin.flow.component.polymertemplate.AbstractTemplate

        getModel, getModelType, getModelType, getStateNode, initModel, isSupportedClass
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
    • Constructor Detail

      • SearchBar

        public SearchBar()
    • Method Detail

      • getFilter

        public String getFilter()
      • isCheckboxChecked

        public boolean isCheckboxChecked()
      • setPlaceHolder

        public void setPlaceHolder​(String placeHolder)
      • setActionText

        public void setActionText​(String actionText)
      • setCheckboxText

        public void setCheckboxText​(String checkboxText)
      • addFilterChangeListener

        public void addFilterChangeListener​(com.vaadin.flow.component.ComponentEventListener<SearchBar.FilterChanged> listener)
      • addActionClickListener

        public void addActionClickListener​(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> listener)