| 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.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 |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AWTEventMulticaster.focusGained(FocusEvent
Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.
|
void |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(FocusEvent
|
void |
AWTEventMulticaster.focusLost(FocusEvent
Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.
|
void |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(FocusEvent
|
protected void |
Component.processFocusEvent(FocusEvent
Processes focus events occurring on this component by dispatching them to any registered
FocusListener objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FocusAdapter.focusGained(FocusEvent
Invoked when a component gains the keyboard focus.
|
void |
FocusListener.focusGained(FocusEvent
Invoked when a component gains the keyboard focus.
|
void |
FocusAdapter.focusLost(FocusEvent
Invoked when a component loses the keyboard focus.
|
void |
FocusListener.focusLost(FocusEvent
Invoked when a component loses the keyboard focus.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusGained(FocusEvent
|
void |
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusLost(FocusEvent
|
protected void |
JFormattedTextField.processFocusEvent(FocusEvent
Processes any focus events, such as
FocusEvent.FOCUS_GAINED or
FocusEvent.FOCUS_LOST.
|
protected void |
JPopupMenu.processFocusEvent(FocusEvent
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
LayerUI.processFocusEvent(FocusEvent
Processes focus events occurring on the
JLayer or any of its subcomponents.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicSliderUI.FocusHandler.focusGained(FocusEvent
|
void |
BasicComboBoxEditor.focusGained(FocusEvent
|
void |
BasicTabbedPaneUI.FocusHandler.focusGained(FocusEvent
|
void |
BasicSplitPaneUI.FocusHandler.focusGained(FocusEvent
|
void |
BasicComboBoxUI.FocusHandler.focusGained(FocusEvent
|
void |
BasicToolBarUI.ToolBarFocusListener.focusGained(FocusEvent
|
void |
BasicTableUI.FocusHandler.focusGained(FocusEvent
|
void |
BasicButtonListener.focusGained(FocusEvent
|
void |
BasicListUI.FocusHandler.focusGained(FocusEvent
|
void |
BasicTreeUI.FocusHandler.focusGained(FocusEvent
Invoked when focus is activated on the tree we're in, redraws the lead row.
|
void |
BasicSliderUI.FocusHandler.focusLost(FocusEvent
|
void |
BasicComboBoxEditor.focusLost(FocusEvent
|
void |
BasicTabbedPaneUI.FocusHandler.focusLost(FocusEvent
|
void |
BasicSplitPaneUI.FocusHandler.focusLost(FocusEvent
|
void |
BasicComboBoxUI.FocusHandler.focusLost(FocusEvent
|
void |
BasicToolBarUI.ToolBarFocusListener.focusLost(FocusEvent
|
void |
BasicTableUI.FocusHandler.focusLost(FocusEvent
|
void |
BasicButtonListener.focusLost(FocusEvent
|
void |
BasicListUI.FocusHandler.focusLost(FocusEvent
|
void |
BasicTreeUI.FocusHandler.focusLost(FocusEvent
Invoked when focus is activated on the tree we're in, redraws the lead row.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCaret.focusGained(FocusEvent
Called when the component containing the caret gains focus.
|
void |
DefaultCaret.focusLost(FocusEvent
Called when the component containing the caret loses focus.
|