Class NavigationController

java.lang.Object
csce331.group13.project2.ui.NavigationController

public class NavigationController extends Object
Singleton controller class that handles navigation between different views in the application. Manages the switching between various screens including orders, inventory, menu, employees, cart, and reports.
Author:
Hussam Makhoul
  • Constructor Details

    • NavigationController

      public NavigationController()
  • Method Details

    • getInstance

      public static NavigationController getInstance()
      Returns the singleton instance of the NavigationController.
      Returns:
      The single NavigationController instance.
    • setPrimaryStage

      public void setPrimaryStage(javafx.stage.Stage stage)
      Sets the primary stage for navigation
      Parameters:
      stage - The primary stage of the application