uk.ac.starlink.table.gui
Class BasicTableLoadDialog.DataSourceTableSupplier

java.lang.Object
  extended byuk.ac.starlink.table.gui.BasicTableLoadDialog.DataSourceTableSupplier
All Implemented Interfaces:
BasicTableLoadDialog.TableSupplier
Enclosing class:
BasicTableLoadDialog

public class BasicTableLoadDialog.DataSourceTableSupplier
extends Object
implements BasicTableLoadDialog.TableSupplier

TableSupplier implementation based on a DataSource.


Constructor Summary
BasicTableLoadDialog.DataSourceTableSupplier(DataSource datsrc)
           
 
Method Summary
 StarTable getTable(StarTableFactory factory, String format)
          Attempts to load a table.
 String getTableID()
          Returns a string representation (location maybe) of the table which this object will load.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTableLoadDialog.DataSourceTableSupplier

public BasicTableLoadDialog.DataSourceTableSupplier(DataSource datsrc)
Method Detail

getTable

public StarTable getTable(StarTableFactory factory,
                          String format)
                   throws IOException
Description copied from interface: BasicTableLoadDialog.TableSupplier
Attempts to load a table. This synchronous method is not to be called on the event dispatch thread.

Specified by:
getTable in interface BasicTableLoadDialog.TableSupplier
Parameters:
factory - factory used for loading if necessary
format - format string
Throws:
IOException

getTableID

public String getTableID()
Description copied from interface: BasicTableLoadDialog.TableSupplier
Returns a string representation (location maybe) of the table which this object will load.

Specified by:
getTableID in interface BasicTableLoadDialog.TableSupplier
Returns:
table id

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.