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. |
protected class |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered,
when focus events happen
|
Modifier and Type | Field and Description |
---|---|
protected FocusListener |
Component.AccessibleAWTComponent.accessibleAWTFocusHandler
|
Modifier and Type | Method and Description |
---|---|
static FocusListener |
AWTEventMulticaster.add(FocusListener a,
FocusListener b)
Adds focus-listener-a with focus-listener-b and
returns the resulting multicast listener.
|
FocusListener[] |
Component.getFocusListeners()
Returns an array of all the focus listeners
registered on this component.
|
static FocusListener |
AWTEventMulticaster.remove(FocusListener l,
FocusListener oldl)
Removes the old focus-listener from focus-listener-l and
returns the resulting multicast listener.
|
Modifier and Type | Method and Description |
---|---|
static FocusListener |
AWTEventMulticaster.add(FocusListener a,
FocusListener b)
Adds focus-listener-a with focus-listener-b and
returns the resulting multicast listener.
|
void |
MenuComponent.AccessibleAWTMenuComponent.addFocusListener(FocusListener l)
Adds the specified focus listener to receive focus events from this
component.
|
void |
List.AccessibleAWTList.AccessibleAWTListChild.addFocusListener(FocusListener l)
Adds the specified focus listener to receive focus events from
this component.
|
void |
Component.addFocusListener(FocusListener l)
Adds the specified focus listener to receive focus events from
this component when this component gains input focus.
|
void |
Component.AccessibleAWTComponent.addFocusListener(FocusListener l)
Adds the specified focus listener to receive focus events from this
component.
|
static FocusListener |
AWTEventMulticaster.remove(FocusListener l,
FocusListener oldl)
Removes the old focus-listener from focus-listener-l and
returns the resulting multicast listener.
|
void |
MenuComponent.AccessibleAWTMenuComponent.removeFocusListener(FocusListener l)
Removes the specified focus listener so it no longer receives focus
events from this component.
|
void |
List.AccessibleAWTList.AccessibleAWTListChild.removeFocusListener(FocusListener l)
Removes the specified focus listener so it no longer receives
focus events from this component.
|
void |
Component.removeFocusListener(FocusListener l)
Removes the specified focus listener so that it no longer
receives focus events from this component.
|
void |
Component.AccessibleAWTComponent.removeFocusListener(FocusListener l)
Removes the specified focus listener so it no longer receives focus
events from this component.
|
Modifier and Type | Class and Description |
---|---|
class |
FocusAdapter
An abstract adapter class for receiving keyboard focus events.
|