T - public final class TableFilter<T>
extends java.lang.Object
TableView instance.
The filter will be applied immediately on construction, and
can be made visible by right-clicking the desired column to filter on.
| Modifier and Type | Class and Description |
|---|---|
static class |
TableFilter.Builder<T>
A Builder for a TableFilter against a specified TableView
|
| Constructor and Description |
|---|
TableFilter(javafx.scene.control.TableView<T> tableView)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeFilter() |
static <T> TableFilter.Builder<T> |
forTableView(javafx.scene.control.TableView<T> tableView)
Returns a TableFilter.Builder to configure a TableFilter on the specified TableView.
|
javafx.collections.ObservableList<T> |
getBackingList()
Returns the backing
ObservableList originally provided to the constructor. |
java.util.Optional<ColumnFilter<T,?>> |
getColumnFilter(javafx.scene.control.TableColumn<T,?> tableColumn) |
javafx.collections.ObservableList<ColumnFilter<T,?>> |
getColumnFilters() |
javafx.collections.transformation.FilteredList<T> |
getFilteredList()
Returns the
FilteredList used by this TableFilter and is backing the TableView. |
boolean |
isDirty() |
void |
resetFilter() |
void |
selectAllValues(javafx.scene.control.TableColumn<?,?> column)
Programmatically selects all values for the specified TableColumn
|
void |
selectValue(javafx.scene.control.TableColumn<?,?> column,
java.lang.Object value)
Programmatically selects value for the specified TableColumn
|
void |
setSearchStrategy(java.util.function.BiPredicate<java.lang.String,java.lang.String> searchStrategy)
Allows specifying a different behavior for the search box on the TableFilter.
|
void |
unSelectAllValues(javafx.scene.control.TableColumn<?,?> column)
Programmatically unselect all values for the specified TableColumn
|
void |
unselectValue(javafx.scene.control.TableColumn<?,?> column,
java.lang.Object value)
Programmatically unselects value for the specified TableColumn
|
@Deprecated public TableFilter(javafx.scene.control.TableView<T> tableView)
public void setSearchStrategy(java.util.function.BiPredicate<java.lang.String,java.lang.String> searchStrategy)
searchStrategy - public javafx.collections.ObservableList<T> getBackingList()
ObservableList originally provided to the constructor.public javafx.collections.transformation.FilteredList<T> getFilteredList()
FilteredList used by this TableFilter and is backing the TableView.public void selectValue(javafx.scene.control.TableColumn<?,?> column,
java.lang.Object value)
public void unselectValue(javafx.scene.control.TableColumn<?,?> column,
java.lang.Object value)
public void selectAllValues(javafx.scene.control.TableColumn<?,?> column)
public void unSelectAllValues(javafx.scene.control.TableColumn<?,?> column)
public void executeFilter()
public void resetFilter()
public javafx.collections.ObservableList<ColumnFilter<T,?>> getColumnFilters()
public java.util.Optional<ColumnFilter<T,?>> getColumnFilter(javafx.scene.control.TableColumn<T,?> tableColumn)
public boolean isDirty()
public static <T> TableFilter.Builder<T> forTableView(javafx.scene.control.TableView<T> tableView)
T - tableView -