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