Class SetupListener

java.lang.Object
  |
  +--SetupListener

public class SetupListener
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.ItemListener


Field Summary
private  int cols
           
private  java.io.File file
           
private  javax.swing.JFileChooser file_chooser
           
private  java.lang.String message
           
protected  SetupDialog parent
           
private  int rows
           
protected  SetupCommand setup_cmd
           
protected  SetupSave setup_save
           
 
Constructor Summary
SetupListener(SetupDialog parent)
          Class constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method handles all the non-selection events.
 void itemStateChanged(java.awt.event.ItemEvent ie)
          This method handles all the checkbox selection events.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

setup_cmd

protected SetupCommand setup_cmd

parent

protected SetupDialog parent

setup_save

protected SetupSave setup_save

file_chooser

private javax.swing.JFileChooser file_chooser

file

private java.io.File file

message

private java.lang.String message

rows

private int rows

cols

private int cols
Constructor Detail

SetupListener

public SetupListener(SetupDialog parent)
Class constructor.
Parameters:
parent - The dialog window that this class listens for.
Method Detail

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent ie)
This method handles all the checkbox selection events.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener
Parameters:
ie - The item event.
See Also:
ItemListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This method handles all the non-selection events.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - The event.
See Also:
ActionListener