Package uk.ac.starlink.topcat.vizier
Class CategoryVizierMode
java.lang.Object
uk.ac.starlink.topcat.vizier.SearchVizierMode
uk.ac.starlink.topcat.vizier.CategoryVizierMode
- All Implemented Interfaces:
VizierMode
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Component
Constructs the GUI component which the user will fill in to specify what catalogues they want to select from.protected String
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
-
Constructor Details
-
CategoryVizierMode
Constructor.- Parameters:
tld
- controlling load dialogue
-
-
Method Details
-
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 classSearchVizierMode
- Returns:
- search component
-
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 classSearchVizierMode
- 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.
-