public interface WindowListener extends EventListener
WindowAdapter
,
WindowEvent
Modifier and Type | Method and Description |
---|---|
void |
windowActivated(WindowEvent event)
This method is called when a window is activated.
|
void |
windowClosed(WindowEvent event)
This method is called when the window is closed.
|
void |
windowClosing(WindowEvent event)
This method is called when the user calls the system menu close
function, giving the program a chance to cancel the close.
|
void |
windowDeactivated(WindowEvent event)
This method is called when the window is deactivated.
|
void |
windowDeiconified(WindowEvent event)
This method is called when the window is deiconified.
|
void |
windowIconified(WindowEvent event)
This method is called when the window is iconified.
|
void |
windowOpened(WindowEvent event)
This method is called when the window is made visible.
|
void windowOpened(WindowEvent event)
event
- the WindowEvent
indicating the changevoid windowClosing(WindowEvent event)
event
- the WindowEvent
indicating the close attemptvoid windowClosed(WindowEvent event)
event
- the WindowEvent
indicating the disposevoid windowIconified(WindowEvent event)
event
- the WindowEvent
indicating the iconificationFrame.setIconImage(Image)
void windowDeiconified(WindowEvent event)
event
- the WindowEvent
indicating the deiconificationvoid windowActivated(WindowEvent event)
event
- the WindowEvent
indicating the activationvoid windowDeactivated(WindowEvent event)
event
- the WindowEvent
indicating the deactivation