public abstract class SearchVizierMode extends java.lang.Object implements VizierMode
Constructor and Description |
---|
SearchVizierMode(java.lang.String name,
VizierTableLoadDialog tld,
boolean useSplit)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.awt.Component |
createSearchComponent()
Constructs the GUI component which the user will fill in to
specify what catalogues they want to select from.
|
java.awt.Component |
getComponent()
Returns the graphical component containing user controls for this
mode.
|
java.lang.String |
getName()
Returns a name for this mode.
|
javax.swing.JTable |
getQueryableTable()
Returns a table whose rows represent VizieR catalogues.
|
javax.swing.Action |
getSearchAction()
Returns the action which starts a search for catalogues.
|
protected abstract java.lang.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(java.lang.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 java.awt.Component createSearchComponent()
protected abstract java.lang.String getSearchArgs()
public java.lang.String getName()
VizierMode
getName
in interface VizierMode
public void setVizierInfo(VizierInfo vizinfo)
VizierMode
setVizierInfo
in interface VizierMode
vizinfo
- vizier search objectpublic VizierInfo getVizierInfo()
public java.awt.Component getComponent()
VizierMode
getComponent
in interface VizierMode
public javax.swing.JTable getQueryableTable()
VizierMode
ArrayTableModel
with items
that are Queryable
s.getQueryableTable
in interface VizierMode
public javax.swing.Action getSearchAction()
public boolean includeSubTables()
public boolean includeObsoletes()
Copyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.