Java™ Platform
Standard Ed. 6

Uses of Class
java.awt.event.WindowEvent

Packages that use WindowEvent
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
 

Uses of WindowEvent in java.awt
 

Methods in java.awt with parameters of type WindowEvent
protected  void Window.processWindowEvent(WindowEvent e)
          Processes window events occurring on this window by dispatching them to any registered WindowListener objects.
protected  void Window.processWindowFocusEvent(WindowEvent e)
          Processes window focus event occuring on this window by dispatching them to any registered WindowFocusListener objects.
protected  void Window.processWindowStateEvent(WindowEvent e)
          Processes window state event occuring on this window by dispatching them to any registered WindowStateListener objects.
 void AWTEventMulticaster.windowActivated(WindowEvent e)
          Handles the windowActivated event by invoking the windowActivated methods on listener-a and listener-b.
 void AWTEventMulticaster.windowClosed(WindowEvent e)
          Handles the windowClosed event by invoking the windowClosed methods on listener-a and listener-b.
 void AWTEventMulticaster.windowClosing(WindowEvent e)
          Handles the windowClosing event by invoking the windowClosing methods on listener-a and listener-b.
 void AWTEventMulticaster.windowDeactivated(WindowEvent e)
          Handles the windowDeactivated event by invoking the windowDeactivated methods on listener-a and listener-b.
 void AWTEventMulticaster.windowDeiconified(WindowEvent e)
          Handles the windowDeiconfied event by invoking the windowDeiconified methods on listener-a and listener-b.
 void AWTEventMulticaster.windowGainedFocus(WindowEvent e)
          Handles the windowGainedFocus event by invoking the windowGainedFocus methods on listener-a and listener-b.
 void AWTEventMulticaster.windowIconified(WindowEvent e)
          Handles the windowIconified event by invoking the windowIconified methods on listener-a and listener-b.
 void AWTEventMulticaster.windowLostFocus(WindowEvent e)
          Handles the windowLostFocus event by invoking the windowLostFocus methods on listener-a and listener-b.
 void AWTEventMulticaster.windowOpened(WindowEvent e)
          Handles the windowOpened event by invoking the windowOpened methods on listener-a and listener-b.
 void AWTEventMulticaster.windowStateChanged(WindowEvent e)
          Handles the windowStateChanged event by invoking the windowStateChanged methods on listener-a and listener-b.
 

Uses of WindowEvent in java.awt.event
 

Methods in java.awt.event with parameters of type WindowEvent
 void WindowListener.windowActivated(WindowEvent e)
          Invoked when the Window is set to be the active Window.
 void WindowAdapter.windowActivated(WindowEvent e)
          Invoked when a window is activated.
 void WindowListener.windowClosed(WindowEvent e)
          Invoked when a window has been closed as the result of calling dispose on the window.
 void WindowAdapter.windowClosed(WindowEvent e)
          Invoked when a window has been closed.
 void WindowListener.windowClosing(WindowEvent e)
          Invoked when the user attempts to close the window from the window's system menu.
 void WindowAdapter.windowClosing(WindowEvent e)
          Invoked when a window is in the process of being closed.
 void WindowListener.windowDeactivated(WindowEvent e)
          Invoked when a Window is no longer the active Window.
 void WindowAdapter.windowDeactivated(WindowEvent e)
          Invoked when a window is de-activated.
 void WindowListener.windowDeiconified(WindowEvent e)
          Invoked when a window is changed from a minimized to a normal state.
 void WindowAdapter.windowDeiconified(WindowEvent e)
          Invoked when a window is de-iconified.
 void WindowFocusListener.windowGainedFocus(WindowEvent e)
          Invoked when the Window is set to be the focused Window, which means that the Window, or one of its subcomponents, will receive keyboard events.
 void WindowAdapter.windowGainedFocus(WindowEvent e)
          Invoked when the Window is set to be the focused Window, which means that the Window, or one of its subcomponents, will receive keyboard events.
 void WindowListener.windowIconified(WindowEvent e)
          Invoked when a window is changed from a normal to a minimized state.
 void WindowAdapter.windowIconified(WindowEvent e)
          Invoked when a window is iconified.
 void WindowFocusListener.windowLostFocus(WindowEvent e)
          Invoked when the Window is no longer the focused Window, which means that keyboard events will no longer be delivered to the Window or any of its subcomponents.
 void WindowAdapter.windowLostFocus(WindowEvent e)
          Invoked when the Window is no longer the focused Window, which means that keyboard events will no longer be delivered to the Window or any of its subcomponents.
 void WindowListener.windowOpened(WindowEvent e)
          Invoked the first time a window is made visible.
 void WindowAdapter.windowOpened(WindowEvent e)
          Invoked when a window has been opened.
 void WindowStateListener.windowStateChanged(WindowEvent e)
          Invoked when window state is changed.
 void WindowAdapter.windowStateChanged(WindowEvent e)
          Invoked when a window state is changed.
 

Uses of WindowEvent in javax.swing
 

Methods in javax.swing with parameters of type WindowEvent
protected  void JFrame.processWindowEvent(WindowEvent e)
          Processes window events occurring on this component.
protected  void JDialog.processWindowEvent(WindowEvent e)
          Handles window events depending on the state of the defaultCloseOperation property.
 void JMenu.WinListener.windowClosing(WindowEvent e)
          Deselect the menu when the popup is closed from outside.
 

Uses of WindowEvent in javax.swing.plaf.basic
 

Methods in javax.swing.plaf.basic with parameters of type WindowEvent
 void BasicToolBarUI.FrameListener.windowClosing(WindowEvent w)
           
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.