Uses of Interface
it.tidalwave.ui.core.role.PresentationModel
Package
Description
-
Uses of PresentationModel in it.tidalwave.ui.core.role
Modifier and TypeFieldDescriptionstatic final Class
<PresentationModel> PresentationModel._PresentationModel_
static final it.tidalwave.util.As.Type
<it.tidalwave.role.SimpleComposite<PresentationModel>> PresentationModel._SimpleCompositeOfPresentationModel_
Modifier and TypeMethodDescriptiondefault PresentationModel
Presentable.createPresentationModel()
Creates aPresentationModel
.default PresentationModel
Presentable.createPresentationModel
(Object instanceRole) Creates aPresentationModel
with a single role.Presentable.createPresentationModel
(Collection<Object> instanceRoles) Creates aPresentationModel
with some roles.default PresentationModel
PresentationModelFactory.createPresentationModel
(Object datum) Creates a new instance ofPresentationModel
.PresentationModelFactory.createPresentationModel
(Object datum, Collection<Object> roles) Creates a new instance ofPresentationModel
with some roles or role factories.static PresentationModel
PresentationModel.empty()
Returns an empty instance (no roles, with the exception of a dummyDisplayable
).static PresentationModel
Returns a new instance given an owner and no roles.static PresentationModel
Returns a new instance given an owner and a single role.static PresentationModel
PresentationModel.of
(Object owner, Collection<Object> roles) Returns a new instance given an owner and multiple roles.static PresentationModel
PresentationModel.ofMaybePresentable
(it.tidalwave.util.As owner) Returns a new instance from an owner which might have thePresentable
role.static PresentationModel
PresentationModel.ofMaybePresentable
(it.tidalwave.util.As owner, Collection<Object> roles) Returns a new instance from an owner which might have thePresentable
role.Modifier and TypeMethodDescription -
Uses of PresentationModel in it.tidalwave.ui.core.role.spi
Modifier and TypeMethodDescriptionDefaultPresentationModelFactory.createPresentationModel
(Object owner, Collection<Object> localRoles) Creates a new instance ofPresentationModel
with some roles or role factories.SimpleCompositePresentable.createPresentationModel
(Collection<Object> roles) Creates aPresentationModel
with some roles.static <T extends it.tidalwave.util.As>
PresentationModelPresentationModelCollectors.toCompositePresentationModel
(Iterable<? extends T> i, Function<? super T, Object> roleCreator) A facility method that creates a compositePresentationModel
out of an iterable (which means an array, a collection or a stream) of objects implementingAs
.static <T extends it.tidalwave.util.As>
PresentationModelPresentationModelCollectors.toCompositePresentationModel
(Iterable<T> i) A facility simplified version ofPresentationModelCollectors.toCompositePresentationModel(java.lang.Iterable, java.util.function.Function)
. -
Uses of PresentationModel in it.tidalwave.ui.example.presentation
Modifier and TypeMethodDescriptionvoid
MainPanelPresentation.populate
(PresentationModel pmSimpleEntities, PresentationModel pmDciEntities, PresentationModel pmFileEntities) A presentation also exposes somepopulateXYZ()
methods which are used to fill various parts of the UI with model. -
Uses of PresentationModel in it.tidalwave.ui.javafx
Modifier and TypeMethodDescriptiondefault void
JavaFXBinder.bind
(javafx.scene.control.ComboBox<PresentationModel> comboBox, PresentationModel pm) Binds aComboBox
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.ComboBox<PresentationModel> comboBox, PresentationModel pm, Runnable initCallback) Binds aComboBox
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.ComboBox<PresentationModel> comboBox, PresentationModel pm, Optional<Runnable> initCallback) Binds aComboBox
to aPresentationModel
and an optional callback.default void
JavaFXBinder.bind
(javafx.scene.control.ListView<PresentationModel> listView, PresentationModel pm) Binds aComboBox
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.ListView<PresentationModel> listView, PresentationModel pm, Runnable initCallback) Binds aListView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.ListView<PresentationModel> listView, PresentationModel pm, Optional<Runnable> initCallback) Binds aListView
to aPresentationModel
and an optional callback.default void
JavaFXBinder.bind
(javafx.scene.control.TableView<PresentationModel> tableView, PresentationModel pm) Binds aTableView
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.TableView<PresentationModel> tableView, PresentationModel pm, Runnable initCallback) Binds aTableView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.TableView<PresentationModel> tableView, PresentationModel pm, Optional<Runnable> initCallback) Binds aTableView
to aPresentationModel
and an optional callback.default void
JavaFXBinder.bind
(javafx.scene.control.TreeTableView<PresentationModel> treeTableView, PresentationModel pm) Binds aTreeTableView
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.TreeTableView<PresentationModel> treeTableView, PresentationModel pm, Runnable initCallback) Binds aTreeTableView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.TreeTableView<PresentationModel> treeTableView, PresentationModel pm, Optional<Runnable> initCallback) Binds aTreeTableView
to aPresentationModel
and a callback.default void
JavaFXBinder.bind
(javafx.scene.control.TreeView<PresentationModel> treeView, PresentationModel pm) Binds aTableView
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.TreeView<PresentationModel> treeView, PresentationModel pm, Runnable initCallback) Binds aTableView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.TreeView<PresentationModel> treeView, PresentationModel pm, Optional<Runnable> initCallback) Binds aTreeView
to aPresentationModel
and a callback.void
JavaFXBinder.bindToggleButtons
(javafx.scene.layout.Pane pane, PresentationModel pm) Given aPresentationModel
that contains aComposite
, populate the pane withToggleButton
s associated to the elements of theComposite
.Modifier and TypeMethodDescriptiondefault void
JavaFXBinder.bind
(javafx.scene.control.ComboBox<PresentationModel> comboBox, PresentationModel pm) Binds aComboBox
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.ComboBox<PresentationModel> comboBox, PresentationModel pm, Runnable initCallback) Binds aComboBox
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.ComboBox<PresentationModel> comboBox, PresentationModel pm, Optional<Runnable> initCallback) Binds aComboBox
to aPresentationModel
and an optional callback.default void
JavaFXBinder.bind
(javafx.scene.control.ListView<PresentationModel> listView, PresentationModel pm) Binds aComboBox
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.ListView<PresentationModel> listView, PresentationModel pm, Runnable initCallback) Binds aListView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.ListView<PresentationModel> listView, PresentationModel pm, Optional<Runnable> initCallback) Binds aListView
to aPresentationModel
and an optional callback.default void
JavaFXBinder.bind
(javafx.scene.control.TableView<PresentationModel> tableView, PresentationModel pm) Binds aTableView
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.TableView<PresentationModel> tableView, PresentationModel pm, Runnable initCallback) Binds aTableView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.TableView<PresentationModel> tableView, PresentationModel pm, Optional<Runnable> initCallback) Binds aTableView
to aPresentationModel
and an optional callback.default void
JavaFXBinder.bind
(javafx.scene.control.TreeTableView<PresentationModel> treeTableView, PresentationModel pm) Binds aTreeTableView
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.TreeTableView<PresentationModel> treeTableView, PresentationModel pm, Runnable initCallback) Binds aTreeTableView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.TreeTableView<PresentationModel> treeTableView, PresentationModel pm, Optional<Runnable> initCallback) Binds aTreeTableView
to aPresentationModel
and a callback.default void
JavaFXBinder.bind
(javafx.scene.control.TreeView<PresentationModel> treeView, PresentationModel pm) Binds aTableView
to aPresentationModel
.default void
JavaFXBinder.bind
(javafx.scene.control.TreeView<PresentationModel> treeView, PresentationModel pm, Runnable initCallback) Binds aTableView
to aPresentationModel
and a callback.void
JavaFXBinder.bind
(javafx.scene.control.TreeView<PresentationModel> treeView, PresentationModel pm, Optional<Runnable> initCallback) Binds aTreeView
to aPresentationModel
and a callback.