actionListeners
Class FileImportSettingsDialogActionListener

java.lang.Object
  extended by actionListeners.FileImportSettingsDialogActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class FileImportSettingsDialogActionListener
extends java.lang.Object
implements java.awt.event.ActionListener

ActionListener for a FileImportSettingsDialog.


Field Summary
private  FileImportSettingsDialog dialog
          The dialog.
(package private)  Main mainWindow
          The main window.
(package private) static boolean printLog
          Flag to enable debug message printing for this class.
 
Constructor Summary
FileImportSettingsDialogActionListener(Main mainWindow, FileImportSettingsDialog dialog)
          Instantiates a new file import settings dialog action listener.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  void log(java.lang.String message)
          Prints debug information to stdout when printLog is set to true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

printLog

static final boolean printLog
Flag to enable debug message printing for this class.

See Also:
Constant Field Values

mainWindow

Main mainWindow
The main window.


dialog

private FileImportSettingsDialog dialog
The dialog.

Constructor Detail

FileImportSettingsDialogActionListener

public FileImportSettingsDialogActionListener(Main mainWindow,
                                              FileImportSettingsDialog dialog)
Instantiates a new file import settings dialog action listener.

Parameters:
mainWindow - the main window
dialog - the dialog
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

log

private void log(java.lang.String message)
Prints debug information to stdout when printLog is set to true.

Parameters:
message - the message