Package coop.intergal.ui.components
Class SearchBar
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.polymertemplate.AbstractTemplate<M>
-
- com.vaadin.flow.component.polymertemplate.PolymerTemplate<SearchBar.Model>
-
- coop.intergal.ui.components.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchBar.FilterChangedstatic interfaceSearchBar.Modelstatic classSearchBar.SearchValueChanged
-
Constructor Summary
Constructors Constructor Description SearchBar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddActionClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> listener)voidaddFilterChangeListener(com.vaadin.flow.component.ComponentEventListener<SearchBar.FilterChanged> listener)StringgetFilter()booleanisCheckboxChecked()voidsetActionText(String actionText)voidsetCheckboxText(String checkboxText)voidsetPlaceHolder(String placeHolder)-
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
-
-
-
-
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)
-
-