java.lang.Object
user.actions.EmployeeViewHandler
user.actions.ITAdminViewHandler
Handles the actions and UI interactions for the IT Admin role.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ITAdmin
The ITAdminprotected ITAdminUI
The UI for the IT admin roleprotected JButton
The button to navigate to the manage user pageprotected ManageUserPanel
The page for managing userFields inherited from class user.actions.EmployeeViewHandler
attendanceBTN, attendancePage, dateRenderer, dynamicComponents, employee, isAttendanceColumnsRemoved, isLeaveHistoryColumnsRemoved, leaveBTN, leavePage, myProfileBTN, myProfilePage, payslipBTN, payslipPage
-
Constructor Summary
ConstructorsConstructorDescriptionITAdminViewHandler
(ITAdmin itAdmin, ITAdminUI itAdminUI) Constructs an instance of ITAdminViewHandler -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initialize actions for various buttons and components in the UI.protected void
Initializes the components for the Java class.protected void
Resets the visibility of various pages on the panel.Methods inherited from class user.actions.EmployeeViewHandler
displayAttendanceRecord, displayLeaveHistory, displayPayslip, showLeavePage, showMyProfilePage
-
Field Details
-
itAdmin
The ITAdmin -
itAdminUI
The UI for the IT admin role -
manageUserPage
The page for managing user -
manageUserBTN
The button to navigate to the manage user page
-
-
Constructor Details
-
ITAdminViewHandler
Constructs an instance of ITAdminViewHandler- Parameters:
itAdmin
- ITAdminitAdminUI
- ITAdminUI
-
-
Method Details
-
initComponents
protected void initComponents()Description copied from class:EmployeeViewHandler
Initializes the components for the Java class.- Overrides:
initComponents
in classEmployeeViewHandler
-
initActions
protected void initActions()Description copied from class:EmployeeViewHandler
Initialize actions for various buttons and components in the UI.- Overrides:
initActions
in classEmployeeViewHandler
-
resetPanelVisibility
protected void resetPanelVisibility()Description copied from class:EmployeeViewHandler
Resets the visibility of various pages on the panel.- Overrides:
resetPanelVisibility
in classEmployeeViewHandler
-