Java™ Platform
Standard Ed. 6

Uses of Interface
java.awt.event.FocusListener

Packages that use FocusListener
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 with javax.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
 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
 

Fields in java.awt declared as FocusListener
protected  FocusListener Component.AccessibleAWTComponent.accessibleAWTFocusHandler
           
 

Methods in java.awt that return FocusListener
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
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.
 

Uses of FocusListener in java.awt.event
 

Classes in java.awt.event that implement FocusListener
 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
 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
protected  class JComponent.AccessibleJComponent.AccessibleFocusHandler
          Fire PropertyChange listener, if one is registered, when focus events happen
 

Fields in javax.swing declared as FocusListener
protected  FocusListener JComponent.AccessibleJComponent.accessibleFocusHandler
           
 

Methods in javax.swing with parameters of type FocusListener
 void JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener(FocusListener l)
           
 void JTable.AccessibleJTable.AccessibleJTableCell.addFocusListener(FocusListener l)
           
 void JList.AccessibleJList.AccessibleJListChild.addFocusListener(FocusListener l)
           
 void JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener(FocusListener l)
           
 void JTable.AccessibleJTable.AccessibleJTableCell.removeFocusListener(FocusListener l)
           
 void JList.AccessibleJList.AccessibleJListChild.removeFocusListener(FocusListener l)
           
 

Uses of FocusListener in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement FocusListener
 class BasicButtonListener
          Button Listener
 class 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 inner class is marked "public" due to a compiler bug.
 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 inner class is marked "public" due to a compiler bug.
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
protected  FocusListener BasicTableUI.focusListener
           
protected  FocusListener BasicTabbedPaneUI.focusListener
           
protected  FocusListener BasicSliderUI.focusListener
           
protected  FocusListener BasicListUI.focusListener
           
protected  FocusListener BasicSplitPaneUI.focusListener
          Instance of the FocusListener for this JSplitPane.
protected  FocusListener BasicComboBoxUI.focusListener
          This protected field is implementation specific.
protected  FocusListener BasicToolBarUI.toolBarFocusListener
           
 

Methods in javax.swing.plaf.basic that return FocusListener
protected  FocusListener BasicTableUI.createFocusListener()
          Creates the focus listener for handling keyboard navigation in the JTable.
protected  FocusListener BasicTabbedPaneUI.createFocusListener()
           
protected  FocusListener BasicListUI.createFocusListener()
           
protected  FocusListener BasicTreeUI.createFocusListener()
          Creates a listener that is responsible for updating the display when focus is lost/gained.
protected  FocusListener BasicSplitPaneUI.createFocusListener()
          Creates a FocusListener for the JSplitPane UI.
protected  FocusListener BasicComboBoxUI.createFocusListener()
          Creates a FocusListener which will be added to the combo box.
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
 class MetalComboBoxEditor
          The default editor for Metal editable combo boxes
static 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
 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
 class DefaultCaret
          A default implementation of Caret.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.