cmu.survey.gui.table
Class ImportTableModelAction
java.lang.Object
javax.swing.AbstractAction
cmu.survey.gui.table.ImportTableModelAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- ImportToDatabaseAction
public class ImportTableModelAction
- extends javax.swing.AbstractAction
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportTableModelAction
public ImportTableModelAction(Dialogs dialogs)
ImportTableModelAction
public ImportTableModelAction(Dialogs dialogs,
java.lang.String name)
getParent
protected java.awt.Component getParent()
getFileChooser
public javax.swing.JFileChooser getFileChooser()
getNewFileChooser
public static javax.swing.JFileChooser getNewFileChooser()
getTableModelFromFileChooser
public static TripleTableModel getTableModelFromFileChooser(javax.swing.JFileChooser chooser)
throws ImportExportTable.ImportError
- Throws:
ImportExportTable.ImportError
getTableModel
public TripleTableModel getTableModel()
throws ImportExportTable.ImportError
- Throws:
ImportExportTable.ImportError
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)