Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.event

Class WindowAdapter

java.lang.Object
|
+--java.awt.event.WindowAdapter

All Implemented Interfaces:

WindowListener, WindowStateListener, WindowFocusListener


public abstract class WindowAdapter

extends Object

implements WindowListener, WindowStateListener, WindowFocusListener

This class implements WindowListener, WindowStateListener, and WindowFocusListener, and implements all methods with empty bodies. This allows a listener interested in listening to only a subset of any WindowEvent actions to extend this class and override only the desired methods.

Since:Author:See Also:

Constructor Summary

WindowAdapter()

Do nothing default constructor for subclasses.

Method Summary

voidwindowActivated(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowClosed(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowClosing(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowDeactivated(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowDeiconified(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowGainedFocus(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowIconified(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowLostFocus(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowOpened(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.
voidwindowStateChanged(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Constructor Details

WindowAdapter

public WindowAdapter()

Do nothing default constructor for subclasses.


Method Details

windowActivated

public void windowActivated(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowClosed

public void windowClosed(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowClosing

public void windowClosing(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowGainedFocus

public void windowGainedFocus(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Since:Parameters:


windowIconified

public void windowIconified(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowLostFocus

public void windowLostFocus(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Since:Parameters:


windowOpened

public void windowOpened(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Parameters:


windowStateChanged

public void windowStateChanged(java.awt.event.WindowEvent event)

Implements this method from the interface with an empty method body.

Since:Parameters: