uk.ac.starlink.topcat.vizier
Class CategoryVizierMode

java.lang.Object
  extended by uk.ac.starlink.topcat.vizier.SearchVizierMode
      extended by uk.ac.starlink.topcat.vizier.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 Summary
CategoryVizierMode(VizierTableLoadDialog tld)
          Constructor.
 
Method Summary
protected  Component createSearchComponent()
          Constructs the GUI component which the user will fill in to specify what catalogues they want to select from.
protected  String getSearchArgs()
          Returns the arguments, based on the current state of the search component, to pass to the VizieR server to search for available catalogues.
 void readData()
          Perform whatever updating from the remote server is necessary to initialise the state of this component from the currently installed VizierInfo.
 
Methods inherited from class uk.ac.starlink.topcat.vizier.SearchVizierMode
getComponent, getName, getQueryableTable, getSearchAction, getVizierInfo, includeObsoletes, includeSubTables, setVizierInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryVizierMode

public CategoryVizierMode(VizierTableLoadDialog tld)
Constructor.

Parameters:
tld - controlling load dialogue
Method Detail

createSearchComponent

protected 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 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.



Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.