Tamu Grade Analyzer
Analyzes the grade distribution of Texas A&M professors
Public Member Functions | Static Public Member Functions | List of all members
DisplayAll Class Reference
Inheritance diagram for DisplayAll:

Public Member Functions

void start (Stage primaryStage)
 
 DisplayAll (DatabaseAPI db)
 
Scene getScene ()
 
Button getGenerateButton ()
 
void showPrimaryStage ()
 
void setGenerate ()
 
void setGrid ()
 
void exit ()
 
void refreshScreen ()
 
void refreshData ()
 

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

This class ties in all of the components from the GradeChart, DisplayData, and DropDownLists class and puts them all onto one grid pane to be displayed in the scene

Constructor & Destructor Documentation

DisplayAll.DisplayAll ( DatabaseAPI  db)

Constructor sets up the grid and creates the stage to be used by another class

Parameters
db

Member Function Documentation

void DisplayAll.exit ( )

Sets the exit procedure for the application (which is the primaryStage of this class.

Scene DisplayAll.getScene ( )

public getter functions

Returns
void DisplayAll.refreshData ( )

Sets up the Gridpane with the update data using the new Database connection

void DisplayAll.refreshScreen ( )

The action event for the generate button. Calls the refreshData function to set up the Gridpane to be used.

void DisplayAll.setGenerate ( )

sets the action event for the generate button

void DisplayAll.setGrid ( )

Sets up the empty scene when it is first opened

I'm not fixing the runtime exception because there doesn't seem to be a way that I can see to fix it. Luckily, it doesn't impact the performance or reliability of the application. Oh well.

void DisplayAll.showPrimaryStage ( )

Public getter for the stage of this class

void DisplayAll.start ( Stage  primaryStage)

Main function for testing

Parameters
primaryStage

The documentation for this class was generated from the following file: