Package ui.payroll

Class PayrollAdminUI

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, DynamicComponents

public class PayrollAdminUI extends JFrame implements DynamicComponents
Represents the main user interface for the payroll admin. This UI provides access to various features such as viewing profiles, attendance, payslips, leave management, running payroll, and generating reports. The UI includes panels for each feature and buttons to navigate between them.

Available methods: - getMyProfilePage_Comp() Returns the My Profile panel component. - getAttendancePage_Comp() Returns the Attendance panel component. - getPayslipPage_Comp() Returns the Payslip panel component. - getLeavePage_Comp() Returns the Leave panel component. - getMyProfileBTN_Comp() Returns the button for accessing My Profile. - getAttendanceBTN_Comp() Returns the button for accessing Attendance. - getLeaveBTN_Comp() Returns the button for accessing Leave. - getPayslipBTN_Comp() Returns the button for accessing Payslip. - getPayrollPanel() Returns the Run Payroll panel component. - getReportPanel() Returns the Payroll Report panel component. - getLogoutBtn() Returns the button for logging out. - getPayrollReportBTN() Returns the button for accessing Payroll Reports. - getRunPayrollBTN() Returns the button for running payroll.

See Also:
  • Constructor Details

    • PayrollAdminUI

      public PayrollAdminUI()
      Creates new form PayrollAdminUI
  • Method Details

    • getMyProfilePage_Comp

      public MyProfilePanel getMyProfilePage_Comp()
      Retrieves the MyProfilePanel component.
      Specified by:
      getMyProfilePage_Comp in interface DynamicComponents
      Returns:
      The MyProfilePanel component.
    • getAttendancePage_Comp

      public AttendancePanel getAttendancePage_Comp()
      Retrieves the AttendancePanel component.
      Specified by:
      getAttendancePage_Comp in interface DynamicComponents
      Returns:
      The AttendancePanel component.
    • getPayslipPage_Comp

      public MyPayslipPanel getPayslipPage_Comp()
      Retrieves the MyPayslipPanel component.
      Specified by:
      getPayslipPage_Comp in interface DynamicComponents
      Returns:
      The MyPayslipPanel component.
    • getLeavePage_Comp

      public LeavePanel getLeavePage_Comp()
      Retrieves the LeavePanel component.
      Specified by:
      getLeavePage_Comp in interface DynamicComponents
      Returns:
      The LeavePanel component.
    • getMyProfileBTN_Comp

      public JButton getMyProfileBTN_Comp()
      Retrieves the button for navigating to the MyProfilePanel.
      Specified by:
      getMyProfileBTN_Comp in interface DynamicComponents
      Returns:
      The MyProfile button component.
    • getAttendanceBTN_Comp

      public JButton getAttendanceBTN_Comp()
      Retrieves the button for navigating to the AttendancePanel.
      Specified by:
      getAttendanceBTN_Comp in interface DynamicComponents
      Returns:
      The Attendance button component.
    • getLeaveBTN_Comp

      public JButton getLeaveBTN_Comp()
      Retrieves the button for navigating to the LeavePanel.
      Specified by:
      getLeaveBTN_Comp in interface DynamicComponents
      Returns:
      The Leave button component.
    • getPayslipBTN_Comp

      public JButton getPayslipBTN_Comp()
      Retrieves the button for navigating to the MyPayslipPanel.
      Specified by:
      getPayslipBTN_Comp in interface DynamicComponents
      Returns:
      The Payslip button component.
    • getPayrollPanel

      public BatchPayrollPanel getPayrollPanel()
      Retrieves the RunPayrollPanel component.
      Returns:
      The RunPayrollPanel component.
    • getManualPayrollPanel

      public ManualPayrollPanel getManualPayrollPanel()
      Retrieves the ManualPayrollPanel component.
      Returns:
      The ManualPayrollPanel component.
    • getReportPanel

      public PayrollReportPanel getReportPanel()
      Retrieves the PayrollReportPanel component.
      Returns:
      The PayrollReportPanel component.
    • getLogoutBtn

      public JButton getLogoutBtn()
      Retrieves the button for logging out.
      Returns:
      The logout button component.
    • getPayrollReportBTN

      public JButton getPayrollReportBTN()
      Retrieves the button for navigating to the payroll report.
      Returns:
      The payroll report button component.
    • getRunPayrollBTN

      public JButton getRunPayrollBTN()
      Retrieves the button for navigating to the run payroll panel.
      Returns:
      The run payroll button component.