软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Method and Description |
---|---|
void |
AWTEventMulticaster.focusGained(FocusEvent e)
处理focusgained事件通过调用focusgained方法对listener-a和listener-b.
|
void |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(FocusEvent event) |
void |
AWTEventMulticaster.focusLost(FocusEvent e)
处理focuslost事件通过调用focuslost方法对listener-a和listener-b.
|
void |
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(FocusEvent event) |
protected void |
Component.processFocusEvent(FocusEvent e)
过程发生在该组件的集中调度到任何注册
FocusListener 对象的事件。
|
Modifier and Type | Method and Description |
---|---|
void |
FocusListener.focusGained(FocusEvent e)
当一个组件获取键盘焦点时调用。
|
void |
FocusAdapter.focusGained(FocusEvent e)
当一个组件获取键盘焦点时调用。
|
void |
FocusListener.focusLost(FocusEvent e)
当一个组件丢失键盘焦点时调用。
|
void |
FocusAdapter.focusLost(FocusEvent e)
当一个组件丢失键盘焦点时调用。
|
Modifier and Type | Method and Description |
---|---|
void |
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusGained(FocusEvent event) |
void |
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusLost(FocusEvent event) |
protected void |
JFormattedTextField.processFocusEvent(FocusEvent e)
处理任何焦点事件,如
FocusEvent.FOCUS_GAINED 或
FocusEvent.FOCUS_LOST 。
|
protected void |
JPopupMenu.processFocusEvent(FocusEvent evt) |
Modifier and Type | Method and Description |
---|---|
protected void |
LayerUI.processFocusEvent(FocusEvent e, JLayer<? extends V> l)
过程集中在
JLayer 或其任何部分发生的事件。
|
Modifier and Type | Method and Description |
---|---|
void |
BasicComboBoxEditor.focusGained(FocusEvent e) |
void |
BasicSplitPaneUI.FocusHandler.focusGained(FocusEvent ev) |
void |
BasicListUI.FocusHandler.focusGained(FocusEvent e) |
void |
BasicButtonListener.focusGained(FocusEvent e) |
void |
BasicTreeUI.FocusHandler.focusGained(FocusEvent e)
调用时,关注的是我们在树激活,重铅排。
|
void |
BasicTableUI.FocusHandler.focusGained(FocusEvent e) |
void |
BasicComboBoxUI.FocusHandler.focusGained(FocusEvent e) |
void |
BasicToolBarUI.ToolBarFocusListener.focusGained(FocusEvent e) |
void |
BasicTabbedPaneUI.FocusHandler.focusGained(FocusEvent e) |
void |
BasicSliderUI.FocusHandler.focusGained(FocusEvent e) |
void |
BasicComboBoxEditor.focusLost(FocusEvent e) |
void |
BasicSplitPaneUI.FocusHandler.focusLost(FocusEvent ev) |
void |
BasicListUI.FocusHandler.focusLost(FocusEvent e) |
void |
BasicButtonListener.focusLost(FocusEvent e) |
void |
BasicTreeUI.FocusHandler.focusLost(FocusEvent e)
调用时,关注的是我们在树激活,重铅排。
|
void |
BasicTableUI.FocusHandler.focusLost(FocusEvent e) |
void |
BasicComboBoxUI.FocusHandler.focusLost(FocusEvent e) |
void |
BasicToolBarUI.ToolBarFocusListener.focusLost(FocusEvent e) |
void |
BasicTabbedPaneUI.FocusHandler.focusLost(FocusEvent e) |
void |
BasicSliderUI.FocusHandler.focusLost(FocusEvent e) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCaret.focusGained(FocusEvent e)
当含有插入增益组件焦点。
|
void |
DefaultCaret.focusLost(FocusEvent e)
含插入组件失去焦点时。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.