Class PSearchButtonPanel

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

public class PSearchButtonPanel extends PIACustomizablePanel implements ActionListener, PropertyChangeListener
Hosts the panel that contains the search, close, reset buttons. Also provides flexibility to control the proportion of layouts between a search entry panel and search results panel.
See Also:
  • Constructor Details

  • Method Details

    • getSearchButtonPanel

      public JPanel getSearchButtonPanel()
    • addNotify

      public void addNotify()
      Overrides:
      addNotify in class JComponent
    • addHelpListeners

      public void addHelpListeners()
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Specified by:
      actionPerformed in interface ActionListener
    • closeDialog

      public void closeDialog()
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Property that is used to enable or disable the search buttons.
      Specified by:
      propertyChange in interface PropertyChangeListener
    • enableButtons

      public void enableButtons(boolean stopState, boolean searchState, boolean resetState)
    • setSearchBasePanel

      public void setSearchBasePanel(PSearchBasePanel p)
    • setStatusPanel

      public void setStatusPanel(JPanel p)
    • setSearchSelectionPanel

      public void setSearchSelectionPanel(JPanel p)
    • setVisibleButtons

      public void setVisibleButtons(boolean resetState, boolean stopState, boolean searchState, boolean closeState)
      setVisibleButtons this will set the buttons visibility
      Parameters:
      resetState - boolean
      stopState - boolean
      searchState - boolean
      closeState - boolean
    • getHelpButton

      public JButton getHelpButton()