Class UploadMatchPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, StiltsReporter

public class UploadMatchPanel extends JPanel implements StiltsReporter
Panel that allows the user to specify and execute an upload-match operation using the CDS X-Match service.
Author:
Mark Taylor
See Also:
  • Constructor Details

    • UploadMatchPanel

      public UploadMatchPanel(JProgressBar progBar)
      Constructor.
      Parameters:
      progBar - progress bar that this component may use to indicate progress of matches
  • Method Details

    • getStartAction

      public Action getStartAction()
      Returns the action which starts a multiple query operation.
      Returns:
      start action
    • getStopAction

      public Action getStopAction()
      Returns the action which can interrupt a multiple query operation.
      Returns:
      stop action
    • getCoverageModel

      public ToggleButtonModel getCoverageModel()
      Returns a toggle model which controls whether coverage icons are displayed in this panel.
      Returns:
      coverage display model
    • addStiltsListener

      public void addStiltsListener(ActionListener listener)
      Description copied from interface: StiltsReporter
      Adds a listener that will be messaged if the current stilts command might have changed.
      Specified by:
      addStiltsListener in interface StiltsReporter
      Parameters:
      listener - listener to add
    • removeStiltsListener

      public void removeStiltsListener(ActionListener listener)
      Description copied from interface: StiltsReporter
      Removes a listener that may have been previously added.
      Specified by:
      removeStiltsListener in interface StiltsReporter
      Parameters:
      listener - listener to remove
    • createStiltsCommand

      public uk.ac.starlink.ttools.task.StiltsCommand createStiltsCommand(TopcatTableNamer namer)
      Description copied from interface: StiltsReporter
      Returns a stilts command corresponding to current state.
      Specified by:
      createStiltsCommand in interface StiltsReporter
      Parameters:
      namer - table namer
      Returns:
      command, or null if current state does not correspond to one