Package ui.payroll

Class BatchPayrollPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class BatchPayrollPanel extends JPanel
Represents a panel for running payroll. Users can submit and process payroll data, and search for specific entries. The panel includes a table to display payroll information such as employee ID, rates, hours worked, allowances, deductions, gross, and net pay.

Available methods: - getPayrollTableModel() Returns the table model for the payroll data. - getPayrollTable() Returns the table displaying the payroll data. - getProcessBTN() Returns the button for processing payroll. - getSearchBTN() Returns the button for searching within the payroll data. - getSearchField() Returns the text field for entering search queries. - getSubmitBTN() Returns the button for submitting payroll data. - getPeriodType() Returns the combo box for selecting the period type. - getPayrollTableSorter() Returns the sorter for the payroll table.

See Also:
  • Constructor Details

    • BatchPayrollPanel

      public BatchPayrollPanel()
      Creates new form runPayrollPanel
  • Method Details

    • getPeriodType

      public JComboBox<String> getPeriodType()
      Retrieves the combo box for selecting the period type.
      Returns:
      The period type combo box component.
    • getSubmitBTN

      public JButton getSubmitBTN()
      Retrieves the button for submitting payroll data.
      Returns:
      The submit button component.
    • getProcessBTN

      public JButton getProcessBTN()
      Retrieves the button for processing payroll.
      Returns:
      The process button component.
    • getPayrollTable

      public JTable getPayrollTable()
      Retrieves the table displaying payroll data.
      Returns:
      The payroll table component.
    • getSearchBTN

      public JButton getSearchBTN()
      Retrieves the button for searching payroll data.
      Returns:
      The search button component.
    • getSearchField

      public JTextField getSearchField()
      Retrieves the text field for entering search queries.
      Returns:
      The search field component.
    • getPayrollTableModel

      public DefaultTableModel getPayrollTableModel()
      Retrieves the table model for payroll data.
      Returns:
      The payroll table model.
    • getPayrollTableSorter

      public TableRowSorter<DefaultTableModel> getPayrollTableSorter()
      Retrieves the sorter for the payroll table.
      Returns:
      The payroll table sorter.
    • getManualBTN

      public JButton getManualBTN()
      Retrieves the button for manually inputting payroll data.
      Returns:
      The manual button component.