java.awt.event
Interface WindowListener
java.lang.Object
|
+--java.util.EventListener
|
+--java.awt.event.WindowListener
All Implemented Interfaces:
EventListener
This interface is for classes that wish to monitor events for window
changes. To watch a subset of these events, use a WindowAdapter.
Since:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
windowActivated
public void windowActivated(java.awt.event.WindowEvent event)
This method is called when a window is activated. Only Frames and Dialogs
can be active, and the active window always contains the component with
focus.
Parameters:
windowClosed
public void windowClosed(java.awt.event.WindowEvent event)
This method is called when the window is closed.
Parameters:
windowClosing
public void windowClosing(java.awt.event.WindowEvent event)
This method is called when the user calls the system menu close
function, giving the program a chance to cancel the close.
Parameters:
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent event)
This method is called when the window is deactivated.
Parameters:
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent event)
This method is called when the window is deiconified.
Parameters:
windowIconified
public void windowIconified(java.awt.event.WindowEvent event)
This method is called when the window is iconified.
Parameters:
See Also:
windowOpened
public void windowOpened(java.awt.event.WindowEvent event)
This method is called when the window is made visible.
Parameters: