Uses of Class
java.awt.event.FocusEvent
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.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
Uses of FocusEvent in java.awt
Modifier and TypeMethodDescriptionvoid
AWTEventMulticaster.focusGained
(FocusEvent e) Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.void
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained
(FocusEvent event) void
AWTEventMulticaster.focusLost
(FocusEvent e) Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.void
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost
(FocusEvent event) protected void
Component.processFocusEvent
(FocusEvent e) Processes focus events occurring on this component by dispatching them to any registeredFocusListener
objects. -
Uses of FocusEvent in java.awt.event
Modifier and TypeMethodDescriptionvoid
FocusAdapter.focusGained
(FocusEvent e) Invoked when a component gains the keyboard focus.void
FocusListener.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.focusLost
(FocusEvent e) Invoked when a component loses the keyboard focus. -
Uses of FocusEvent in javax.swing
Modifier and TypeMethodDescriptionvoid
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusGained
(FocusEvent event) Deprecated.void
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusLost
(FocusEvent event) Deprecated.protected void
JFormattedTextField.processFocusEvent
(FocusEvent e) Processes any focus events, such asFocusEvent.FOCUS_GAINED
orFocusEvent.FOCUS_LOST
. -
Uses of FocusEvent in javax.swing.plaf
Modifier and TypeMethodDescriptionprotected void
LayerUI.processFocusEvent
(FocusEvent e, JLayer<? extends V> l) Processes focus events occurring on theJLayer
or any of its subcomponents. -
Uses of FocusEvent in javax.swing.plaf.basic
Modifier and TypeMethodDescriptionvoid
BasicButtonListener.focusGained
(FocusEvent e) void
BasicComboBoxEditor.focusGained
(FocusEvent e) void
BasicComboBoxUI.FocusHandler.focusGained
(FocusEvent e) void
BasicListUI.FocusHandler.focusGained
(FocusEvent e) void
BasicSliderUI.FocusHandler.focusGained
(FocusEvent e) void
BasicTableUI.FocusHandler.focusGained
(FocusEvent e) void
BasicToolBarUI.ToolBarFocusListener.focusGained
(FocusEvent e) void
BasicTreeUI.FocusHandler.focusGained
(FocusEvent e) Invoked when focus is activated on the tree we're in, redraws the lead row.void
BasicButtonListener.focusLost
(FocusEvent e) void
BasicComboBoxEditor.focusLost
(FocusEvent e) void
BasicComboBoxUI.FocusHandler.focusLost
(FocusEvent e) void
BasicListUI.FocusHandler.focusLost
(FocusEvent e) void
BasicSliderUI.FocusHandler.focusLost
(FocusEvent e) void
BasicTableUI.FocusHandler.focusLost
(FocusEvent e) void
BasicToolBarUI.ToolBarFocusListener.focusLost
(FocusEvent e) void
BasicTreeUI.FocusHandler.focusLost
(FocusEvent e) Invoked when focus is activated on the tree we're in, redraws the lead row. -
Uses of FocusEvent in javax.swing.text
Modifier and TypeMethodDescriptionvoid
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.