Class PSettopResultsPanel

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

public class PSettopResultsPanel extends PIACustomizablePanel implements PSearchConsumer
Device Settop results search panel
Version:
%version: 1 % %date_modified: Fri Nov 30 12:44:31 2001 %
Author:
anthony
See Also:
  • Constructor Details

    • PSettopResultsPanel

      public PSettopResultsPanel()
      Create the results panel
  • Method Details

    • getPreferredSize

      public Dimension getPreferredSize()
      Use this setting to control the preferred size.
      Overrides:
      getPreferredSize in class JComponent
      Returns:
      Dimension
    • 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.
    • getSelectedItems

      public PModelHandle[] getSelectedItems()
      Returns:
      the list of selected items in the 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