public abstract class SearchVizierMode extends Object implements VizierMode
Constructor and Description |
---|
SearchVizierMode(String name,
VizierTableLoadDialog tld,
boolean useSplit)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Component |
createSearchComponent()
Constructs the GUI component which the user will fill in to
specify what catalogues they want to select from.
|
Component |
getComponent()
Returns the graphical component containing user controls for this
mode.
|
String |
getName()
Returns a name for this mode.
|
JTable |
getQueryableTable()
Returns a table whose rows represent VizieR catalogues.
|
Action |
getSearchAction()
Returns the action which starts a search for catalogues.
|
protected abstract 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.
|
VizierInfo |
getVizierInfo()
Returns the vizier info object.
|
boolean |
includeObsoletes()
Indicates whether the search should report obsolete tables or just
the newest version of each.
|
boolean |
includeSubTables()
Indicates whether the search should report sub-tables or just top-level
resources.
|
void |
setVizierInfo(VizierInfo vizinfo)
Sets the object which can query a VizieR server and store metadata.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readData
public SearchVizierMode(String name, VizierTableLoadDialog tld, boolean useSplit)
name
- mode nametld
- controlling load dialogue instanceuseSplit
- true to use a JSplitPane to separate query panel
from catalogue display table; false to use a fixed layoutprotected abstract Component createSearchComponent()
protected abstract String getSearchArgs()
public String getName()
VizierMode
getName
in interface VizierMode
public void setVizierInfo(VizierInfo vizinfo)
VizierMode
setVizierInfo
in interface VizierMode
vizinfo
- vizier search objectpublic VizierInfo getVizierInfo()
public Component getComponent()
VizierMode
getComponent
in interface VizierMode
public JTable getQueryableTable()
VizierMode
ArrayTableModel
with items
that are Queryable
s.getQueryableTable
in interface VizierMode
public Action getSearchAction()
public boolean includeSubTables()
public boolean includeObsoletes()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.