Module java.desktop
Package javax.swing
Class JComponent.AccessibleJComponent.AccessibleFocusHandler
java.lang.Object
javax.swing.JComponent.AccessibleJComponent.AccessibleFocusHandler
- All Implemented Interfaces:
FocusListener
,EventListener
- Enclosing class:
JComponent.AccessibleJComponent
@Deprecated
protected class JComponent.AccessibleJComponent.AccessibleFocusHandler
extends Object
implements FocusListener
Deprecated.
Fire PropertyChange listener, if one is registered,
when focus events happen
- Since:
- 1.3
-
Constructor Summary
ModifierConstructorDescriptionprotected
Deprecated.Constructs anAccessibleFocusHandler
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
focusGained
(FocusEvent event) Deprecated.Invoked when a component gains the keyboard focus.void
focusLost
(FocusEvent event) Deprecated.Invoked when a component loses the keyboard focus.
-
Constructor Details
-
AccessibleFocusHandler
protected AccessibleFocusHandler()Deprecated.Constructs anAccessibleFocusHandler
.
-
-
Method Details
-
focusGained
Deprecated.Description copied from interface:FocusListener
Invoked when a component gains the keyboard focus.- Specified by:
focusGained
in interfaceFocusListener
- Parameters:
event
- the event to be processed
-
focusLost
Deprecated.Description copied from interface:FocusListener
Invoked when a component loses the keyboard focus.- Specified by:
focusLost
in interfaceFocusListener
- Parameters:
event
- the event to be processed
-
java.awt.Component.AccessibleAWTComponent
provides the same functionality and it is handled inComponent
.