Class MainController
java.lang.Object
app.controller.MainController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.scene.layout.StackPaneprivate Employeeprivate javafx.scene.control.Labelprivate javafx.scene.layout.VBox -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidvoidsetCurrentEmployee(Employee employee) private voidprivate voidprivate void
-
Field Details
-
sidebar
private javafx.scene.layout.VBox sidebar -
contentArea
private javafx.scene.layout.StackPane contentArea -
employeeLabel
private javafx.scene.control.Label employeeLabel -
currentEmployee
-
-
Constructor Details
-
MainController
public MainController()
-
-
Method Details
-
initialize
- Throws:
IOException
-
showCashier
- Throws:
IOException
-
showManager
- Throws:
IOException
-
loadView
- Throws:
IOException
-
toggleSidebar
private void toggleSidebar() -
setCurrentEmployee
-
handleLogout
- Throws:
IOException
-