java.awt.event

Class WindowAdapter

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: 1.1

See Also: ComponentEvent ComponentListener

UNKNOWN: updated to 1.4

Constructor Summary
WindowAdapter()
Do nothing default constructor for subclasses.
Method Summary
voidwindowActivated(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowClosed(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowClosing(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowDeactivated(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowDeiconified(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowGainedFocus(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowIconified(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowLostFocus(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowOpened(WindowEvent event)
Implements this method from the interface with an empty method body.
voidwindowStateChanged(WindowEvent event)
Implements this method from the interface with an empty method body.

Constructor Detail

WindowAdapter

public WindowAdapter()
Do nothing default constructor for subclasses.

Method Detail

windowActivated

public void windowActivated(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowClosed

public void windowClosed(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowClosing

public void windowClosing(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowDeactivated

public void windowDeactivated(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowDeiconified

public void windowDeiconified(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowGainedFocus

public void windowGainedFocus(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

Since: 1.4

windowIconified

public void windowIconified(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowLostFocus

public void windowLostFocus(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

Since: 1.4

windowOpened

public void windowOpened(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

windowStateChanged

public void windowStateChanged(WindowEvent event)
Implements this method from the interface with an empty method body.

Parameters: event the event, ignored in this implementation

Since: 1.4