Next Previous Up Contents
Next: SQL Database Interaction
Up: GUI Support
Previous: Drag and Drop
Some graphical components exist to make it easier to load or save tables.
They are effectively table-friendly alternatives to using a
JFileChooser
.
-
StarTableChooser
- This is for loading tables, and is very much like a
JFileChooser
,
but it handles turning selected items into a StarTable
for you.
A format selector is available - this can either be set to "auto"
for automatic format detection mode, or to one of the named available
formats.
-
StarTableNodeChooser
- This loads tables as well,
but it presents a more sophisticated interface to the user.
It allows hierarchical browsing of nodes
beyond the directory/file level - for instance you can see the
hierarchical structure of RESOURCE and TABLE elements in a VOTable document,
or the list of HDUs in a FITS file,
and pick the TABLE element that you are interested in.
It uses the same classes and appearance as the
Treeview
application to achieve this.
-
StarTableSaver
- This is used for saving tables.
As well as allowing the user to browse the filesystem and select a
filename as usual, it also allows selection of the output file format
from the list of those which the
StarTableOutput
knows about.
Next Previous Up Contents
Next: SQL Database Interaction
Up: GUI Support
Previous: Drag and Drop
STIL - Starlink Tables Infrastructure Library
Starlink User Note
252
STIL web page:
http://www.starlink.ac.uk/stil/
Author email:
m.b.taylor@bristol.ac.uk
Starlink: http://www.starlink.ac.uk/