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.
|
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 WindowFocusListener |
AWTEventMulticaster.add(WindowFocusListener a,
WindowFocusListener b)
Adds window-focus-listener-a with window-focus-listener-b
and returns the resulting multicast listener.
|
WindowFocusListener[] |
Window.getWindowFocusListeners()
Returns an array of all the window focus listeners
registered on this window.
|
static WindowFocusListener |
AWTEventMulticaster.remove(WindowFocusListener l,
WindowFocusListener oldl)
Removes the old window-focus-listener from window-focus-listener-l
and returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static WindowFocusListener |
AWTEventMulticaster.add(WindowFocusListener a,
WindowFocusListener b)
Adds window-focus-listener-a with window-focus-listener-b
and returns the resulting multicast listener.
|
void |
Window.addWindowFocusListener(WindowFocusListener l)
Adds the specified window focus listener to receive window events
from this window.
|
static WindowFocusListener |
AWTEventMulticaster.remove(WindowFocusListener l,
WindowFocusListener oldl)
Removes the old window-focus-listener from window-focus-listener-l
and returns the resulting multicast listener.
|
void |
Window.removeWindowFocusListener(WindowFocusListener l)
Removes the specified window focus 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.
|