Class CdsTableSelector

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class CdsTableSelector extends JPanel
Component that allows the user to select table names for use with the CDS X-Match service.

Currently rather basic.

Since:
15 May 2014
Author:
Mark Taylor
See Also:
  • Constructor Details

    • CdsTableSelector

      public CdsTableSelector()
      Constructor.
  • Method Details

    • getTableName

      public String getTableName()
      Returns the human-readable name of a selected table.
      Returns:
      currently selected table name
    • getCanonicalTableName

      public String getCanonicalTableName()
      Attempts to return the non-alias name of the selected table. If not available, the selected (possibly alias) table name will be returned instead.
      Returns:
      vizier name of selected table
    • getCoverage

      public uk.ac.starlink.ttools.cone.MocCoverage getCoverage()
      Returns the coverage object for the currently selected table, if available.
      Returns:
      coverage for current table
    • getNameSelector

      public JComboBox<String> getNameSelector()
      Returns the component which the user interacts with to select the CDS table.
      Returns:
      name selector
    • setEnabled

      public void setEnabled(boolean isEnabled)
      Overrides:
      setEnabled in class JComponent
    • getMetadataDownloader

      public uk.ac.starlink.util.gui.Downloader<uk.ac.starlink.ttools.cone.CdsUploadMatcher.VizierMeta> getMetadataDownloader()
      Returns the object that manages metadata downloads for the currently-selected table.
      Returns:
      metadata downloader; this will not change over the lifetime of this object