cmu.survey.gui.table
Class ImportTableModelAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by 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

Field Summary
 
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
 
Constructor Summary
ImportTableModelAction(Dialogs dialogs)
           
ImportTableModelAction(Dialogs dialogs, java.lang.String name)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 javax.swing.JFileChooser getFileChooser()
           
static javax.swing.JFileChooser getNewFileChooser()
           
protected  java.awt.Component getParent()
           
 TripleTableModel getTableModel()
           
static TripleTableModel getTableModelFromFileChooser(javax.swing.JFileChooser chooser)
           
 
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
 

Constructor Detail

ImportTableModelAction

public ImportTableModelAction(Dialogs dialogs)

ImportTableModelAction

public ImportTableModelAction(Dialogs dialogs,
                              java.lang.String name)
Method Detail

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)