Package Controllers

Class ReportsController

java.lang.Object
Controllers.ReportsController
All Implemented Interfaces:
javafx.fxml.Initializable

public class ReportsController extends Object implements javafx.fxml.Initializable
Controller class for the Main.fmxl form. Implements Initializable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleASelect(javafx.event.ActionEvent actionEvent)
    Handles the combo box logix for selecting a report A
    void
    handleContactSelect(javafx.event.ActionEvent actionEvent)
    Handles the combo box logix for selecting a Contact
    void
    handleCountrySelect(javafx.event.ActionEvent actionEvent)
    Handles the combo box logix for selecting a country
    void
    handleDivisionSelect(javafx.event.ActionEvent actionEvent)
    Handles the combo box logix for selecting a division
    void
    handleReturn(javafx.event.ActionEvent actionEvent)
    Sends the user to the Main Screen
    void
    initialize(URL url, ResourceBundle resourceBundle)
    Initializes the FXML Screen
    void
    Function that correctly maps all the labels to the correct language
    void
    Function that correctly maps all the tables with te correct ObservableLists
    void
    openPage(javafx.event.ActionEvent actionEvent, String form)
    Utility function that is used to switch between pages
    void
    Function for updating the table and label for report A
    void
    Function for updating the table and label for report B
    void
    Function for updating the table and label for report C

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReportsController

      public ReportsController()
  • Method Details

    • updateA

      public void updateA()
      Function for updating the table and label for report A
    • updateB

      public void updateB()
      Function for updating the table and label for report B
    • updateC

      public void updateC()
      Function for updating the table and label for report C
    • handleReturn

      public void handleReturn(javafx.event.ActionEvent actionEvent) throws IOException
      Sends the user to the Main Screen
      Parameters:
      actionEvent - JavaFX action event
      Throws:
      IOException
    • handleASelect

      public void handleASelect(javafx.event.ActionEvent actionEvent)
      Handles the combo box logix for selecting a report A
    • handleContactSelect

      public void handleContactSelect(javafx.event.ActionEvent actionEvent)
      Handles the combo box logix for selecting a Contact
    • handleDivisionSelect

      public void handleDivisionSelect(javafx.event.ActionEvent actionEvent)
      Handles the combo box logix for selecting a division
    • handleCountrySelect

      public void handleCountrySelect(javafx.event.ActionEvent actionEvent)
      Handles the combo box logix for selecting a country
    • mapLabels

      public void mapLabels()
      Function that correctly maps all the labels to the correct language
    • mapTables

      public void mapTables()
      Function that correctly maps all the tables with te correct ObservableLists
    • initialize

      public void initialize(URL url, ResourceBundle resourceBundle)
      Initializes the FXML Screen
      Specified by:
      initialize in interface javafx.fxml.Initializable
      Parameters:
      url - parameter for the FXML Screen
      resourceBundle - parameter for the FXML Screen
    • openPage

      public void openPage(javafx.event.ActionEvent actionEvent, String form) throws IOException
      Utility function that is used to switch between pages
      Parameters:
      actionEvent - JavaFX action event
      Throws:
      IOException