Package application.controller
Klasse MainController
java.lang.Object
application.controller.MainController
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungfinal javafx.event.EventHandler<javafx.event.ActionEvent> -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidjavafx.stage.StagegetStage()voidSwitches scenes to the AboutView.voidSwitches scenes to the BirthdayOverview.voidSwitches scenes to the EditBirthdayView.voidgoToEditBirthdayView(Person person) voidvoidSwitches scenes to the BirthdayOverview.voidOpens the preferences Window.voidrestorePopupView(javafx.stage.Stage popupStage, ShortcutLaunchContext shortcutLaunchContext) protected voidsetStyle()protected voidsetStyle(javafx.scene.Scene scene) voidvoidshowShortcutView(javafx.stage.Stage popupStage, ShortcutLaunchContext shortcutLaunchContext) voidstart()Starts the application with the BirthdaysOverview and possibly load a file
-
Felddetails
-
openFileExternal
public final javafx.event.EventHandler<javafx.event.ActionEvent> openFileExternal
-
-
Konstruktordetails
-
MainController
public MainController(javafx.stage.Stage stage) - Parameter:
stage- the main stage for the application
-
-
Methodendetails
-
getActiveController
-
getSessionInfos
- Gibt zurück:
- the session infos for the specific App-Instance
-
getStage
public javafx.stage.Stage getStage()- Gibt zurück:
- the main stage of this app
-
goToBirthdaysOverview
public void goToBirthdaysOverview()Switches scenes to the BirthdayOverview. Generates a new Controller.- Siehe auch:
-
goToEditBirthdayView
public void goToEditBirthdayView()Switches scenes to the EditBirthdayView. Generates a new Controller.- Siehe auch:
-
goToAboutView
public void goToAboutView()Switches scenes to the AboutView. Generates a new Controller.- Siehe auch:
-
goToEditBirthdayView
-
goToSearchView
public void goToSearchView()Switches scenes to the BirthdayOverview. Generates a new Controller.- Siehe auch:
-
openPreferences
public void openPreferences()Opens the preferences Window.- Creates a new
Stage - Create a new
Scene - Create a new
PreferencesViewController
- Creates a new
-
showShortcutView
public void showShortcutView(javafx.stage.Stage popupStage, ShortcutLaunchContext shortcutLaunchContext) -
restorePopupView
public void restorePopupView(javafx.stage.Stage popupStage, ShortcutLaunchContext shortcutLaunchContext) -
setStyle
protected void setStyle(javafx.scene.Scene scene) -
setStyle
protected void setStyle() -
goToLastScene
public void goToLastScene() -
settingsChanged
public void settingsChanged() -
start
public void start()Starts the application with the BirthdaysOverview and possibly load a file -
checkVersionAndAlert
public void checkVersionAndAlert()
-