amber.awt.event
Interface ComponentWindowListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
FileDialog, TextInputDialog

public interface ComponentWindowListener
extends java.util.EventListener

This is the listener which corresponds to the WindowListener interface. It must be used in preference to WindowListener as the events are fired by a ComponentHandler rather than a Window.

See Also:
ComponentWindowEvent

Method Summary
 void windowActivated(ComponentWindowEvent e)
          This is called when a window is activated.
 void windowClosed(ComponentWindowEvent e)
          This is called when a window has been closed.
 void windowClosing(ComponentWindowEvent e)
          This is called when the window is in the process of being closed.
 void windowDeactivated(ComponentWindowEvent e)
          This is called when a window is de-activated.
 void windowDeiconified(ComponentWindowEvent e)
          This is called when a window is de-iconified.
 void windowIconified(ComponentWindowEvent e)
          This is called when a window is iconified.
 void windowOpened(ComponentWindowEvent e)
          This function is invoked when a window has been opened.
 

Method Detail

windowOpened

public void windowOpened(ComponentWindowEvent e)
This function is invoked when a window has been opened.
Parameters:
e - ComponentWindowEvent which contains information on what happened.

windowClosing

public void windowClosing(ComponentWindowEvent e)
This is called when the window is in the process of being closed.
Parameters:
e - ComponentWindowEvent which contains information on what happened.

windowClosed

public void windowClosed(ComponentWindowEvent e)
This is called when a window has been closed.
Parameters:
e - ComponentWindowEvent which contains information on what happened.

windowIconified

public void windowIconified(ComponentWindowEvent e)
This is called when a window is iconified.
Parameters:
e - ComponentWindowEvent which contains information on what happened.

windowDeiconified

public void windowDeiconified(ComponentWindowEvent e)
This is called when a window is de-iconified.
Parameters:
e - ComponentWindowEvent which contains information on what happened.

windowActivated

public void windowActivated(ComponentWindowEvent e)
This is called when a window is activated.
Parameters:
e - ComponentWindowEvent which contains information on what happened.

windowDeactivated

public void windowDeactivated(ComponentWindowEvent e)
This is called when a window is de-activated.
Parameters:
e - ComponentWindowEvent which contains information on what happened.


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.