FileTransfer.v1_1
Class FTClientWindow.FTListener

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--FileTransfer.v1_1.FTClientWindow.FTListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.WindowListener
Enclosing class:
FTClientWindow

public class FTClientWindow.FTListener
extends java.awt.event.WindowAdapter
implements java.awt.event.ActionListener

FTListener is an internal listener class which handles both WindowEvents and ActionEvents generated in the FTClientWindow.


Field Summary
private  FTClientWindow window
           
 
Constructor Summary
FTClientWindow.FTListener(FTClientWindow window)
          Creates a new FTListener for the specified FTClientWindow.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Handles the event when the user selects a menuitem or pushes a button.
 void windowClosing(java.awt.event.WindowEvent we)
          Handles the event when user closes the window.
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

window

private FTClientWindow window
Constructor Detail

FTClientWindow.FTListener

public FTClientWindow.FTListener(FTClientWindow window)
Creates a new FTListener for the specified FTClientWindow.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Handles the event when the user selects a menuitem or pushes a button.
Specified by:
actionPerformed in interface java.awt.event.ActionListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent we)
Handles the event when user closes the window.
Overrides:
windowClosing in class java.awt.event.WindowAdapter