|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WindowListener
This interface is for classes that wish to monitor events for window changes. To watch a subset of these events, use a WindowAdapter.
WindowAdapter
,
WindowEvent
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |