|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.table.gui.FilestoreTableSaveDialog
public class FilestoreTableSaveDialog
Save dialogue which uses a FilestoreChooser.
| Constructor Summary | |
|---|---|
FilestoreTableSaveDialog()
Constructor. |
|
| Method Summary | |
|---|---|
static boolean |
confirmOverwrite(java.awt.Component parent,
java.lang.String loc)
Requests confirmation from the user that an existing file can be overwritten. |
FilestoreChooser |
getChooser()
Returns the chooser component used by this dialogue. |
java.lang.String |
getDescription()
Returns this dialogue's description (may be used as an Action's SHORT_DESCRIPTION property). |
javax.swing.Icon |
getIcon()
Returns an icon for use in identifying this dialogue. |
java.lang.String |
getName()
Returns this dialogue's name (may be used as an Action's NAME property). |
boolean |
isAvailable()
Indicates whether there is a reasonable chance of this dialogue working. |
boolean |
showSaveDialog(java.awt.Component parent,
StarTableOutput sto,
javax.swing.ComboBoxModel formatModel,
StarTable[] tables)
Pops up a modal dialogue which allows the user to save the given tables to a single destination. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilestoreTableSaveDialog()
| Method Detail |
|---|
public java.lang.String getName()
TableSaveDialog
getName in interface TableSaveDialogpublic java.lang.String getDescription()
TableSaveDialog
getDescription in interface TableSaveDialogpublic javax.swing.Icon getIcon()
TableSaveDialog
getIcon in interface TableSaveDialogpublic boolean isAvailable()
TableSaveDialog
isAvailable in interface TableSaveDialog
public boolean showSaveDialog(java.awt.Component parent,
StarTableOutput sto,
javax.swing.ComboBoxModel formatModel,
StarTable[] tables)
TableSaveDialog
showSaveDialog in interface TableSaveDialogparent - parent componentsto - object determining how tables are savedformatModel - combo box model containing names of table
save formats which can be selectedtables - the tables to save
public FilestoreChooser getChooser()
public static boolean confirmOverwrite(java.awt.Component parent,
java.lang.String loc)
parent - the parent component, used for positioning
dialog boxesloc - location of the file to overwrite
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||