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 | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
event dispatching for the AWT events defined in the java.awt.event
package. |
Modifier and Type | Method and Description |
---|---|
static WindowListener |
AWTEventMulticaster.add(WindowListener a,
WindowListener b)
Adds window-listener-a with window-listener-b and
returns the resulting multicast listener.
|
WindowListener[] |
Window.getWindowListeners()
Returns an array of all the window listeners
registered on this window.
|
static WindowListener |
AWTEventMulticaster.remove(WindowListener l,
WindowListener oldl)
Removes the old window-listener from window-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static WindowListener |
AWTEventMulticaster.add(WindowListener a,
WindowListener b)
Adds window-listener-a with window-listener-b and
returns the resulting multicast listener.
|
void |
Window.addWindowListener(WindowListener l)
Adds the specified window listener to receive window events from
this window.
|
static WindowListener |
AWTEventMulticaster.remove(WindowListener l,
WindowListener oldl)
Removes the old window-listener from window-listener-l and
returns the resulting multicast listener.
|
void |
Window.removeWindowListener(WindowListener l)
Removes the specified window listener so that it no longer
receives window events from this window.
|
Modifier and Type | Class and Description |
---|---|
class |
WindowAdapter
An abstract adapter class for receiving window events.
|
Modifier and Type | Class and Description |
---|---|
protected class |
JMenu.WinListener
A listener class that watches for a popup window closing.
|
Modifier and Type | Class and Description |
---|---|
protected class |
BasicToolBarUI.FrameListener |
Modifier and Type | Method and Description |
---|---|
protected WindowListener |
BasicToolBarUI.createFrameListener() |
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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.