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