Class DefaultInfoController

java.lang.Object
ch.autumo.ui.fx.controller.BaseController
ch.autumo.ui.fx.controller.DefaultInfoController
All Implemented Interfaces:
javafx.fxml.Initializable
Direct Known Subclasses:
RegistrationController

public class DefaultInfoController extends BaseController implements javafx.fxml.Initializable
Default Info Controller.
  • Constructor Details

    • DefaultInfoController

      public DefaultInfoController(BaseApp app, javafx.stage.Stage stage, DefaultPaneModel model, DefaultInfoView view)
      Controller.
      Parameters:
      app - app
      stage - stage
      model - model
      view - view
  • Method Details

    • init

      public void init(URL location, ResourceBundle resources, double toolBarShift)
      Description copied from class: BaseController
      Delegated initialization. See Initializable.initialize(URL, ResourceBundle).
      Specified by:
      init in class BaseController
      Parameters:
      location - The location used to resolve relative paths for the root object, or null if the location is not known.
      resources - The resources used to localize the root object, or null if the root object was not localized.
      toolBarShift - if the tool bar has been shifted, this value is bigger than zero and can be used to adjust the UI layout.
    • customize

      public void customize(String title, String iconFile, String footerInfoText)
      Customize the default info pane view.
      Parameters:
      title - title
      iconFile - icon file name (a resource in autumo-ui library) or absolute icon file name path to resource
      footerInfoText - footer text or null
    • close

      public void close()
      Close the dialog.
    • getBody

      public javafx.scene.layout.BorderPane getBody()
      Get the body (border pane).
      Returns:
      body
    • getFooter

      public javafx.scene.layout.BorderPane getFooter()
      Get the footer.
      Returns:
      footer
    • getFooterLabel

      public javafx.scene.control.Label getFooterLabel()
      Get the footer information label.
      Returns:
      footer information label
    • getFooterCenter

      public javafx.scene.layout.BorderPane getFooterCenter()
      Get the (usually) empty middle pane of the footer.
      Returns:
      middle footer pane
    • getFooterButtons

      public javafx.scene.layout.BorderPane getFooterButtons()
      Get the pane with all buttons.
      Returns:
      button pane
    • getFooterButton

      public javafx.scene.control.Button getFooterButton()
      Get the standard footer button, usually "Okay".
      Returns:
      standard footer button