|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.gui.AbstractTableLoadDialog
uk.ac.starlink.vo.RegistryTableLoadDialog
public class RegistryTableLoadDialog
Table load dialogue implementation for performing a simple query on a registry. The user can choose which registry to use, and the text of the query (WHERE clause) to make, and a StarTable is returned which contains all the detail of the resources found.
Field Summary | |
---|---|
static String[] |
defaultQueries_
List of preset queries available by default. |
Constructor Summary | |
---|---|
RegistryTableLoadDialog()
Constructor. |
Method Summary | |
---|---|
protected Component |
createQueryComponent()
Constructs the query component used by this dialogue. |
TableLoader |
createTableLoader()
Returns a new object which specifies how table loading is to be performed. |
String |
getDescription()
Returns a short description of this dialogue. |
String |
getName()
Returns the name of this dialogue. |
boolean |
isAvailable()
The default implementation returns true. |
Methods inherited from class uk.ac.starlink.table.gui.AbstractTableLoadDialog |
---|
asIOException, configure, createFormatSelector, getIcon, getMenus, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isComponentShowing, isReady, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String[] defaultQueries_
Constructor Detail |
---|
public RegistryTableLoadDialog()
Method Detail |
---|
protected Component createQueryComponent()
AbstractTableLoadDialog
createQueryComponent
in class AbstractTableLoadDialog
public String getName()
TableLoadDialog
Action.NAME
).
getName
in interface TableLoadDialog
getName
in class AbstractTableLoadDialog
public String getDescription()
TableLoadDialog
Action.SHORT_DESCRIPTION
).
getDescription
in interface TableLoadDialog
getDescription
in class AbstractTableLoadDialog
public boolean isAvailable()
AbstractTableLoadDialog
isAvailable
in interface TableLoadDialog
isAvailable
in class AbstractTableLoadDialog
public TableLoader createTableLoader()
TableLoadDialog
If the dialogue is not in a suitable state, either return null, or, if you want to provide more detailed information about what's wrong, throw a RuntimeException with an informative message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |