WindowAdapter

Name

WindowAdapter

[Graphic: Figure from the text]

Description

The WindowAdapter class implements the methods of WindowListener with empty functions. It may be easier for you to extend WindowAdapter, overriding only those methods you are interested in, than to implement WindowListener and provide the empty functions yourself.

Class Definition

public abstract class java.awt.event.WindowAdapter extends java.lang.Object implements java.awt.event.WindowListener {
 // Instance Methods public void windowActivated (WindowEvent e);
public void windowClosed (WindowEvent e);
public void windowClosing (WindowEvent e);
public void windowDeactivated (WindowEvent e);
public void windowDeiconified (WindowEvent e);
public void windowIconified (WindowEvent e);
public void windowOpened (WindowEvent e);
}

Instance Methods

windowActivated

public void windowActivated (WindowEvent e)

windowClosed

public void windowClosed (WindowEvent e)

windowClosing

public void windowClosing (WindowEvent e)

windowDeactivated

public void windowDeactivated (WindowEvent e)

windowDeiconified

public void windowDeiconified (WindowEvent e)

windowIconified

public void windowIconified (WindowEvent e)

windowOpened

public void windowOpened (WindowEvent e)

See Also

WindowEvent, WindowListener