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 ITAdminThe ITAdminprotected ITAdminUIThe UI for the IT admin roleprotected JButtonThe button to navigate to the manage user pageprotected ManageUserPanelThe 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 voidInitialize actions for various buttons and components in the UI.protected voidInitializes the components for the Java class.protected voidResets 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:EmployeeViewHandlerInitializes the components for the Java class.- Overrides:
initComponentsin classEmployeeViewHandler
-
initActions
protected void initActions()Description copied from class:EmployeeViewHandlerInitialize actions for various buttons and components in the UI.- Overrides:
initActionsin classEmployeeViewHandler
-
resetPanelVisibility
protected void resetPanelVisibility()Description copied from class:EmployeeViewHandlerResets the visibility of various pages on the panel.- Overrides:
resetPanelVisibilityin classEmployeeViewHandler
-