public class TableViewUtil
extends java.lang.Object
TableView| Modifier and Type | Class and Description |
|---|---|
static class |
TableViewUtil.TableView_Properties
Properties of a
TableView one can capture in an Memento |
| Constructor and Description |
|---|
TableViewUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <S> javafx.scene.control.TableView<S> |
captureState(javafx.scene.control.TableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TableColumn<S,?>,java.lang.String> columnKeyProvider,
TableViewUtil.TableView_Properties... properties)
Capture the state of the
TableView |
static <S> javafx.scene.control.TableView<S> |
captureState(javafx.scene.control.TableView<S> view,
Memento m,
TableViewUtil.TableView_Properties... properties)
Capture the state of the
TableView and use the
TableColumnBase.getId() for the lookup |
static <S> Subscription |
enableAutomaticCaptureing(javafx.scene.control.TableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TableColumn<S,?>,java.lang.String> columnKeyProvider,
TableViewUtil.TableView_Properties... properties)
Enabled automatic capturing of property changes
|
static <S> Subscription |
enableAutomaticCaptureing(javafx.scene.control.TableView<S> view,
Memento m,
TableViewUtil.TableView_Properties... properties)
Enabled automatic capturing of property changes and use the
TableColumnBase.getId() for the lookup |
static <S> javafx.scene.control.TableView<S> |
restoreState(javafx.scene.control.TableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TableColumn<S,?>,java.lang.String> columnKeyProvider,
TableViewUtil.TableView_Properties... properties)
Restore the state of the
TableView |
static <S> javafx.scene.control.TableView<S> |
restoreState(javafx.scene.control.TableView<S> view,
Memento m,
TableViewUtil.TableView_Properties... properties)
Restore the state of the
TableView and use the
TableColumnBase.getId() for the lookup |
public static <S> javafx.scene.control.TableView<S> restoreState(javafx.scene.control.TableView<S> view,
Memento m,
TableViewUtil.TableView_Properties... properties)
TableView and use the
TableColumnBase.getId() for the lookupview - the viewm - the memento used to retrieve stored data fromproperties - list of properties to restore or empty to restore all possible
propertiespublic static <S> javafx.scene.control.TableView<S> restoreState(javafx.scene.control.TableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TableColumn<S,?>,java.lang.String> columnKeyProvider,
TableViewUtil.TableView_Properties... properties)
TableViewview - the viewm - the memento used to retrieve stored data fromcolumnKeyProvider - function used to compute the id for a columnproperties - list of properties to restore or empty to restore all possible
propertiespublic static <S> javafx.scene.control.TableView<S> captureState(javafx.scene.control.TableView<S> view,
Memento m,
TableViewUtil.TableView_Properties... properties)
TableView and use the
TableColumnBase.getId() for the lookupview - the view the state is captured ofm - the memento used to store the stateproperties - list of properties to restore or empty to restore all possible
propertiespublic static <S> javafx.scene.control.TableView<S> captureState(javafx.scene.control.TableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TableColumn<S,?>,java.lang.String> columnKeyProvider,
TableViewUtil.TableView_Properties... properties)
TableViewview - the view the state is captured ofm - the memento used to store the statecolumnKeyProvider - function used to compute the id for a columnproperties - list of properties to restore or empty to restore all possible
propertiespublic static <S> Subscription enableAutomaticCaptureing(javafx.scene.control.TableView<S> view,
Memento m,
TableViewUtil.TableView_Properties... properties)
TableColumnBase.getId() for the lookupview - the viewm - the mementoproperties - list of properties to restore or empty to restore all possible
propertiespublic static <S> Subscription enableAutomaticCaptureing(javafx.scene.control.TableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TableColumn<S,?>,java.lang.String> columnKeyProvider,
TableViewUtil.TableView_Properties... properties)
view - the viewm - the mementocolumnKeyProvider - function used to compute the id for a columnproperties - list of properties to restore or empty to restore all possible
properties