Uses of Interface
java.awt.event.FocusListener
-
Packages that use FocusListener 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.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those 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.javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.javax.swing.table Provides classes and interfaces for dealing withjavax.swing.JTable
.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. -
-
Uses of FocusListener in java.awt
Classes in java.awt that implement FocusListener Modifier and Type Class and Description class
AWTEventMulticaster
AWTEventMulticaster
implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in thejava.awt.event
package.protected class
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happenFields in java.awt declared as FocusListener Modifier and Type Field and Description protected FocusListener
Component.AccessibleAWTComponent. accessibleAWTFocusHandler
Methods in java.awt that return FocusListener 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.Methods in java.awt with parameters of type FocusListener 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
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.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
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.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. -
Uses of FocusListener in java.awt.event
Classes in java.awt.event that implement FocusListener Modifier and Type Class and Description class
FocusAdapter
An abstract adapter class for receiving keyboard focus events. -
Uses of FocusListener in javax.accessibility
Methods in javax.accessibility with parameters of type FocusListener Modifier and Type Method and Description void
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
Classes in javax.swing that implement FocusListener Modifier and Type Class and Description protected class
JComponent.AccessibleJComponent.AccessibleFocusHandler
Fire PropertyChange listener, if one is registered, when focus events happenFields in javax.swing declared as FocusListener Modifier and Type Field and Description protected FocusListener
JComponent.AccessibleJComponent. accessibleFocusHandler
Deprecated.Methods in javax.swing with parameters of type FocusListener Modifier and Type Method and Description void
JTree.AccessibleJTree.AccessibleJTreeNode. addFocusListener(FocusListener l)
void
JList.AccessibleJList.AccessibleJListChild. addFocusListener(FocusListener l)
void
JTable.AccessibleJTable.AccessibleJTableCell. addFocusListener(FocusListener l)
void
JTree.AccessibleJTree.AccessibleJTreeNode. removeFocusListener(FocusListener l)
void
JList.AccessibleJList.AccessibleJListChild. removeFocusListener(FocusListener l)
void
JTable.AccessibleJTable.AccessibleJTableCell. removeFocusListener(FocusListener l)
-
Uses of FocusListener in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement FocusListener Modifier and Type Class and Description class
BasicButtonListener
Button Listenerclass
BasicComboBoxEditor
The default editor for editable combo boxes.static class
BasicComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.class
BasicComboBoxUI.FocusHandler
This listener hides the popup when the focus is lost.class
BasicListUI.FocusHandler
This class should be treated as a "protected" inner class.class
BasicSliderUI.FocusHandler
Focus-change listener.class
BasicSplitPaneUI.FocusHandler
Implementation of the FocusListener that the JSplitPane UI uses.class
BasicTabbedPaneUI.FocusHandler
This class should be treated as a "protected" inner class.class
BasicTableUI.FocusHandler
This class should be treated as a "protected" inner class.static class
BasicTextUI.BasicCaret
protected class
BasicToolBarUI.ToolBarFocusListener
class
BasicTreeUI.FocusHandler
Repaints the lead selection row when focus is lost/gained.Fields in javax.swing.plaf.basic declared as FocusListener Modifier and Type Field and Description protected FocusListener
BasicListUI. focusListener
protected FocusListener
BasicTableUI. focusListener
protected FocusListener
BasicSplitPaneUI. focusListener
Instance of the FocusListener for this JSplitPane.protected FocusListener
BasicSliderUI. focusListener
protected FocusListener
BasicTabbedPaneUI. focusListener
protected FocusListener
BasicComboBoxUI. focusListener
This protected field is implementation specific.protected FocusListener
BasicToolBarUI. toolBarFocusListener
Methods in javax.swing.plaf.basic that return FocusListener Modifier and Type Method and Description protected FocusListener
BasicListUI. createFocusListener()
protected FocusListener
BasicTableUI. createFocusListener()
Creates the focus listener for handling keyboard navigation in the JTable.protected FocusListener
BasicSplitPaneUI. createFocusListener()
Creates a FocusListener for the JSplitPane UI.protected FocusListener
BasicTabbedPaneUI. createFocusListener()
protected FocusListener
BasicComboBoxUI. createFocusListener()
Creates aFocusListener
which will be added to the combo box.protected FocusListener
BasicTreeUI. createFocusListener()
Creates a listener that is responsible for updating the display when focus is lost/gained.protected FocusListener
BasicSliderUI. createFocusListener(JSlider slider)
protected FocusListener
BasicToolBarUI. createToolBarFocusListener()
-
Uses of FocusListener in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal that implement FocusListener Modifier and Type Class and Description class
MetalComboBoxEditor
The default editor for Metal editable combo boxesstatic class
MetalComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource. -
Uses of FocusListener in javax.swing.table
Methods in javax.swing.table with parameters of type FocusListener Modifier and Type Method and Description void
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry. addFocusListener(FocusListener l)
void
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry. removeFocusListener(FocusListener l)
-
Uses of FocusListener in javax.swing.text
Classes in javax.swing.text that implement FocusListener Modifier and Type Class and Description class
DefaultCaret
A default implementation of Caret.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.