|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableSaveDialog
Interface for subdialogues which know how to save a table to some destination or other.
Method Summary | |
---|---|
String |
getDescription()
Returns this dialogue's description (may be used as an Action's SHORT_DESCRIPTION property). |
Icon |
getIcon()
Returns an icon for use in identifying this dialogue. |
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(Component parent,
StarTableOutput sto,
ComboBoxModel formatModel,
StarTable[] tables)
Pops up a modal dialogue which allows the user to save the given tables to a single destination. |
Method Detail |
---|
String getName()
String getDescription()
Icon getIcon()
boolean isAvailable()
boolean showSaveDialog(Component parent, StarTableOutput sto, ComboBoxModel formatModel, StarTable[] tables)
parent
- 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
|
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 |