java.lang.Object
edu.ntnu.stud.idatt1005.team3.view.pages.HomePage

public class HomePage extends Object
The home page of the application. The home page is the first page the user sees when opening the application. It contains buttons for navigating to the different parts of the application.
  • Constructor Details

  • Method Details

    • getRoot

      public javafx.scene.layout.StackPane getRoot()
      Creates a scene for the home page.
      Returns:
      The scene for the home page.
    • createScene

      public javafx.scene.Scene createScene()
      Creates a scene for the home page.
      Returns:
      Returns the scene for the home page.
    • getHomeElements

      public javafx.scene.layout.VBox getHomeElements(SceneController sceneController) throws FileNotFoundException
      Creates the elements of the home page.
      Parameters:
      sceneController - The scene controller controlling the switching between scenes.
      Returns:
      Returns the elements of the home page.
      Throws:
      FileNotFoundException - If the stylesheet file is not found.