All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Control.CloseListener

java.lang.Object
   |
   +----java.awt.event.WindowAdapter
           |
           +----Control.CloseListener

public class CloseListener
extends WindowAdapter
implements ActionListener
A class to handle the window close events


Constructor Index

 o CloseListener(InterfaceDefinition)
This construtor handles window closing event by closing the application.

Method Index

 o actionPerformed(ActionEvent)
This method will close the application
 o windowClosing(WindowEvent)
This method handles window closing event by closing the application.

Constructors

 o CloseListener
 public CloseListener(InterfaceDefinition id)
This construtor handles window closing event by closing the application.

Parameters:
InterfaceDefinition - id
Returns:
none

Methods

 o windowClosing
 public void windowClosing(WindowEvent e)
This method handles window closing event by closing the application.

Parameters:
WindowEvent - Event to be handled
Returns:
none
Overrides:
windowClosing in class WindowAdapter
 o actionPerformed
 public void actionPerformed(ActionEvent e)
This method will close the application


All Packages  Class Hierarchy  This Package  Previous  Next  Index