|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WindowAdapter
class
(overriding only the methods of interest).
The listener object created from that class is then registered with a
Window using the winodw's addWindowListener
method. When the window's status changes by virtue of being opened,
closed, activated or deactivated, iconified or deiconified,
the relevant method in the listener
object s invoked, and the WindowEvent
is passed to it.
WindowAdapter
,
WindowEvent
,
Tutorial: Writing a Window Listener,
Reference: The Java Class Libraries (update file)Method Summary | |
void | windowActivated(WindowEvent e)
Invoked when a window is activated. |
void | windowClosed(WindowEvent e)
Invoked when a window has been closed. |
void | windowClosing(WindowEvent e)
Invoked when a window is in the process of being closed. |
void | windowDeactivated(WindowEvent e)
Invoked when a window is de-activated. |
void | windowDeiconified(WindowEvent e)
Invoked when a window is de-iconified. |
void | windowIconified(WindowEvent e)
Invoked when a window is iconified. |
void | windowOpened(WindowEvent e)
Invoked when a window has been opened. |
Method Detail |
public void windowOpened(WindowEvent e)
public void windowClosing(WindowEvent e)
public void windowClosed(WindowEvent e)
public void windowIconified(WindowEvent e)
public void windowDeiconified(WindowEvent e)
public void windowActivated(WindowEvent e)
public void windowDeactivated(WindowEvent e)
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |