public abstract class SkyDalTableLoadDialog extends DalTableLoadDialog implements DalLoader
Modifier | Constructor and Description |
---|---|
protected |
SkyDalTableLoadDialog(String name,
String protoName,
String description,
Capability capability,
boolean showCapabilities,
boolean autoQuery)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptSkyPosition(double raDegrees,
double decDegrees)
Takes a sky position and may update this component's sky entry
fields with the supplied values.
|
protected Component |
createQueryComponent()
Constructs the query component used by this dialogue.
|
String |
getQuerySummary(String serviceUrl,
double sizeDeg)
Returns a short string summarising the current query.
|
SkyPositionEntry |
getSkyEntry()
Returns the SkyPositionEntry component used by this dialog.
|
checkUrl, getCapabilities, getMetadata, getResourceMetadata, getServiceUrl, getServiceUrlBox, getServiceUrlField, isReady, setServiceUrl
acceptResourceIdList, getControlBox, getQueryFactory, getRegistryMenuItems, getRegistryPanel
asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptResourceIdList, getMenus, getRegistryPanel, setMenus
createTableLoader
protected SkyDalTableLoadDialog(String name, String protoName, String description, Capability capability, boolean showCapabilities, boolean autoQuery)
name
- dialogue nameprotoName
- short name (perhaps acronym) for protocoldescription
- dialogue descriptioncapability
- service capability typeshowCapabilities
- true to display the capabilities JTable as
well as the Resource one; sensible if resource:capabilities
relationship may not be 1:1autoQuery
- populate service table with full registry query
on initial displayprotected Component createQueryComponent()
AbstractTableLoadDialog
createQueryComponent
in class DalTableLoadDialog
public boolean acceptSkyPosition(double raDegrees, double decDegrees)
raDegrees
- right ascension in degreesdecDegrees
- declination in degreespublic SkyPositionEntry getSkyEntry()
public String getQuerySummary(String serviceUrl, double sizeDeg)
serviceUrl
- service URL for the query to be labelled
- may or may not be that of the currently selected
resource/capabilitysizeDeg
- size in degrees of the spatial query to be labelledCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.