Package ch.autumo.ui.fx.controller
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
Default Info Controller.
-
Field Summary
Fields inherited from class ch.autumo.ui.fx.controller.BaseController
app, model, stage, view -
Constructor Summary
ConstructorsConstructorDescriptionDefaultInfoController(BaseApp app, javafx.stage.Stage stage, DefaultPaneModel model, DefaultInfoView view) Controller. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the dialog.voidCustomize the default info pane view.javafx.scene.layout.BorderPanegetBody()Get the body (border pane).javafx.scene.layout.BorderPaneGet the footer.javafx.scene.control.ButtonGet the standard footer button, usually "Okay".javafx.scene.layout.BorderPaneGet the pane with all buttons.javafx.scene.layout.BorderPaneGet the (usually) empty middle pane of the footer.javafx.scene.control.LabelGet the footer information label.voidinit(URL location, ResourceBundle resources, double toolBarShift) Delegated initialization.Methods inherited from class ch.autumo.ui.fx.controller.BaseController
disableMacOSMenuDetach, getApp, getMenuBar, getMenuItemClearAllRecent, getMenuRecent, getModel, getStage, getToolBar, getView, initialize, initializeRecentMenu, innerOpen, keyPressed, rebuildRecentListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.fxml.Initializable
initialize
-
Constructor Details
-
DefaultInfoController
public DefaultInfoController(BaseApp app, javafx.stage.Stage stage, DefaultPaneModel model, DefaultInfoView view) Controller.- Parameters:
app- appstage- stagemodel- modelview- view
-
-
Method Details
-
init
Description copied from class:BaseControllerDelegated initialization. SeeInitializable.initialize(URL, ResourceBundle).- Specified by:
initin classBaseController- Parameters:
location- The location used to resolve relative paths for the root object, ornullif the location is not known.resources- The resources used to localize the root object, ornullif 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
Customize the default info pane view.- Parameters:
title- titleiconFile- icon file name (a resource in autumo-ui library) or absolute icon file name path to resourcefooterInfoText- 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
-