Uses of Interface
java.awt.event.FocusListener
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Provides classes and interfaces for dealing with
javax.swing.JTable
.Provides classes and interfaces that deal with editable and noneditable text
components.
-
Uses of FocusListener in java.awt
Modifier and TypeClassDescriptionclass
AWTEventMulticaster
implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.event
package.protected class
Fire PropertyChange listener, if one is registered, when focus events happenModifier and TypeFieldDescriptionprotected FocusListener
Component.AccessibleAWTComponent.accessibleAWTFocusHandler
A listener to track focus events and convert them to PropertyChange events.Modifier and TypeMethodDescriptionstatic FocusListener
AWTEventMulticaster.add
(FocusListener a, FocusListener b) Adds focus-listener-a with focus-listener-b and returns the resulting multicast listener.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 TypeMethodDescriptionstatic FocusListener
AWTEventMulticaster.add
(FocusListener a, FocusListener b) Adds focus-listener-a with focus-listener-b and returns the resulting multicast listener.void
Component.AccessibleAWTComponent.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
List.AccessibleAWTList.AccessibleAWTListChild.addFocusListener
(FocusListener l) Adds the specified focus listener to receive focus events from this component.void
MenuComponent.AccessibleAWTMenuComponent.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
Component.AccessibleAWTComponent.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
List.AccessibleAWTList.AccessibleAWTListChild.removeFocusListener
(FocusListener l) Removes the specified focus listener so it no longer receives focus events from this component.void
MenuComponent.AccessibleAWTMenuComponent.removeFocusListener
(FocusListener l) Removes the specified focus listener so it no longer receives focus events from this component. -
Uses of FocusListener in java.awt.event
Modifier and TypeClassDescriptionclass
An abstract adapter class for receiving keyboard focus events. -
Uses of FocusListener in javax.accessibility
Modifier and TypeMethodDescriptionvoid
AccessibleComponent.addFocusListener
(FocusListener l) Adds the specified focus listener to receive focus events from this component.void
AccessibleComponent.removeFocusListener
(FocusListener l) Removes the specified focus listener so it no longer receives focus events from this component. -
Uses of FocusListener in javax.swing
Modifier and TypeClassDescriptionprotected class
Deprecated.This class is no longer used or needed.Modifier and TypeFieldDescriptionprotected FocusListener
JComponent.AccessibleJComponent.accessibleFocusHandler
Deprecated.Modifier and TypeMethodDescriptionvoid
JList.AccessibleJList.AccessibleJListChild.addFocusListener
(FocusListener l) void
JTable.AccessibleJTable.AccessibleJTableCell.addFocusListener
(FocusListener l) void
JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener
(FocusListener l) void
JList.AccessibleJList.AccessibleJListChild.removeFocusListener
(FocusListener l) void
JTable.AccessibleJTable.AccessibleJTableCell.removeFocusListener
(FocusListener l) void
JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener
(FocusListener l) -
Uses of FocusListener in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
Button Listenerclass
The default editor for editable combo boxes.static class
A subclass of BasicComboBoxEditor that implements UIResource.class
This listener hides the popup when the focus is lost.class
This class should be treated as a "protected" inner class.class
Focus-change listener.class
Implementation of the FocusListener that the JSplitPane UI uses.class
This class should be treated as a "protected" inner class.class
This class should be treated as a "protected" inner class.static class
Default implementation of the interfaceCaret
.protected class
The class listens for focus events.class
Repaints the lead selection row when focus is lost/gained.Modifier and TypeFieldDescriptionprotected FocusListener
BasicComboBoxUI.focusListener
This protected field is implementation specific.protected FocusListener
BasicListUI.focusListener
FocusListener
that attached toJList
.protected FocusListener
BasicSliderUI.focusListener
Focus listenerprotected FocusListener
BasicSplitPaneUI.focusListener
Instance of the FocusListener for this JSplitPane.protected FocusListener
BasicTabbedPaneUI.focusListener
Focus change listenerprotected FocusListener
BasicTableUI.focusListener
FocusListener
that are attached to theJTable
.protected FocusListener
BasicToolBarUI.toolBarFocusListener
The instance of aFocusListener
.Modifier and TypeMethodDescriptionprotected FocusListener
BasicComboBoxUI.createFocusListener()
Creates aFocusListener
which will be added to the combo box.protected FocusListener
BasicListUI.createFocusListener()
Returns an instance ofFocusListener
.protected FocusListener
BasicSliderUI.createFocusListener
(JSlider slider) Creates a focus listener.protected FocusListener
BasicSplitPaneUI.createFocusListener()
Creates aFocusListener
for theJSplitPane
UI.protected FocusListener
BasicTabbedPaneUI.createFocusListener()
Creates a focus listener.protected FocusListener
BasicTableUI.createFocusListener()
Creates the focus listener for handling keyboard navigation in theJTable
.protected FocusListener
BasicTreeUI.createFocusListener()
Creates a listener that is responsible for updating the display when focus is lost/gained.protected FocusListener
BasicToolBarUI.createToolBarFocusListener()
Returns an instance ofFocusListener
. -
Uses of FocusListener in javax.swing.plaf.metal
Modifier and TypeClassDescriptionclass
The default editor for Metal editable combo boxesstatic class
A subclass of BasicComboBoxEditor that implements UIResource. -
Uses of FocusListener in javax.swing.table
Modifier and TypeMethodDescriptionvoid
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.addFocusListener
(FocusListener l) void
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.removeFocusListener
(FocusListener l) -
Uses of FocusListener in javax.swing.text