Class ServiceSearchCriteriaPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.portal.app.cc.servicesearch.ServiceSearchCriteriaPanel
All Implemented Interfaces:
ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class ServiceSearchCriteriaPanel extends JPanel implements ActionListener, ItemListener
Service search criteria panel. This includes buttons like Search, Stop Search, and so on as well.
Author:
mchellam
See Also:
  • Field Details

  • Constructor Details

    • ServiceSearchCriteriaPanel

      public ServiceSearchCriteriaPanel()
      Construtor
      Parameters:
      serviceSearchDialog - ServiceSearchDialog object
      searchResultsPanel - ServiceSearchResultsPanel object.
      searchStatusPanel - ServiceSearchStatusPanel object
      poidBillUnit - bill info poid
  • Method Details

    • setSearchCriteria

      public void setSearchCriteria(ServiceSearchDialog serviceSearchDialog, ServiceSearchResultsPanel searchResultsPanel, ServiceSearchStatusPanel searchStatusPanel, Poid poidBillUnit)
    • init

      protected void init()
      Initializes the panel
    • loadDefaultValues

      protected void loadDefaultValues()
    • getSearchCriteriaPanel

      protected JPanel getSearchCriteriaPanel()
      Returns the search criteria panel.
      Returns:
    • initializeSearchCriterias

      public void initializeSearchCriterias()
    • getButtonPanel

      protected JPanel getButtonPanel()
      Returns the button panel
      Returns:
    • searchOn

      public void searchOn(boolean isOn)
      Utility method to enable/disable various controls during search on/off.
      Parameters:
      isOn -
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Action performed block
      Specified by:
      actionPerformed in interface ActionListener
    • search

      public void search(PModelHandle[] out) throws Exception
      SEARCH opcode calls are done here.
      Parameters:
      out -
      Throws:
      Exception
    • stopSearch

      public void stopSearch()
      Method called when stop search button is clicked.
    • setupSearch

      public boolean setupSearch() throws RemoteException
      Method used to setup the search (i.e building the searching input flist).
      Returns:
      Throws:
      RemoteException
    • itemStateChanged

      public void itemStateChanged(ItemEvent event)
      Item state changed implementation.
      Specified by:
      itemStateChanged in interface ItemListener