Class CategoryVizierMode

  • All Implemented Interfaces:
    VizierMode

    public class CategoryVizierMode
    extends SearchVizierMode
    Vizier mode that allows the user to search for catalogues based on a provided list of known categories.
    Since:
    19 Oct 2009
    Author:
    Mark Taylor
    • Constructor Detail

      • CategoryVizierMode

        public CategoryVizierMode​(VizierTableLoadDialog tld)
        Constructor.
        Parameters:
        tld - controlling load dialogue
    • Method Detail

      • createSearchComponent

        protected java.awt.Component createSearchComponent()
        Description copied from class: SearchVizierMode
        Constructs the GUI component which the user will fill in to specify what catalogues they want to select from. The setEnable() method on the returned component should ideally enable/disable all GUI controls visible in it.
        Specified by:
        createSearchComponent in class SearchVizierMode
        Returns:
        search component
      • getSearchArgs

        protected java.lang.String getSearchArgs()
        Description copied from class: SearchVizierMode
        Returns the arguments, based on the current state of the search component, to pass to the VizieR server to search for available catalogues.
        Specified by:
        getSearchArgs in class SearchVizierMode
        Returns:
        URL fragment giving catalogue search arguments
      • readData

        public void readData()
        Description copied from interface: VizierMode
        Perform whatever updating from the remote server is necessary to initialise the state of this component from the currently installed VizierInfo. This method is called from the event dispatch thread, but should work asynchronously so as not to block the GUI.