T - type of data table recordspublic class TextHeaderFilter<T> extends DelayedHeaderFilterInput<TextBox,T>
TextBox component| Constructor and Description |
|---|
TextHeaderFilter()
Default constructor
|
TextHeaderFilter(String placeholder)
Create and instance with custom placeholder
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the header filter component value
|
static <T> TextHeaderFilter<T> |
create()
create a new instance
|
static <T> TextHeaderFilter<T> |
create(String placeholder)
creates a new instance with custom placeholder
|
protected TextBox |
createValueBox() |
protected elemental2.dom.HTMLInputElement |
getInputElement() |
TextBox |
getTextBox() |
protected FilterTypes |
getType() |
protected String |
getValue() |
protected boolean |
isEmpty() |
element, getField, initpublic TextHeaderFilter()
public TextHeaderFilter(String placeholder)
placeholder - Stringpublic static <T> TextHeaderFilter<T> create()
public static <T> TextHeaderFilter<T> create(String placeholder)
T - type of the data table recordsplaceholder - Stringprotected elemental2.dom.HTMLInputElement getInputElement()
getInputElement in class DelayedHeaderFilterInput<TextBox,T>HTMLInputElement wrapped inside the ValueBox componentprotected TextBox createValueBox()
createValueBox in class DelayedHeaderFilterInput<TextBox,T>protected boolean isEmpty()
isEmpty in class DelayedHeaderFilterInput<TextBox,T>protected String getValue()
getValue in class DelayedHeaderFilterInput<TextBox,T>protected FilterTypes getType()
getType in class DelayedHeaderFilterInput<TextBox,T>public void clear()
this will be called by the ColumnHeaderFilterPlugin
Copyright © 2019–2022 Dominokit. All rights reserved.