|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.WindowAdapter
public abstract class WindowAdapter
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.
ComponentEvent,
ComponentListener| Constructor Summary | |
|---|---|
WindowAdapter()
Do nothing default constructor for subclasses. |
|
| Method Summary | |
|---|---|
void |
windowActivated(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowClosed(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowClosing(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowDeactivated(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowDeiconified(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowGainedFocus(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowIconified(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowLostFocus(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowOpened(WindowEvent event)
Implements this method from the interface with an empty method body. |
void |
windowStateChanged(WindowEvent event)
Implements this method from the interface with an empty method body. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowAdapter()
| Method Detail |
|---|
public void windowOpened(WindowEvent event)
windowOpened in interface WindowListenerevent - the event, ignored in this implementationpublic void windowClosing(WindowEvent event)
windowClosing in interface WindowListenerevent - the event, ignored in this implementationpublic void windowClosed(WindowEvent event)
windowClosed in interface WindowListenerevent - the event, ignored in this implementationpublic void windowIconified(WindowEvent event)
windowIconified in interface WindowListenerevent - the event, ignored in this implementationFrame.setIconImage(Image)public void windowDeiconified(WindowEvent event)
windowDeiconified in interface WindowListenerevent - the event, ignored in this implementationpublic void windowActivated(WindowEvent event)
windowActivated in interface WindowListenerevent - the event, ignored in this implementationpublic void windowDeactivated(WindowEvent event)
windowDeactivated in interface WindowListenerevent - the event, ignored in this implementationpublic void windowStateChanged(WindowEvent event)
windowStateChanged in interface WindowStateListenerevent - the event, ignored in this implementationpublic void windowGainedFocus(WindowEvent event)
windowGainedFocus in interface WindowFocusListenerevent - the event, ignored in this implementationpublic void windowLostFocus(WindowEvent event)
windowLostFocus in interface WindowFocusListenerevent - the event, ignored in this implementation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||