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 |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ObservableList | |
| private final ObservableList | |
| private final FilteredList | |
| private final TableView |
| Access | Constructor and Description |
|---|---|
| public | TableFilter(TableView<T> tableView)
Deprecated
Use TableFilter.forTableView() factory and leverage Builder |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| private <S> Stream | |
| public static <T> TableFilter. | forTableView(TableView<T> tableView)
Returns a TableFilter.Builder to configure a TableFilter on the specified TableView. |
| public ObservableList | Returns: ObservableListReturns the backing |
| public Optional | |
| public ObservableList | |
| public FilteredList | Returns: FilteredListReturns the |
| public TableView | |
| public boolean | |
| public void | |
| public void | |
| public void | selectAllValues(TableColumn<?, ?> column)
Programmatically selects all values for the specified TableColumn |
| public void | selectValue(TableColumn<?, ?> column, Object value)
Programmatically selects value for the specified TableColumn |
| public void | setSearchStrategy(BiPredicate<String, String> searchStrategy)
Allows specifying a different behavior for the search box on the TableFilter. |
| public void | unSelectAllValues(TableColumn<?, ?> column)
Programmatically unselect all values for the specified TableColumn |
| public void | unselectValue(TableColumn<?, ?> column, Object value)
Programmatically unselects value for the specified TableColumn |
| backingList | back to summary |
|---|---|
| private final ObservableList<T> backingList | |
| columnFilters | back to summary |
|---|---|
| private final ObservableList<ColumnFilter<T, ?>> columnFilters | |
| filteredList | back to summary |
|---|---|
| private final FilteredList<T> filteredList | |
| tableView | back to summary |
|---|---|
| private final TableView<T> tableView | |
| TableFilter | back to summary |
|---|---|
| public TableFilter(TableView<T> tableView)
Deprecated
Use TableFilter.forTableView() factory and leverage Builder
| |
| TableFilter | back to summary |
|---|---|
| private TableFilter(TableView<T> tableView, boolean isLazy) | |
| applyForAllColumns | back to summary |
|---|---|
| private void applyForAllColumns() | |
| executeFilter | back to summary |
|---|---|
| public void executeFilter() | |
| extractNestedColumns | back to summary |
|---|---|
| private <S> Stream | |
| forTableView | back to summary |
|---|---|
| public static <T> TableFilter. Returns a TableFilter.Builder to configure a TableFilter on the specified TableView. Call apply() to initialize and return the TableFilter | |
| getBackingList | back to summary |
|---|---|
| public ObservableList Returns the backing
| |
| getColumnFilter | back to summary |
|---|---|
| public Optional | |
| getColumnFilters | back to summary |
|---|---|
| public ObservableList | |
| getFilteredList | back to summary |
|---|---|
| public FilteredList Returns the
| |
| getTableView | back to summary |
|---|---|
| public TableView | |
| isDirty | back to summary |
|---|---|
| public boolean isDirty() | |
| resetAllFilters | back to summary |
|---|---|
| public void resetAllFilters() | |
| resetFilter | back to summary |
|---|---|
| public void resetFilter() | |
| selectAllValues | back to summary |
|---|---|
| public void selectAllValues(TableColumn<?, ?> column) Programmatically selects all values for the specified TableColumn | |
| selectValue | back to summary |
|---|---|
| public void selectValue(TableColumn<?, ?> column, Object value) Programmatically selects value for the specified TableColumn | |
| setSearchStrategy | back to summary |
|---|---|
| public void setSearchStrategy(BiPredicate<String, String> searchStrategy) Allows specifying a different behavior for the search box on the TableFilter. By default, the contains() method on a String is used to evaluate the search box input to qualify the distinct filter values. But you can specify a different behavior by providing a simple BiPredicate argument to this method. The BiPredicate argument allows you take the input value and target value and use a lambda to evaluate a boolean. For instance, you can implement a comparison by assuming the input value is a regular expression, and call matches() on the target value to see if it aligns to the pattern. | |
| unSelectAllValues | back to summary |
|---|---|
| public void unSelectAllValues(TableColumn<?, ?> column) Programmatically unselect all values for the specified TableColumn | |
| unselectValue | back to summary |
|---|---|
| public void unselectValue(TableColumn<?, ?> column, Object value) Programmatically unselects value for the specified TableColumn | |
| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private final TableView |
| Modifier and Type | Method and Description |
|---|---|
| public TableFilter | |
| public TableFilter. |
| lazyInd | back to summary |
|---|---|
| private volatile boolean lazyInd | |
| tableView | back to summary |
|---|---|
| private final TableView<T> tableView | |
| Builder | back to summary |
|---|---|
| private Builder(TableView<T> tableView) | |
| apply | back to summary |
|---|---|
| public TableFilter | |
| lazy | back to summary |
|---|---|
| public TableFilter. | |