Class JavaFXMainPanelPresentationDelegate
java.lang.Object
it.tidalwave.ui.example.presentation.impl.javafx.JavaFXMainPanelPresentationDelegate
- All Implemented Interfaces:
MainPanelPresentation
The JavaFX controller just works as a dumb object with SteelBlue: it must implement in the most simple way each
method in the presentation interface, by applying simple manipulation to the UI. No logic here, neither presentaton
nor business.
- Author:
- Fabrizio Giudici
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.tidalwave.ui.example.presentation.MainPanelPresentation
MainPanelPresentation.Bindings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(MainPanelPresentation.Bindings bindings) void
notify
(it.tidalwave.ui.core.UserNotificationWithFeedback notification) void
void
pickDirectory
(it.tidalwave.ui.core.BoundProperty<Path> selectedFolder, it.tidalwave.ui.core.UserNotificationWithFeedback notification) void
pickFile
(it.tidalwave.ui.core.BoundProperty<Path> selectedFile, it.tidalwave.ui.core.UserNotificationWithFeedback notification) void
populate
(it.tidalwave.ui.core.role.PresentationModel pmSimpleEntities, it.tidalwave.ui.core.role.PresentationModel pmDciEntities, it.tidalwave.ui.core.role.PresentationModel pmFileEntities)
-
Constructor Details
-
JavaFXMainPanelPresentationDelegate
public JavaFXMainPanelPresentationDelegate()
-
-
Method Details
-
bind
- Specified by:
bind
in interfaceMainPanelPresentation
-
populate
public void populate(@Nonnull it.tidalwave.ui.core.role.PresentationModel pmSimpleEntities, @Nonnull it.tidalwave.ui.core.role.PresentationModel pmDciEntities, @Nonnull it.tidalwave.ui.core.role.PresentationModel pmFileEntities) - Specified by:
populate
in interfaceMainPanelPresentation
-
notify
public void notify(@Nonnull it.tidalwave.ui.core.UserNotificationWithFeedback notification) - Specified by:
notify
in interfaceMainPanelPresentation
-
notify
- Specified by:
notify
in interfaceMainPanelPresentation
-
pickFile
public void pickFile(@Nonnull it.tidalwave.ui.core.BoundProperty<Path> selectedFile, @Nonnull it.tidalwave.ui.core.UserNotificationWithFeedback notification) - Specified by:
pickFile
in interfaceMainPanelPresentation
-
pickDirectory
public void pickDirectory(@Nonnull it.tidalwave.ui.core.BoundProperty<Path> selectedFolder, @Nonnull it.tidalwave.ui.core.UserNotificationWithFeedback notification) - Specified by:
pickDirectory
in interfaceMainPanelPresentation
-