All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.beanbox.WindowCloser

java.lang.Object
   |
   +----sun.beanbox.WindowCloser

public class WindowCloser
extends Object
implements WindowListener

Constructor Index

 o WindowCloser(Window)
Create an adaptor to listen for window closing events on the given window and actually perform the close.
 o WindowCloser(Window, boolean)
Create an adaptor to listen for window closing events on the given window and actually perform the close.

Method Index

 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o WindowCloser
 public WindowCloser(Window w)
Create an adaptor to listen for window closing events on the given window and actually perform the close.

 o WindowCloser
 public WindowCloser(Window w,
                     boolean exitOnClose)
Create an adaptor to listen for window closing events on the given window and actually perform the close. If "exitOnClose" is true we do a System.exit on close.

Methods

 o windowOpened
 public void windowOpened(WindowEvent e)
 o windowClosing
 public void windowClosing(WindowEvent e)
 o windowClosed
 public void windowClosed(WindowEvent e)
 o windowIconified
 public void windowIconified(WindowEvent e)
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
 o windowActivated
 public void windowActivated(WindowEvent e)
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index