java.awt.event
Class WindowAdapter
java.lang.Object
|
+--java.awt.event.WindowAdapter
- Direct Known Subclasses:
- Closer
- public class WindowAdapter
- extends java.lang.Object
- implements WindowListener
Method Summary |
void |
windowActivated(WindowEvent e)
Invoked when the window is set to be the user's active window,
which means the window (or one of its subcomponents) will receive
keyboard events. |
void |
windowClosed(WindowEvent e)
Invoked when a window has been closed as the result of calling dispose on the window. |
void |
windowClosing(WindowEvent e)
Invoked when the user attempts to close the window from the window's system menu. |
void |
windowDeactivated(WindowEvent e)
Invoked when a window is no longer the user's active window, which means
that keyboard events will no longer be delivered to the window or
its subcomponents. |
void |
windowDeiconified(WindowEvent e)
Invoked when a window is changed from a minimized to a normal state. |
void |
windowIconified(WindowEvent e)
Invoked when a window is changed from a normal to a minimized state. |
void |
windowOpened(WindowEvent e)
Invoked the first time a window is made visible. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
WindowAdapter
public WindowAdapter()
windowActivated
public void windowActivated(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked when the window is set to be the user's active window,
which means the window (or one of its subcomponents) will receive
keyboard events.
- Specified by:
- windowActivated in interface WindowListener
windowClosed
public void windowClosed(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked when a window has been closed as the result of calling dispose on the window.
- Specified by:
- windowClosed in interface WindowListener
windowClosing
public void windowClosing(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked when the user attempts to close the window from the window's system menu.
- Specified by:
- windowClosing in interface WindowListener
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked when a window is no longer the user's active window, which means
that keyboard events will no longer be delivered to the window or
its subcomponents.
- Specified by:
- windowDeactivated in interface WindowListener
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked when a window is changed from a minimized to a normal state.
- Specified by:
- windowDeiconified in interface WindowListener
windowIconified
public void windowIconified(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked when a window is changed from a normal to a minimized state.
- Specified by:
- windowIconified in interface WindowListener
windowOpened
public void windowOpened(WindowEvent e)
- Description copied from interface: WindowListener
- Invoked the first time a window is made visible.
- Specified by:
- windowOpened in interface WindowListener