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