public interface WindowListener extends EventListener
Definition of an interface that must be implemented by objects that are interested in window related events.
This event listener interface is an abstraction of platform specific window event listener interfaces. It defines callback methods for typical window events like window closing, activation, or iconifying.
Modifier and Type | Method and Description |
---|---|
void |
windowActivated(WindowEvent event)
Callback method to notify a listener that a window was activated.
|
void |
windowClosed(WindowEvent event)
Callback method to notify a listener that a window was closed.
|
void |
windowClosing(WindowEvent event)
Callback method to notify a listener that a window is about to be closed.
|
void |
windowDeactivated(WindowEvent event)
Callback method to notify a listener that a window was deactivated.
|
void |
windowDeiconified(WindowEvent event)
Callback method to notify a listener that a window was deiconified.
|
void |
windowIconified(WindowEvent event)
Callback method to notify a listener that a window was iconified.
|
void |
windowOpened(WindowEvent event)
Callback method to notify a listener that a window was opened.
|
void windowActivated(WindowEvent event)
event
- the window eventvoid windowClosing(WindowEvent event)
event
- the window eventvoid windowClosed(WindowEvent event)
event
- the window eventvoid windowDeactivated(WindowEvent event)
event
- the window eventvoid windowDeiconified(WindowEvent event)
event
- the window eventvoid windowIconified(WindowEvent event)
event
- the window eventvoid windowOpened(WindowEvent event)
event
- the window eventCopyright © 2016 The JGUIraffe Team. All rights reserved.