public abstract class BasicVizierMode extends Object implements VizierMode
| Constructor and Description |
|---|
BasicVizierMode(String name,
List<? extends uk.ac.starlink.util.gui.ArrayTableColumn<? extends Queryable,?>> columns)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
VizierInfo |
getVizierInfo()
Returns the vizier info object.
|
protected abstract Queryable[] |
loadQueryables()
Provides the array of Queryable objects which represents the
catalogues which can be searched by this mode.
|
void |
readData()
Perform whatever updating from the remote server is necessary
to initialise the state of this component from the currently
installed VizierInfo.
|
void |
setVizierInfo(VizierInfo vizinfo)
Sets the object which can query a VizieR server and store metadata.
|
public void setVizierInfo(VizierInfo vizinfo)
VizierModesetVizierInfo in interface VizierModevizinfo - vizier search objectpublic VizierInfo getVizierInfo()
public Component getComponent()
VizierModegetComponent in interface VizierModepublic String getName()
VizierModegetName in interface VizierModepublic JTable getQueryableTable()
VizierModeArrayTableModel with items
that are Queryables.getQueryableTable in interface VizierModepublic void readData()
VizierModereadData in interface VizierModeprotected abstract Queryable[] loadQueryables()
ArrayTableColumns
used by this mode.
This method is not called on the event dispatch thread.Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.