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 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
-
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: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
-