Class JavaFXMainPanelPresentationDelegate

java.lang.Object
it.tidalwave.ui.example.presentation.impl.javafx.JavaFXMainPanelPresentationDelegate
All Implemented Interfaces:
MainPanelPresentation

public class JavaFXMainPanelPresentationDelegate extends Object implements 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
  • Constructor Details

    • JavaFXMainPanelPresentationDelegate

      public JavaFXMainPanelPresentationDelegate()
  • Method Details

    • bind

      public void bind(@Nonnull MainPanelPresentation.Bindings bindings)
      Specified by:
      bind in interface MainPanelPresentation
    • 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 interface MainPanelPresentation
    • notify

      public void notify(@Nonnull it.tidalwave.ui.core.UserNotificationWithFeedback notification)
      Specified by:
      notify in interface MainPanelPresentation
    • notify

      public void notify(@Nonnull String message)
      Specified by:
      notify in interface MainPanelPresentation
    • pickFile

      public void pickFile(@Nonnull it.tidalwave.ui.core.BoundProperty<Path> selectedFile, @Nonnull it.tidalwave.ui.core.UserNotificationWithFeedback notification)
      Specified by:
      pickFile in interface MainPanelPresentation
    • pickDirectory

      public void pickDirectory(@Nonnull it.tidalwave.ui.core.BoundProperty<Path> selectedFolder, @Nonnull it.tidalwave.ui.core.UserNotificationWithFeedback notification)
      Specified by:
      pickDirectory in interface MainPanelPresentation