public class TreeTableViewUtil
extends java.lang.Object
TreeTableView| Modifier and Type | Class and Description |
|---|---|
static class |
TreeTableViewUtil.TreeTableView_Properties
Properties of a
TreeTableView one can capture in an Memento |
| Constructor and Description |
|---|
TreeTableViewUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <S> javafx.scene.control.TreeTableView<S> |
captureState(javafx.scene.control.TreeTableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TreeTableColumn<S,?>,java.lang.String> columnKeyProvider,
TreeTableViewUtil.TreeTableView_Properties... properties)
Capture the state of the
TreeTableView |
static <S> javafx.scene.control.TreeTableView<S> |
captureState(javafx.scene.control.TreeTableView<S> view,
Memento m,
TreeTableViewUtil.TreeTableView_Properties... properties)
Capture the state of the
TreeTableView and use the
TableColumnBase.getId() for the lookup |
static <S> Subscription |
enableAutomaticCaptureing(javafx.scene.control.TreeTableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TreeTableColumn<S,?>,java.lang.String> columnKeyProvider,
TreeTableViewUtil.TreeTableView_Properties... properties)
Enabled automatic capturing of property changes
|
static <S> Subscription |
enableAutomaticCaptureing(javafx.scene.control.TreeTableView<S> view,
Memento m,
TreeTableViewUtil.TreeTableView_Properties... properties)
Enabled automatic capturing of property changes and use the
TableColumnBase.getId() for the lookup |
static <S> javafx.scene.control.TreeTableView<S> |
restoreState(javafx.scene.control.TreeTableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TreeTableColumn<S,?>,java.lang.String> columnKeyProvider,
TreeTableViewUtil.TreeTableView_Properties... properties)
Restore the state of the
TreeTableView |
static <S> javafx.scene.control.TreeTableView<S> |
restoreState(javafx.scene.control.TreeTableView<S> view,
Memento m,
TreeTableViewUtil.TreeTableView_Properties... properties)
Restore the state of the
TreeTableView and use the
TableColumnBase.getId() for the lookup |
public static <S> javafx.scene.control.TreeTableView<S> restoreState(javafx.scene.control.TreeTableView<S> view,
Memento m,
TreeTableViewUtil.TreeTableView_Properties... properties)
TreeTableView 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.TreeTableView<S> restoreState(javafx.scene.control.TreeTableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TreeTableColumn<S,?>,java.lang.String> columnKeyProvider,
TreeTableViewUtil.TreeTableView_Properties... properties)
TreeTableViewview - 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.TreeTableView<S> captureState(javafx.scene.control.TreeTableView<S> view,
Memento m,
TreeTableViewUtil.TreeTableView_Properties... properties)
TreeTableView 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.TreeTableView<S> captureState(javafx.scene.control.TreeTableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TreeTableColumn<S,?>,java.lang.String> columnKeyProvider,
TreeTableViewUtil.TreeTableView_Properties... properties)
TreeTableViewview - 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.TreeTableView<S> view,
Memento m,
TreeTableViewUtil.TreeTableView_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.TreeTableView<S> view,
Memento m,
java.util.function.Function<javafx.scene.control.TreeTableColumn<S,?>,java.lang.String> columnKeyProvider,
TreeTableViewUtil.TreeTableView_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