JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.awt.event.FocusEvent

Packages that use FocusEvent
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.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.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of FocusEvent in java.awt
 

Methods in java.awt with parameters of type FocusEvent
 void AWTEventMulticaster.focusGained(FocusEvent e)
          Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.
 void AWTEventMulticaster.focusLost(FocusEvent e)
          Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.
protected  void Component.processFocusEvent(FocusEvent e)
          Processes focus events occurring on this component by dispatching them to any registered FocusListener objects.
 void Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(FocusEvent event)
           
 void Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(FocusEvent event)
           
 

Uses of FocusEvent in java.awt.event
 

Methods in java.awt.event with parameters of type FocusEvent
 void FocusAdapter.focusGained(FocusEvent e)
          Invoked when a component gains the keyboard focus.
 void FocusAdapter.focusLost(FocusEvent e)
          Invoked when a component loses the keyboard focus.
 void FocusListener.focusGained(FocusEvent e)
          Invoked when a component gains the keyboard focus.
 void FocusListener.focusLost(FocusEvent e)
          Invoked when a component loses the keyboard focus.
 

Uses of FocusEvent in javax.swing
 

Methods in javax.swing with parameters of type FocusEvent
protected  void JFormattedTextField.processFocusEvent(FocusEvent e)
          Processes any focus events, such as FocusEvent.FOCUS_GAINED or FocusEvent.FOCUS_LOST.
protected  void JPopupMenu.processFocusEvent(FocusEvent evt)
           
 void JComponent.AccessibleJComponent.AccessibleFocusHandler.focusGained(FocusEvent event)
           
 void JComponent.AccessibleJComponent.AccessibleFocusHandler.focusLost(FocusEvent event)
           
 

Uses of FocusEvent in javax.swing.plaf.basic
 

Methods in javax.swing.plaf.basic with parameters of type FocusEvent
 void BasicTreeUI.FocusHandler.focusGained(FocusEvent e)
          Invoked when focus is activated on the tree we're in, redraws the lead row.
 void BasicTreeUI.FocusHandler.focusLost(FocusEvent e)
          Invoked when focus is activated on the tree we're in, redraws the lead row.
 void BasicToolBarUI.ToolBarFocusListener.focusGained(FocusEvent e)
           
 void BasicToolBarUI.ToolBarFocusListener.focusLost(FocusEvent e)
           
 void BasicTableUI.FocusHandler.focusGained(FocusEvent e)
           
 void BasicTableUI.FocusHandler.focusLost(FocusEvent e)
           
 void BasicTabbedPaneUI.FocusHandler.focusGained(FocusEvent e)
           
 void BasicTabbedPaneUI.FocusHandler.focusLost(FocusEvent e)
           
 void BasicSplitPaneUI.FocusHandler.focusGained(FocusEvent ev)
           
 void BasicSplitPaneUI.FocusHandler.focusLost(FocusEvent ev)
           
 void BasicSliderUI.FocusHandler.focusGained(FocusEvent e)
           
 void BasicSliderUI.FocusHandler.focusLost(FocusEvent e)
           
 void BasicListUI.FocusHandler.focusGained(FocusEvent e)
           
 void BasicListUI.FocusHandler.focusLost(FocusEvent e)
           
 void BasicComboBoxUI.FocusHandler.focusGained(FocusEvent e)
           
 void BasicComboBoxUI.FocusHandler.focusLost(FocusEvent e)
           
 void BasicComboBoxEditor.focusGained(FocusEvent e)
           
 void BasicComboBoxEditor.focusLost(FocusEvent e)
           
 void BasicButtonListener.focusGained(FocusEvent e)
           
 void BasicButtonListener.focusLost(FocusEvent e)
           
 

Uses of FocusEvent in javax.swing.text
 

Methods in javax.swing.text with parameters of type FocusEvent
 void DefaultCaret.focusGained(FocusEvent e)
          Called when the component containing the caret gains focus.
 void DefaultCaret.focusLost(FocusEvent e)
          Called when the component containing the caret loses focus.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

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

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.