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 with
javax.swing.JTable . |
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Class and Description |
---|---|
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
|
Modifier and Type | Field and Description |
---|---|
protected FocusListener |
Component.AccessibleAWTComponent.accessibleAWTFocusHandler |
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.
|
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 |
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.
|
void |
MenuComponent.AccessibleAWTMenuComponent.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 |
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.
|
void |
MenuComponent.AccessibleAWTMenuComponent.removeFocusListener(FocusListener l)
Removes the specified focus listener so it no longer receives focus
events from this component.
|
Modifier and Type | Class and Description |
---|---|
class |
FocusAdapter
An abstract adapter class for receiving keyboard focus events.
|
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.
|
Modifier and Type | Class and Description |
---|---|
protected class |
JComponent.AccessibleJComponent.AccessibleFocusHandler
Fire PropertyChange listener, if one is registered,
when focus events happen
|
Modifier and Type | Field and Description |
---|---|
protected FocusListener |
JComponent.AccessibleJComponent.accessibleFocusHandler |
Modifier and Type | Method and Description |
---|---|
void |
JList.AccessibleJList.AccessibleJListChild.addFocusListener(FocusListener l) |
void |
JTree.AccessibleJTree.AccessibleJTreeNode.addFocusListener(FocusListener l) |
void |
JTable.AccessibleJTable.AccessibleJTableCell.addFocusListener(FocusListener l) |
void |
JList.AccessibleJList.AccessibleJListChild.removeFocusListener(FocusListener l) |
void |
JTree.AccessibleJTree.AccessibleJTreeNode.removeFocusListener(FocusListener l) |
void |
JTable.AccessibleJTable.AccessibleJTableCell.removeFocusListener(FocusListener l) |
Modifier and Type | Class and Description |
---|---|
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 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.
|
Modifier and Type | Field and Description |
---|---|
protected FocusListener |
BasicTableUI.focusListener |
protected FocusListener |
BasicSliderUI.focusListener |
protected FocusListener |
BasicComboBoxUI.focusListener
This protected field is implementation specific.
|
protected FocusListener |
BasicSplitPaneUI.focusListener
Instance of the FocusListener for this JSplitPane.
|
protected FocusListener |
BasicListUI.focusListener |
protected FocusListener |
BasicTabbedPaneUI.focusListener |
protected FocusListener |
BasicToolBarUI.toolBarFocusListener |
Modifier and Type | Method and Description |
---|---|
protected FocusListener |
BasicTableUI.createFocusListener()
Creates the focus listener for handling keyboard navigation in the JTable.
|
protected FocusListener |
BasicTreeUI.createFocusListener()
Creates a listener that is responsible for updating the display
when focus is lost/gained.
|
protected FocusListener |
BasicComboBoxUI.createFocusListener()
Creates a
FocusListener which will be added to the combo box. |
protected FocusListener |
BasicSplitPaneUI.createFocusListener()
Creates a FocusListener for the JSplitPane UI.
|
protected FocusListener |
BasicListUI.createFocusListener() |
protected FocusListener |
BasicTabbedPaneUI.createFocusListener() |
protected FocusListener |
BasicSliderUI.createFocusListener(JSlider slider) |
protected FocusListener |
BasicToolBarUI.createToolBarFocusListener() |
Modifier and Type | Class and Description |
---|---|
class |
MetalComboBoxEditor
The default editor for Metal editable combo boxes
|
static class |
MetalComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.
|
Modifier and Type | Method and Description |
---|---|
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.addFocusListener(FocusListener l) |
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.removeFocusListener(FocusListener l) |
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, 2015, Oracle and/or its affiliates. All rights reserved.