Class PServiceLevelPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class PServiceLevelPanel extends JPanel implements ActionListener
Initializes the service level panel showing the service dropdown containing the subscription and stand-alone services. This panel appears when the monitor type is Service Level.
Author:
Chethana Eswarappa
See Also:
  • Field Details

  • Constructor Details

    • PServiceLevelPanel

      public PServiceLevelPanel(PBalanceMonitor monitor, int mode)
  • Method Details

    • setParentDialog

      public void setParentDialog(JDialog parentDlg)
      Sets the parent dialog.
      Parameters:
      parentDlg - JDialog (PBalanceMonitorDialog)
    • serviceCountCheck

      public boolean serviceCountCheck()
      This method counts the services of the selected bill unit.
      Returns:
      true if threshold exceeds false otherwise
    • hasServices

      public boolean hasServices()
      Returns true if the account has services else returns false
      Returns:
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      actionPerformed method for listening to btnServiceSearch clicks.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      event - ActionEvent