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(int indexPerson) Switches scenes to the BirthdayOverview.voidvoidSwitches scenes to the BirthdayOverview.voidOpens the preferences Window.protected voidsetStyle()protected voidsetStyle(javafx.scene.Scene scene) voidvoidstart()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
public void goToEditBirthdayView(int indexPerson) Switches scenes to the BirthdayOverview. Generates a new Controller.- Parameter:
indexPerson- The index of the person to edit.- Siehe auch:
-
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
-
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()
-