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 TypeMethodDescriptionvoid
close()
Close the dialog.void
Customize the default info pane view.javafx.scene.layout.BorderPane
getBody()
Get the body (border pane).javafx.scene.layout.BorderPane
Get the footer.javafx.scene.control.Button
Get the standard footer button, usually "Okay".javafx.scene.layout.BorderPane
Get the pane with all buttons.javafx.scene.layout.BorderPane
Get the (usually) empty middle pane of the footer.javafx.scene.control.Label
Get the footer information label.void
init
(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, rebuildRecentList
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:BaseController
Delegated initialization. SeeInitializable.initialize(URL, ResourceBundle)
.- Specified by:
init
in classBaseController
- Parameters:
location
- The location used to resolve relative paths for the root object, ornull
if the location is not known.resources
- The resources used to localize the root object, ornull
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
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
-