Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 occurring on this window by
dispatching them to any registered WindowFocusListener objects.
|
protected void |
Window.processWindowStateEvent(WindowEvent e)
Processes window state event occurring 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.
|
Modifier and Type | Method and Description |
---|---|
void |
WindowAdapter.windowActivated(WindowEvent e)
Invoked when a window is activated.
|
void |
WindowListener.windowActivated(WindowEvent e)
Invoked when the Window is set to be the active Window.
|
void |
WindowAdapter.windowClosed(WindowEvent e)
Invoked when a window has been closed.
|
void |
WindowListener.windowClosed(WindowEvent e)
Invoked when a window has been closed as the result
of calling dispose on the window.
|
void |
WindowAdapter.windowClosing(WindowEvent e)
Invoked when a window is in the process of being closed.
|
void |
WindowListener.windowClosing(WindowEvent e)
Invoked when the user attempts to close the window
from the window's system menu.
|
void |
WindowAdapter.windowDeactivated(WindowEvent e)
Invoked when a window is de-activated.
|
void |
WindowListener.windowDeactivated(WindowEvent e)
Invoked when a Window is no longer the active Window.
|
void |
WindowAdapter.windowDeiconified(WindowEvent e)
Invoked when a window is de-iconified.
|
void |
WindowListener.windowDeiconified(WindowEvent e)
Invoked when a window is changed from a minimized
to a normal state.
|
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 |
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.windowIconified(WindowEvent e)
Invoked when a window is iconified.
|
void |
WindowListener.windowIconified(WindowEvent e)
Invoked when a window is changed from a normal to a
minimized state.
|
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 |
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.windowOpened(WindowEvent e)
Invoked when a window has been opened.
|
void |
WindowListener.windowOpened(WindowEvent e)
Invoked the first time a window is made visible.
|
void |
WindowAdapter.windowStateChanged(WindowEvent e)
Invoked when a window state is changed.
|
void |
WindowStateListener.windowStateChanged(WindowEvent e)
Invoked when window state is changed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JDialog.processWindowEvent(WindowEvent e)
Handles window events depending on the state of the
defaultCloseOperation property. |
protected void |
JFrame.processWindowEvent(WindowEvent e)
Processes window events occurring on this component.
|
void |
JMenu.WinListener.windowClosing(WindowEvent e)
Deselect the menu when the popup is closed from outside.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicToolBarUI.FrameListener.windowClosing(WindowEvent w) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.