Klasse MainController

java.lang.Object
application.controller.MainController

public class MainController extends Object
Siehe auch:
  • 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

      public Controller getActiveController()
    • getSessionInfos

      public SessionInfos 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.
    • 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()