public final class ColumnFilter<T,R>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
applyFilter()
Re-executes filter based on selections for this given ColumnFilter
|
javafx.collections.ObservableList<FilterValue<T,R>> |
getFilterValues()
Gets the FilterValues for this given ColumnFilter
|
java.util.function.BiPredicate<java.lang.String,java.lang.String> |
getSearchStrategy()
Returns the search implementation for this given ColumnFilter.
|
javafx.scene.control.TableColumn<T,R> |
getTableColumn()
Returns the TableColumn attached to this given ColumnFilter
|
TableFilter<T> |
getTableFilter()
Returns the entire TableFilter this ColumnFilter belongs to
|
void |
initialize()
Initializes this ColumnFilter, particularly if it was set up in a lazy context
|
boolean |
isFiltered()
Indicates whether a filter is active on this ColumnFilter
|
boolean |
isInitialized()
Returns boolean indicating whether this ColumnFilter was initialized
|
void |
selectAllValues()
Selects all values for this given ColumnFilter
|
void |
selectValue(java.lang.Object value)
Allows selecting a given value programmatically for this ColumnFilter
|
void |
setSearchStrategy(java.util.function.BiPredicate<java.lang.String,java.lang.String> searchStrategy)
Sets a search implementation for this BiPredicate for this given ColumnFilter.
|
void |
unSelectAllValues()
Unselects all values for this given ColumnFilter
|
void |
unselectValue(java.lang.Object value)
Allows unselecting a given value programmatically for this ColumnFilter
|
boolean |
valueIsVisible(R value)
Indicates whether a given value is currently visible for this ColumnFilter
|
public void initialize()
public boolean isInitialized()
public void selectValue(java.lang.Object value)
public void unselectValue(java.lang.Object value)
public void selectAllValues()
public void unSelectAllValues()
public void setSearchStrategy(java.util.function.BiPredicate<java.lang.String,java.lang.String> searchStrategy)
public java.util.function.BiPredicate<java.lang.String,java.lang.String> getSearchStrategy()
public boolean isFiltered()
public boolean valueIsVisible(R value)
public void applyFilter()
public javafx.collections.ObservableList<FilterValue<T,R>> getFilterValues()
public javafx.scene.control.TableColumn<T,R> getTableColumn()
public TableFilter<T> getTableFilter()