Class PNCPanel

All Implemented Interfaces:
BalanceImpactListener, PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ActionListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener

New Panel Class which deals with Non Currency Resources Display at Balance Page
Author:
Smruti
See Also:
  • Field Details

    • lnkOtherServices

      protected PCCLink lnkOtherServices
    • btnServiceSearch

      protected JButton btnServiceSearch
    • dlgServiceSearch

      protected ServiceSearchDialog dlgServiceSearch
    • lblThresholdExceeded

      protected JLabel lblThresholdExceeded
  • Constructor Details

    • PNCPanel

      public PNCPanel()
      Constructor which Creates a new Non Currency Display Panel
  • Method Details

    • balanceImpact

      public void balanceImpact(BalanceImpactEvent e)
      listen to balanceImpact event
      Specified by:
      balanceImpact in interface BalanceImpactListener
      Parameters:
      e - a BalanceImpactEvent encapsulating the event information
    • addNotify

      public void addNotify()
      Overridden to add balanceImpact Listener
      Overrides:
      addNotify in class JComponent
    • removeNotify

      public void removeNotify()
      Overridden to remove balanceImpact Listener
      Overrides:
      removeNotify in class JComponent
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Action Handler method
      Specified by:
      actionPerformed in interface ActionListener
    • initData

      public void initData(PModelHandle services)
      Method to initialize the data, this will be called after the Search.
      Parameters:
      services -
    • serviceCountCheck

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

      public Poid getSelectedService()
    • cleanup

      public void cleanup()
      Method which clears the Collection Objects used and ComboBox Model
    • intiData

      public void intiData()
      Initialization Method
    • specialTreatmentForAccountBG

      public void specialTreatmentForAccountBG()
    • intiData

      public void intiData(FList billinfo)
      Initialization Method
    • disposeAllResources

      public void disposeAllResources()
    • refresh

      public void refresh(com.portal.app.cc.PNCData data)
      Refresh Method which repaints display
    • getServicePoid

      public Poid getServicePoid(Poid bgPoid)
      Method which gives Service Information
      Parameters:
      bgPoid - which represents BalanceGroup Poid
      Returns:
      Poid type representing service
    • addResourceSelectionListener

      public void addResourceSelectionListener(ResourceListener rl)
      put your documentation comment here
      Parameters:
      rl -
    • removeResourceSelectionListener

      public void removeResourceSelectionListener(ResourceListener rl)
      put your documentation comment here
      Parameters:
      rl -
    • clearSelection

      public void clearSelection()
      put your documentation comment here
    • informSorterOfModelChange

      public static void informSorterOfModelChange(PFCTable table)
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      put your documentation comment here
      Specified by:
      valueChanged in interface ListSelectionListener
      Parameters:
      e -