Class PNumberResultsPanel

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

public class PNumberResultsPanel extends PIACustomizablePanel implements PSearchConsumer
Number search results panel.
See Also:
  • Constructor Details

    • PNumberResultsPanel

      public PNumberResultsPanel()
      Creates a number search results panel.
  • Method Details

    • getPreferredSize

      public Dimension getPreferredSize()
      Use this setting to control the preferred size.
      Overrides:
      getPreferredSize in class JComponent
      Parameters:
      return - the default size for this panel
    • addIASelectionListener

      public void addIASelectionListener(PIASelectionListener listener)
      Notify the given listener when the selection changes
      Specified by:
      addIASelectionListener in interface PSearchConsumer
      Parameters:
      listener - The selection listener.
    • removeIASelectionListener

      public void removeIASelectionListener(PIASelectionListener listener)
      Don't notify the given listener when the selection changes
      Specified by:
      removeIASelectionListener in interface PSearchConsumer
      Parameters:
      listener - The selection listener.
    • getSpreadSheet

      public PIASpecSpreadSheet getSpreadSheet()
      Retrieves the results table.
      Specified by:
      getSpreadSheet in interface PSearchConsumer
      Parameters:
      PIASpecSpreadSheet - results table.
    • addStatusListener

      public void addStatusListener(PropertyChangeListener listener)
      Adds a property change listener to the results table.
      Parameters:
      listener - the property change listener to add
    • removeStatusListener

      public void removeStatusListener(PropertyChangeListener listener)
      Removes the property change listener from the results table.
      Parameters:
      listener - the property listener to remove