Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addCostText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to add aMenuItem
- addItem - Variable in class Controller.InventoryController
-
Button
that will add an item - addItem() - Method in class Controller.InventoryController
-
Adds an item to the inventory database
- addItem(String, double) - Method in class Items.Order
-
Add an item to the order
- addItemButton - Variable in class Controller.EditMenuController
-
Button
that will triggerEditMenuController.addItemClicked(ActionEvent)
- addItemClicked(ActionEvent) - Method in class Controller.EditMenuController
-
If item doesn't exist, it adds it to menu table and adds its recipe to the recipeitem table
- addItemName - Variable in class Controller.InventoryController
-
TextField
that allows user input to add an item - addItemQuant - Variable in class Controller.InventoryController
-
TextField
that allows user input to add an item - addItemsToRecipe(Map<Long, Long>, long) - Method in class Controller.EditMenuController
-
Adds items to the recipe table
- addNameText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to add aMenuItem
- addRecipeText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to add aMenuItem
- addRowOnClick() - Method in class Controller.OrderHistoryController
-
Adds a click event to each
OrderRow
in table to display order details
B
- backspace - Variable in class Controller.LoginController
-
Button
that tiggersLoginController.onBackspace(ActionEvent)
C
- clearTextFields() - Method in class Controller.EditMenuController
-
Reset all text fields that get user input for editing a menu item to null
- clearTextFields() - Method in class Controller.InventoryController
-
Reset all text fields that get user input for editing a menu item to null
- conn - Variable in class Utils.DatabaseConnect
-
Connection
to the server - Controller - package Controller
-
This package holds the Controller for JavaFX
- CONVERTER - Static variable in class Utils.DatabaseUtils
-
StringConverter
ofLocalDate
to format the date - customerName - Variable in class Controller.OrderHistoryController
-
TableColumn
to display customer name - customerName - Variable in class Items.Order
-
String
holding the name of the customer who made the order - customerName - Variable in class Items.OrderRow
-
SimpleObjectProperty
ofString
holding the name of the customer making the order. - customerName - Variable in class Utils.SessionData
-
Name of the customer
- customerNameField - Variable in class Controller.OrderController
-
Text field to input the customer's name
D
- database - Variable in class Controller.EditMenuController
-
Connection to the database
- database - Variable in class Controller.EmployeeController
-
Connection to the database
- database - Variable in class Controller.InventoryController
-
Connection to the database
- database - Variable in class Controller.LoginController
-
Connection to the database
- database - Variable in class Controller.OrderController
-
Connection to the database
- database - Variable in class Controller.OrderHistoryController
-
Connection to the database
- database - Variable in class Utils.SessionData
-
Connection to the database
- DatabaseConnect - Class in Utils
-
This class establishes a connection to the database and performs queries.
Additionally, it will update the Inventory automatically based onOrder
. - DatabaseConnect(String, String, String) - Constructor for class Utils.DatabaseConnect
-
Construct a connection to the database
- databaseInitializer() - Method in class Controller.LoginController
-
Initalize the connection to the database
- DatabaseLoginInfo - Class in Utils
-
Holds information to connect to the database
- DatabaseLoginInfo() - Constructor for class Utils.DatabaseLoginInfo
-
Constructor
- DatabaseNames - Class in Utils
-
Names of all the databases in this project
- DatabaseNames() - Constructor for class Utils.DatabaseNames
-
Constructor
- DatabaseUtils - Class in Utils
-
Utilities for the database.
- DatabaseUtils() - Constructor for class Utils.DatabaseUtils
-
Constructor
- dataTrendsButton - Variable in class Controller.DataTrendsController
-
Button
Button to navigate to the data trends scene - dataTrendsButton - Variable in class Controller.EditMenuController
-
Button
Button to navigate to the data trends scene - dataTrendsButton - Variable in class Controller.EmployeeController
-
Button
Button to navigate to the data trends scene - dataTrendsButton - Variable in class Controller.InventoryController
-
Button
Button to navigate to the data trends scene - dataTrendsButton - Variable in class Controller.OrderController
-
Button
Button to navigate data trends scene - dataTrendsButton - Variable in class Controller.OrderHistoryController
-
Button
Button to navigate to the data trends scene - dataTrendsController - Variable in class Utils.SceneSwitch
-
DataTrendsController
to load the menu editting window - DataTrendsController - Class in Controller
-
This class handles the data trends scene/tab of the GUI
- DataTrendsController(SessionData) - Constructor for class Controller.DataTrendsController
-
Constructor
- date - Variable in class Items.Order
-
LocalDateTime
holding the current date - DATE_FORMAT - Static variable in class Utils.DatabaseUtils
-
DateTimeFormatter
to formatLocalDateTime
- DATE_TIME_FORMAT - Static variable in class Utils.DatabaseUtils
-
DateTimeFormatter
to formatLocalDateTime
- dateCreated - Variable in class Items.ZRow
-
SimpleObjectProperty
ofDate
storing the date the z-row entry was created - dbConnectionString - Variable in class Utils.DatabaseConnect
-
String
that connects to the server - dbConnectionString - Static variable in class Utils.DatabaseLoginInfo
-
This will establish a connection to the dabase
- deleteItem - Variable in class Controller.InventoryController
-
Button
that will delete the item - deleteItem() - Method in class Controller.InventoryController
-
Deletes an item from the database
- deleteItemButton - Variable in class Controller.EditMenuController
-
Button
that will triggerEditMenuController.deleteItemClicked(ActionEvent)
- deleteItemClicked(ActionEvent) - Method in class Controller.EditMenuController
-
Remove item from menu table and recipe item table if it exists
- deleteItemID - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to remove aMenuItem
- deleteItemID - Variable in class Controller.InventoryController
-
TextField
that allows user input to delete an item
E
- editMenuButton - Variable in class Controller.DataTrendsController
-
Button
Button to navigate edit menu scene - editMenuButton - Variable in class Controller.EditMenuController
-
Button
Button to navigate edit menu scene - editMenuButton - Variable in class Controller.EmployeeController
-
Button
Button to navigate edit menu scene - editMenuButton - Variable in class Controller.InventoryController
-
Button
Button to navigate edit menu scene - editMenuButton - Variable in class Controller.OrderController
-
Button
Button to navigate edit menu scene - editMenuButton - Variable in class Controller.OrderHistoryController
-
Button
Button to navigate edit menu scene - editMenuController - Variable in class Utils.SceneSwitch
-
EditMenuController
to load the menu editting window - EditMenuController - Class in Controller
-
Controller for the Edit Menu Screen
- EditMenuController() - Constructor for class Controller.EditMenuController
-
Default constructor to prevent errors
- EditMenuController(SessionData) - Constructor for class Controller.EditMenuController
-
Allows for passing session data from scene to scene
- employee - Variable in class Items.ZRow
-
SimpleObjectProperty
ofString
storing the name of the Employee - EMPLOYEE_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Employee Database
- employeeController - Variable in class Utils.SceneSwitch
-
OrderController
to load the Order window - EmployeeController - Class in Controller
-
Controller for the Employee Screen
- EmployeeController(SessionData) - Constructor for class Controller.EmployeeController
-
Constructor
- employeeId - Variable in class Controller.OrderController
-
ID number of the employee completing the order
- employeeId - Variable in class Items.Order
-
Identification number of the employee who created the order
- employeeId - Variable in class Utils.SessionData
-
Identification number of the employee
- employeeName - Variable in class Controller.EmployeeController
-
TableColumn
displaying the name of all Employees - employeeName - Variable in class Controller.OrderHistoryController
-
TableColumn
to display employee name - employeeName - Variable in class Items.EmployeeRow
-
SimpleObjectProperty
ofString
storing the name of the Employee - employeeName - Variable in class Items.OrderRow
-
SimpleObjectProperty
ofString
holding the name of the employee completing the order - employeePin - Variable in class Controller.EmployeeController
-
TableColumn
displaying the pin number of all Employees - employeePin - Variable in class Items.EmployeeRow
-
SimpleObjectProperty
ofInteger
storing the pin of the Employee - EmployeeRole - Enum Class in Utils
-
Role of the Employee logging in
- EmployeeRole() - Constructor for enum class Utils.EmployeeRole
- EmployeeRow - Class in Items
-
Controller for the Employee List screen.
- EmployeeRow(long, String, EmployeeRole, int) - Constructor for class Items.EmployeeRow
-
Constructor
- employeesButton - Variable in class Controller.DataTrendsController
-
Button
Button to navigate employees scene - employeesButton - Variable in class Controller.EditMenuController
-
Button
Button to navigate employees scene - employeesButton - Variable in class Controller.EmployeeController
-
Button
Button to navigate employees scene - employeesButton - Variable in class Controller.InventoryController
-
Button
Button to navigate employees scene - employeesButton - Variable in class Controller.OrderController
-
Button
Button to navigate employees scene - employeesButton - Variable in class Controller.OrderHistoryController
-
Button
Button to navigate employees scene - employeeTable - Variable in class Controller.EmployeeController
-
TableView
ofEmployeeRow
to display the Employee database - excessReportController - Variable in class Utils.SceneSwitch
-
ExcessReport
to load the excess report window - executeQuery(String) - Method in class Utils.DatabaseConnect
-
Execute a SQL query.
- executeUpdate(String) - Method in class Utils.DatabaseConnect
-
Handles the UPDATE, INSERT, and DELETE SQL query.
G
- getCustomerName() - Method in class Items.Order
-
Gets
Order.customerName
- getDate() - Method in class Items.Order
-
Gets
Order.date
- getDate() - Method in class Items.OrderRow
-
Gets
OrderRow.orderDate
- getDateCreated() - Method in class Items.ZRow
-
Gets the value of
dateCreated
- getEmployee() - Method in class Items.ZRow
-
Gets value in
employee
- getEmployeeId() - Method in class Controller.LoginController
-
Determine the ID of the employee that logged in.
- getEmployeeId() - Method in class Items.Order
-
Gets
Order.employeeId
- getEmployeeName() - Method in class Items.OrderRow
- getEmployeeName(DatabaseConnect, long) - Static method in class Utils.DatabaseUtils
-
Gets the employee name from the database based on the employee ID
- getEmployees() - Method in class Controller.EmployeeController
-
Gets all Employees in the database
- getId() - Method in class Items.InventoryItem
-
Gets
InventoryItem.id
- getId() - Method in class Items.InventoryUsage
-
Gets
InventoryUsage.id
- getId() - Method in class Items.MenuItem
-
Gets
MenuItem.id
- getId() - Method in class Items.RestockReportRow
-
Deprecated.Gets
RestockReportRow.id
- getId() - Method in class Items.SalesReportRow
-
Gets
SalesReportRow.id
- getInventory() - Method in class Controller.InventoryController
-
Helper method to retreive all items from the Inventory.
- getItemCount() - Method in class Items.Order
-
Update GUI to current item count
- getItemCount(String) - Method in class Items.Order
-
Gets the number of an item within
Order.items
- getItems() - Method in class Items.Order
-
Gets
Order.items
- getLastId(DatabaseConnect, String) - Static method in class Utils.DatabaseUtils
-
Returns the last ID in a given table
- getMenuCost(DatabaseConnect, String) - Static method in class Utils.DatabaseUtils
-
Gets the menu cost from the database based on the menu name
- getMenuId(DatabaseConnect, long) - Static method in class Utils.DatabaseUtils
-
Gets the Menu IDs from the database based on the order ID
- getMenuItem1() - Method in class Items.SalesTogetherRow
- getMenuItem2() - Method in class Items.SalesTogetherRow
- getMenuItemCost(long) - Method in class Controller.OrderController
-
Returns the COST of a menu item given its ID
- getMenuItemId(String) - Method in class Controller.OrderController
-
Returns the ID of a menu item given its NAME
- getMenuItemName(long) - Method in class Controller.OrderController
-
Returns the NAME of a menu item given its ID
- getMenuItems() - Method in class Controller.EditMenuController
-
Gets all menu items from the database
- getMenuItems(DatabaseConnect, List<Long>) - Static method in class Utils.DatabaseUtils
-
Gets the menu items from the database based on Menu IDs
- getMenuUse(DatabaseConnect, String, String) - Static method in class Utils.DatabaseUtils
-
Gets the menu items ordered from the start to the end date.
- getName() - Method in class Items.EmployeeRow
-
Gets the
SimpleObjectProperty
ofEmployeeRow.employeeName
- getName() - Method in class Items.InventoryItem
-
Gets
InventoryItem.name
- getName() - Method in class Items.InventoryUsage
-
Gets
InventoryUsage.name
- getName() - Method in class Items.MenuItem
-
Gets
MenuItem.name
- getName() - Method in class Items.OrderRow
- getName() - Method in class Items.RestockReportRow
-
Deprecated.
- getName() - Method in class Items.SalesReportRow
-
Gets
SalesReportRow.name
- getNumSold() - Method in class Items.MenuItem
-
Gets
MenuItem.numSold
- getNumSold() - Method in class Items.SalesReportRow
- getNumSold() - Method in class Items.SalesTogetherRow
- getOrderID() - Method in class Items.Order
-
Gets
Order.orderID
- getOrderID() - Method in class Items.OrderRow
-
Gets
OrderRow.orderID
- getOrderID() - Method in class Items.ZRow
-
Gets value in
orderID
- getOrders() - Method in class Controller.OrderHistoryController
-
Gets the last 20 orders from the database
- getOrderTotal() - Method in class Items.OrderRow
-
Gets
OrderRow.orderTotal
- getPIN() - Method in class Items.EmployeeRow
-
Gets the
SimpleObjectProperty
ofEmployeeRow.employeePin
- getPrice() - Method in class Items.MenuItem
-
Gets
MenuItem.price
- getPrice() - Method in class Items.OrderRow
-
Gets
OrderRow.orderTotal
- getQuantity() - Method in class Items.InventoryItem
- getQuantity() - Method in class Items.InventoryUsage
- getQuantity() - Method in class Items.RestockReportRow
-
Deprecated.
- getRandomID() - Method in class Items.EmployeeRow
-
Gets the
SimpleObjectProperty
ofEmployeeRow.randomID
- getReportID() - Method in class Items.ZRow
-
Gets value in
reportID
- getRole() - Method in class Items.EmployeeRow
-
Gets the
SimpleObjectProperty
ofEmployeeRow.role
- getTotalCost() - Method in class Items.Order
-
Gets
Order.totalCost
- getTotalSales() - Method in class Items.ZRow
-
Gets the value in
totalSales
H
- hasItem(DatabaseConnect, long, String) - Static method in class Utils.DatabaseUtils
-
Check if an item exists with in the database
I
- id - Variable in class Items.InventoryItem
-
SimpleObjectProperty
ofLong
holding the identification number - id - Variable in class Items.InventoryUsage
-
SimpleObjectProperty
ofLong
holding the identification number - id - Variable in class Items.MenuItem
-
SimpleObjectProperty
ofLong
holding the indentification number of the Menu Item - id - Variable in class Items.RestockReportRow
-
Deprecated.
SimpleObjectProperty
ofInteger
holding the identification number of the item. - id - Variable in class Items.SalesReportRow
-
SimpleObjectProperty
ofLong
holding the indentification number of the Menu Item - initialize() - Method in class Controller.EditMenuController
-
Loads menu items onto screen from database.
- initialize() - Method in class Controller.EmployeeController
-
Initialize
- initialize() - Method in class Controller.InventoryController
-
Initialize Graphical User Interface
- initialize() - Method in class Controller.LoginController
-
Inialize the connection to the database.
- initialize() - Method in class Controller.OrderController
-
Set up page.
- initialize() - Method in class Controller.OrderHistoryController
-
Initializes the Order History scene
- initInventoryUse(DatabaseConnect) - Static method in class Utils.DatabaseUtils
-
Initializes inventory useage map.
- insertOrderItem(Order) - Method in class Controller.OrderController
-
Inserts an order into the database
- insertSoldItem(Order) - Method in class Controller.OrderController
-
Inserts each individual menu item in an order into the
solditem
database - INVENTORY_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Inventory Database
- inventoryButton - Variable in class Controller.DataTrendsController
-
Button
Button to navigate inventory scene - inventoryButton - Variable in class Controller.EditMenuController
-
Button
Button to navigate inventory scene - inventoryButton - Variable in class Controller.EmployeeController
-
Button
Button to navigate inventory scene - inventoryButton - Variable in class Controller.InventoryController
-
Button
Button to navigate inventory scene - inventoryButton - Variable in class Controller.OrderController
-
Button
Button to navigate inventory scene - inventoryButton - Variable in class Controller.OrderHistoryController
-
Button
Button to navigate inventory scene - inventoryController - Variable in class Utils.SceneSwitch
-
InventoryController
to load the inventory window - InventoryController - Class in Controller
-
Controller for the Inventory Screen
- InventoryController(SessionData) - Constructor for class Controller.InventoryController
-
Constructor
- inventoryID - Variable in class Controller.InventoryController
-
TableColumn
displaying identificaiton numbers of all inventory items - InventoryItem - Class in Items
-
Internal class representing an item in the inventory
- InventoryItem(long, String, long) - Constructor for class Items.InventoryItem
-
Constructor
- inventoryTable - Variable in class Controller.InventoryController
-
TableView
ofInventoryItem
that will display the entire inventory - InventoryUsage - Class in Items
-
Internal class representing an item in the inventory
- InventoryUsage(long, String, double) - Constructor for class Items.InventoryUsage
-
Constructor
- isManager() - Method in class Utils.SessionData
-
Determine if the user logging in is a manager
- isShowingPin - Variable in class Controller.LoginController
-
Boolean determining if the pin is hidden
- itemName - Variable in class Controller.InventoryController
-
TableColumn
displaying name of all inventory items - items - Variable in class Items.Order
-
Map
holding each item's name as a key and its coresponding quantity as value. - Items - package Items
-
This package contains all the classes that are used to create the items that are displayed in the GUI
L
- location - Variable in class Controller.EmployeeController
-
URL
location of the FXML file that was given to the FXMLLoader - login - Variable in class Controller.LoginController
-
Button
that triggersLoginController.loginButtonClicked(ActionEvent)
- loginButtonClicked(ActionEvent) - Method in class Controller.LoginController
-
Log into the database and switch scenes.
- loginController - Variable in class Utils.SceneSwitch
-
LoginController
to load the Order window - LoginController - Class in Controller
-
Controller for the Login Screen
- LoginController() - Constructor for class Controller.LoginController
-
Constructor
- LoginController(SessionData) - Constructor for class Controller.LoginController
-
Constructor
- loginInitializer() - Method in class Controller.LoginController
-
Retreives
SessionData
of the employee who logged in - LoginTransition(ActionEvent, SessionData) - Method in class Utils.SceneSwitch
-
Loads a the new window bassed on the navigation button pressed.
- logoutButton - Variable in class Controller.DataTrendsController
-
Button
Button to logout - logoutButton - Variable in class Controller.EditMenuController
-
Button
Button to logout - logoutButton - Variable in class Controller.EmployeeController
-
Button
Button to logout - logoutButton - Variable in class Controller.InventoryController
-
Button
Button to logout - logoutButton - Variable in class Controller.OrderController
-
Button
Button to logout - logoutButton - Variable in class Controller.OrderHistoryController
-
Button
Button to logout
M
- main(String[]) - Static method in class Main
-
The classic main function
- main(String[]) - Static method in class OldMain
-
Deprecated.The classic main function
- Main - Class in Unnamed Package
-
This Main Class serves as the entry point for the POS System Application.
- Main() - Constructor for class Main
-
Constructor
- Manager - Enum constant in enum class Utils.EmployeeRole
-
Manager view
- MAX_PIN_LENGTH - Static variable in class Controller.LoginController
-
Max number of digits that PIN can hold
- MENU_ITEM_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Menu Item Database
- menuID - Variable in class Controller.EditMenuController
-
TableColumn
displaying the ID number ofMenuItem
- MenuItem - Class in Items
-
An individual menu item
- MenuItem(long, String, double, long) - Constructor for class Items.MenuItem
-
Constructor
- menuItem1 - Variable in class Items.SalesTogetherRow
-
SimpleObjectProperty
ofString
holding the name of the Menu Item #1 Item - menuItem2 - Variable in class Items.SalesTogetherRow
-
SimpleObjectProperty
ofString
holding the name of the Menu Item #2 - menuItemButtonOnClick(ActionEvent) - Method in class Controller.OrderController
-
Handles the button click event for the menu items
- menuItems - Variable in class Controller.OrderController
-
Map
of the menu items Elements: <id, <name, price>> - menuName - Variable in class Controller.EditMenuController
-
TableColumn
displaying the name of theMenuItem
- menuPane - Variable in class Controller.OrderController
-
FlowPane
FlowPane that holds the menu items - menuPrice - Variable in class Controller.EditMenuController
-
TableColumn
displaying the price of theMenuItem
- menuTable - Variable in class Controller.EditMenuController
-
TableView
ofMenuItem
to display
N
- name - Variable in class Items.InventoryItem
-
SimpleObjectProperty
ofString
holding the name of the item - name - Variable in class Items.InventoryUsage
-
SimpleObjectProperty
ofString
holding the name of the item - name - Variable in class Items.MenuItem
-
SimpleObjectProperty
ofString
holding the name of the Menu Item - name - Variable in class Items.RestockReportRow
-
Deprecated.
SimpleObjectProperty
ofString
holding the name of the item. - name - Variable in class Items.SalesReportRow
-
SimpleObjectProperty
ofString
holding the name of the Menu Item - navButtonClicked(ActionEvent) - Method in class Controller.DataTrendsController
-
Handle switching scenes through the navigation bar
- navButtonClicked(ActionEvent) - Method in class Controller.EditMenuController
-
Handle switching scenes through the navigation bar
- navButtonClicked(ActionEvent) - Method in class Controller.EmployeeController
-
Handles switching scenes
- navButtonClicked(ActionEvent) - Method in class Controller.InventoryController
-
Handles switching to a new scene
- navButtonClicked(ActionEvent) - Method in class Controller.OrderController
-
Handle loading a new window when a navigation button
- navButtonClicked(ActionEvent) - Method in class Controller.OrderHistoryController
-
Navigates to the scene specified by the button clicked
- num0 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num1 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num2 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num3 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num4 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num5 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num6 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num7 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num8 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- num9 - Variable in class Controller.LoginController
-
Button
that triggersLoginController.setPin(ActionEvent)
- numberSold - Variable in class Controller.EditMenuController
-
TableColumn
displaying the quantity ofMenuItem
sold - numSold - Variable in class Items.MenuItem
-
SimpleObjectProperty
ofLong
holding the number of sales for that Menu Item - numSold - Variable in class Items.SalesReportRow
-
SimpleObjectProperty
ofLong
holding the number of sales for that Menu Item - numSold - Variable in class Items.SalesTogetherRow
-
SimpleObjectProperty
ofLong
holding the number of sales for that Menu Item
O
- OldMain - Class in Unnamed Package
-
Deprecated.
- OldMain() - Constructor for class OldMain
-
Deprecated.Constructor
- onBackspace(ActionEvent) - Method in class Controller.LoginController
-
Handles pressing
LoginController.backspace
- onPinBoxTyped(KeyEvent) - Method in class Controller.LoginController
-
Handle typing directly into
LoginController.pinBox
- onShowPin(ActionEvent) - Method in class Controller.LoginController
-
Toggles between showing and hidding the pin
- order - Variable in class Controller.OrderController
-
Order
being completed - order - Variable in class Utils.SessionData
-
Represents the current
Order
being processed - Order - Class in Items
-
This class handles the Order Item.
- Order() - Constructor for class Items.Order
-
Construct an Order
- Order(long) - Constructor for class Items.Order
-
Construct an Order
- Order(long, long) - Constructor for class Items.Order
-
Construct an Order
- ORDER_ITEM_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Order Item Database
- orderBox - Variable in class Controller.OrderController
-
Holds the order item buttons
- orderButton - Variable in class Controller.DataTrendsController
-
Button
Button to navigate order scene - orderButton - Variable in class Controller.EditMenuController
-
Button
Button to navigate order scene - orderButton - Variable in class Controller.EmployeeController
-
Button
Button to navigate order scene - orderButton - Variable in class Controller.InventoryController
-
Button
Button to navigate order scene - orderButton - Variable in class Controller.OrderController
-
Button
Button to navigate order scene - orderButton - Variable in class Controller.OrderHistoryController
-
Button
Button to navigate order scene - orderController - Variable in class Utils.SceneSwitch
-
OrderController
to load the Order window - OrderController - Class in Controller
-
.Controller for the Order Screen
- OrderController(SessionData) - Constructor for class Controller.OrderController
-
Constructor
- orderDate - Variable in class Controller.OrderHistoryController
-
TableColumn
to display order date - orderDate - Variable in class Items.OrderRow
-
SimpleObjectProperty
ofString
holding the date of when the order was made. - orderHistoryButton - Variable in class Controller.DataTrendsController
-
Button
Button to navigate order history scene - orderHistoryButton - Variable in class Controller.EditMenuController
-
Button
Button to navigate order history scene - orderHistoryButton - Variable in class Controller.EmployeeController
-
Button
Button to navigate order history scene - orderHistoryButton - Variable in class Controller.InventoryController
-
Button
Button to navigate order history scene - orderHistoryButton - Variable in class Controller.OrderController
-
Button
Button to navigate order history scene - orderHistoryButton - Variable in class Controller.OrderHistoryController
-
Button
Button to navigate order history scene - orderHistoryController - Variable in class Utils.SceneSwitch
-
OrderHistoryController
to load the order history window - OrderHistoryController - Class in Controller
-
Controller for the Order History Screen
- OrderHistoryController(SessionData) - Constructor for class Controller.OrderHistoryController
-
Constructor for OrderHistoryController
- orderHistoryTable - Variable in class Controller.OrderHistoryController
-
TableView
ofOrderRow
to display order history - orderHistoryTextBox - Variable in class Controller.OrderHistoryController
-
TextArea
to display order details - orderID - Variable in class Controller.OrderHistoryController
-
TableColumn
to display order ID - orderID - Variable in class Items.Order
-
Indentification number of the order
- orderID - Variable in class Items.OrderRow
-
SimpleObjectProperty
ofLong
holding the identification number of the order. - orderID - Variable in class Items.ZRow
-
SimpleObjectProperty
ofLong
storing the order ID - OrderRow - Class in Items
-
Handle displaying the
Order
in the GUI - OrderRow(long, String, String, double, String) - Constructor for class Items.OrderRow
-
Constructor
- orderScrollPane - Variable in class Controller.OrderController
-
ScrollPane
ScrollPane that holds the orderBox - orderTotal - Variable in class Controller.OrderHistoryController
-
TableColumn
to display order total - orderTotal - Variable in class Items.OrderRow
-
SimpleObjectProperty
ofDouble
holding the total price of the order.
P
- parseRecipe(String[]) - Method in class Controller.EditMenuController
- password - Variable in class Utils.DatabaseConnect
-
String
password credentials - password - Static variable in class Utils.DatabaseLoginInfo
-
The password credentials
- pinBox - Variable in class Controller.LoginController
-
TextField
to input the PIN - pinNumber - Variable in class Controller.LoginController
-
Represents current typed PIN
- price - Variable in class Items.MenuItem
-
SimpleObjectProperty
ofDouble
holding the price of the Menu Item
Q
- quantity - Variable in class Items.InventoryItem
-
SimpleObjectProperty
ofLong
holding the quantity of the item - quantity - Variable in class Items.InventoryUsage
-
SimpleObjectProperty
ofString
holding the usage of the item - quantity - Variable in class Items.RestockReportRow
-
Deprecated.
SimpleObjectProperty
ofInteger
holding the quantity of the item. - quantityCol - Variable in class Controller.InventoryController
-
TableColumn
displaying the quantity of all inventory items
R
- randomID - Variable in class Controller.EmployeeController
-
TableColumn
displaying the identification number of all Employees - randomID - Variable in class Items.EmployeeRow
-
SimpleObjectProperty
ofLong
storing the identification number of the Employee - RECIPE_ITEM_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Recipe Item Database
- refreshPage() - Method in class Controller.OrderController
-
Refreshes the front-end
- removeItem(String, double) - Method in class Items.Order
-
Removes an item from the order
- removeItemButtonOnClick(ActionEvent) - Method in class Controller.OrderController
-
Remove an item from the
Order
when the dynamically createdButton
is pressed - removeItemsFromRecipe(long) - Method in class Controller.EditMenuController
-
Remove all recipe items from the recipe table that have a specified menu ID number
- reportButtonClicked(ActionEvent) - Method in class Controller.DataTrendsController
-
Handle switching scenes through the report query window
- reportID - Variable in class Items.ZRow
-
SimpleObjectProperty
ofLong
storing the identification number of the Z-row table - resources - Variable in class Controller.EmployeeController
-
ResourceBundle
the was given to the FXMLLoader - restockReportController - Variable in class Utils.SceneSwitch
-
RestockReport
to load the restock report window - RestockReportRow - Class in Items
-
Deprecated.
- RestockReportRow(int, String, int) - Constructor for class Items.RestockReportRow
-
Deprecated.Constructor
- role - Variable in class Controller.EmployeeController
-
TableColumn
displaying the roles of all Employees - role - Variable in class Items.EmployeeRow
-
SimpleObjectProperty
ofString
storing the role of the Employee
S
- salesReportButton - Variable in class Controller.DataTrendsController
-
Button
to switch toSalesReport
- salesReportController - Variable in class Utils.SceneSwitch
-
SalesReport
to load the sales report window - SalesReportRow - Class in Items
-
An individual menu item
- SalesReportRow(long, String, long) - Constructor for class Items.SalesReportRow
-
Constructor
- salesTogetherReportController - Variable in class Utils.SceneSwitch
-
SalesTogetherReport
to load the sales together report window - SalesTogetherRow - Class in Items
-
Entry for the Sales Together Report
- SalesTogetherRow(String, String, long) - Constructor for class Items.SalesTogetherRow
-
Constructor
- sceneSwitch - Variable in class Controller.DataTrendsController
-
Switches between scenes or tabs
- sceneSwitch - Variable in class Controller.EditMenuController
-
Switches between scenes or tabs
- sceneSwitch - Variable in class Controller.EmployeeController
-
Switches between scenes or tabs
- sceneSwitch - Variable in class Controller.InventoryController
-
Switches between scenes or tabs
- sceneSwitch - Variable in class Controller.LoginController
-
Switches between scenes or tabs
- sceneSwitch - Variable in class Controller.OrderController
-
Switches between scenes or tabs
- sceneSwitch - Variable in class Controller.OrderHistoryController
-
Switches between scenes or tabs
- SceneSwitch - Class in Utils
-
The class handles switching scenes when the Navigation buttons are pressed.
- SceneSwitch(SessionData) - Constructor for class Utils.SceneSwitch
-
Constructor
- Server - Enum constant in enum class Utils.EmployeeRole
-
Server view
- session - Variable in class Controller.DataTrendsController
-
Current session data
- session - Variable in class Controller.EditMenuController
-
Current session data
- session - Variable in class Controller.EmployeeController
-
Current session data
- session - Variable in class Controller.InventoryController
-
Current session data
- session - Variable in class Controller.LoginController
-
Current session data
- session - Variable in class Controller.OrderController
-
Current session data
- session - Variable in class Controller.OrderHistoryController
-
Current session data
- session - Variable in class Utils.SceneSwitch
-
SessionData
to pass information between the various scenes - SessionData - Class in Utils
-
Bundle of Information that gets passed between scenes
- SessionData(DatabaseConnect, long, Order) - Constructor for class Utils.SessionData
-
Constructor
- SessionData(DatabaseConnect, long, Order, String) - Constructor for class Utils.SessionData
-
Constructor
- setCustomerName(String) - Method in class Items.Order
-
Sets
Order.customerName
- setOrderId(long) - Method in class Items.Order
-
Sets
Order.orderID
- setPin(ActionEvent) - Method in class Controller.LoginController
-
Sets the
LoginController.pinNumber
when a pin inputButton
is pressed - setUpDatabase() - Method in class Utils.DatabaseConnect
-
Initialize
DatabaseConnect.conn
and established a connection to the database. - setUpTable() - Method in class Controller.EditMenuController
-
Initialized the columns for
EditMenuController.menuTable
- setUpTable() - Method in class Controller.EmployeeController
-
Set up columns in the
EmployeeController.employeeTable
- setUpTable() - Method in class Controller.InventoryController
-
Initializes
InventoryController.inventoryTable
- setUpTable() - Method in class Controller.OrderHistoryController
-
Sets up the table to display order history
- showPin - Variable in class Controller.LoginController
-
ToggleButton
that triggersLoginController.onShowPin(ActionEvent)
- SOLD_ITEM_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Sold Item Database
- start(Stage) - Method in class Main
-
Load the graphical user interface
- start(Stage) - Method in class OldMain
-
Deprecated.Load the graphical user interface
- submitOrderButton - Variable in class Controller.OrderController
-
Button to submit the order
- submitOrderOnClick() - Method in class Controller.OrderController
-
Handles the buttom click event for the submit order button.
- switchReportScene(ActionEvent) - Method in class Utils.SceneSwitch
-
Switch to the Report Window
- switchScene(ActionEvent) - Method in class Utils.SceneSwitch
-
Loads a new Controller based on which navigation button was pressed
T
- totalCost - Variable in class Items.Order
-
Total cost of the order
- totalCostLabel - Variable in class Controller.OrderController
-
Shows total cost of the order
- totalSales - Variable in class Items.ZRow
-
SimpleObjectProperty
ofString
storing the total sales for that day
U
- updateCostText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to update aMenuItem
- updateIDText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to update aMenuItem
- updateInventory() - Method in class Controller.InventoryController
-
Updates the actual database through the
InventoryController.database
- updateInventory(Order) - Method in class Controller.OrderController
-
Update the inventory count based on an
Order
- updateItem - Variable in class Controller.InventoryController
-
Button
update inventory button. - updateItemButton - Variable in class Controller.EditMenuController
-
Button
that will triggerEditMenuController.updateItemClicked(ActionEvent)
- updateItemClicked(ActionEvent) - Method in class Controller.EditMenuController
-
Update existing item in the menuitem table.
- updateItemID - Variable in class Controller.InventoryController
-
TextField
to allow managers to update stock through the item's name - updateItemQuant - Variable in class Controller.InventoryController
-
TextField
to allow managers to update stock - updateMenuItem(Order) - Method in class Controller.OrderController
-
Updates the
menuitem
database based on anOrder
- updateNameText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to update aMenuItem
- updatePin() - Method in class Controller.LoginController
-
Update the
LoginController.pinBox
- updateRecipeText - Variable in class Controller.EditMenuController
-
TextField
to allow for user input to update aMenuItem
- updateTable() - Method in class Controller.EditMenuController
-
Updates
EditMenuController.menuTable
in the Graphical User Interface - updateTable() - Method in class Controller.EmployeeController
-
Update
EmployeeController.employeeTable
in the Graphical User Interface - updateTable() - Method in class Controller.InventoryController
-
Updates the
InventoryController.inventoryTable
in the Graphical User Interface - updateTable() - Method in class Controller.OrderHistoryController
-
Update the
OrderHistoryController.orderHistoryTable
- username - Variable in class Utils.DatabaseConnect
-
String
user name credentials - username - Static variable in class Utils.DatabaseLoginInfo
-
The user name credentials
- Utils - package Utils
-
This package holds the Utils for JavaFX
V
- valueOf(String) - Static method in enum class Utils.EmployeeRole
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class Utils.EmployeeRole
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- xzReportController - Variable in class Utils.SceneSwitch
-
XZReport
to load the XZ report window
Z
- ZREPORT_DATABASE - Static variable in class Utils.DatabaseNames
-
The name of the Z Report Database
- ZRow - Class in Items
-
Controller for the Z Row List screen.
- ZRow(Long, String, String, Long, Date) - Constructor for class Items.ZRow
-
Constructor
All Classes and Interfaces|All Packages|Constant Field Values