java.lang.Object
user.actions.EmployeeViewHandler
user.actions.PayrollAdminViewHandler
Handles the actions and UI interactions for the PayrollAdmin role.
-
Field Summary
Fields inherited from class user.actions.EmployeeViewHandler
attendanceBTN, attendancePage, dateRenderer, dynamicComponents, employee, isAttendanceColumnsRemoved, isLeaveHistoryColumnsRemoved, leaveBTN, leavePage, myProfileBTN, myProfilePage, payslipBTN, payslipPage
-
Constructor Summary
ConstructorsConstructorDescriptionPayrollAdminViewHandler
(PayrollAdmin payrollAdmin, PayrollAdminUI payrollAdminUI) Creates a new PayrollAdminViewHandler instance. -
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
-
Constructor Details
-
PayrollAdminViewHandler
Creates a new PayrollAdminViewHandler instance.- Parameters:
payrollAdmin
- the PayrollAdmin instancepayrollAdminUI
- the PayrollAdminUI instance
-
-
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
-