uk.ac.starlink.vo
Class SsapTableLoadDialog

java.lang.Object
  extended by uk.ac.starlink.table.gui.AbstractTableLoadDialog
      extended by uk.ac.starlink.vo.RegistryServiceTableLoadDialog
          extended by uk.ac.starlink.vo.DalTableLoadDialog
              extended by uk.ac.starlink.vo.SkyDalTableLoadDialog
                  extended by uk.ac.starlink.vo.SsapTableLoadDialog
All Implemented Interfaces:
TableLoadDialog

public class SsapTableLoadDialog
extends SkyDalTableLoadDialog

Table load dialogue for retrieving the result of a SSAP query. SSAP services are returned from a registry.

Since:
2 Feb 2009
Author:
Mark Taylor
See Also:
SSA

Constructor Summary
SsapTableLoadDialog()
          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.
static String[] getFormatOptions()
          Returns the list of standard options provided by the Format selector.
 
Methods inherited from class uk.ac.starlink.vo.SkyDalTableLoadDialog
acceptSkyPosition, getQuerySummary, getSkyEntry
 
Methods inherited from class uk.ac.starlink.vo.DalTableLoadDialog
checkUrl, getCapabilities, getMetadata, getResourceMetadata, getServiceUrl, getServiceUrlField, isReady, setServiceUrl
 
Methods inherited from class uk.ac.starlink.vo.RegistryServiceTableLoadDialog
acceptResourceIdList, getControlBox, getQueryFactory, getRegistryMenuItems, getRegistryPanel
 
Methods inherited from class uk.ac.starlink.table.gui.AbstractTableLoadDialog
asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SsapTableLoadDialog

public SsapTableLoadDialog()
Constructor.

Method Detail

createQueryComponent

protected Component createQueryComponent()
Description copied from class: AbstractTableLoadDialog
Constructs the query component used by this dialogue. Called only once (lazily).

Overrides:
createQueryComponent in class SkyDalTableLoadDialog
Returns:
query component

createTableLoader

public TableLoader createTableLoader()
Description copied from interface: TableLoadDialog
Returns a new object which specifies how table loading is to be performed. The actions performed by the returned object will presumably be determined by the state at call time of this dialogues GUI component.

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.

Returns:
new table loader object

getFormatOptions

public static String[] getFormatOptions()
Returns the list of standard options provided by the Format selector. These are taken from the SSA standard; they are not exhaustive, but represent some of the more useful options. The user is able to enter custom items as an alternative. The first element in the returned list is a reasonable default.

Returns:
format option strings


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.