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)
VizierMode
setVizierInfo
in interface VizierMode
vizinfo
- vizier search objectpublic VizierInfo getVizierInfo()
public Component getComponent()
VizierMode
getComponent
in interface VizierMode
public String getName()
VizierMode
getName
in interface VizierMode
public JTable getQueryableTable()
VizierMode
ArrayTableModel
with items
that are Queryable
s.getQueryableTable
in interface VizierMode
public void readData()
VizierMode
readData
in interface VizierMode
protected abstract Queryable[] loadQueryables()
ArrayTableColumn
s
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.