java::awt::event::WindowStateListener Class Reference

Inheritance diagram for java::awt::event::WindowStateListener:

Inheritance graph
java::awt::event::WindowAdapterjava::util::EventListenerjava::lang::Interfacejava::lang::Object
[legend]
Collaboration diagram for java::awt::event::WindowStateListener:

Collaboration graph
java::util::EventListenerjava::lang::Interfacejava::lang::Object
[legend]

List of all members.


Detailed Description

The listener interface for receiving window state events.

The class that is interested in processing a window state event either implements this interface (and all the methods it contains) or extends the abstract WindowAdapter class (overriding only the methods of interest).

The listener object created from that class is then registered with a window using the Window's addWindowStateListener method. When the window's state changes by virtue of being iconified, maximized etc., the windowStateChanged method in the listener object is invoked, and the WindowEvent is passed to it.

See also:
java.awt.event.WindowAdapter

java.awt.event.WindowEvent

Since:
1.4

Public Member Functions

virtual void windowStateChanged (const WindowEvent &e)=0
 Invoked when window state is changed.

Member Function Documentation

virtual void java::awt::event::WindowStateListener::windowStateChanged ( const WindowEvent e  )  [pure virtual]

Invoked when window state is changed.

Implemented in java::awt::event::WindowAdapter.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:21 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3