Uses of Class
java.awt.event.FocusEvent
-
Packages that use FocusEvent 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.event 提供用于处理AWT组件触发的不同类型事件的接口和类。javafx.embed.swing 提供一组在Swing应用程序中使用JavaFX的类。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.plaf 提供一个接口和许多抽象类,Swing用来提供其可插拔的外观和感觉功能。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。 -
-
Uses of FocusEvent in java.awt
Methods in java.awt with parameters of type FocusEvent Modifier and Type 方法 描述 void
AWTEventMulticaster. focusGained(FocusEvent e)
通过在listener-a和listener-b上调用focusGained方法来处理focusGained事件。void
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler. focusGained(FocusEvent event)
void
AWTEventMulticaster. focusLost(FocusEvent e)
通过在listener-a和listener-b上调用focusLost方法来处理focusLost事件。void
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler. focusLost(FocusEvent event)
protected void
Component. processFocusEvent(FocusEvent e)
通过将这些事件发送到任何已注册的FocusListener
对象来处理发生在该组件上的焦点事件。 -
Uses of FocusEvent in java.awt.event
Methods in java.awt.event with parameters of type FocusEvent Modifier and Type 方法 描述 void
FocusAdapter. focusGained(FocusEvent e)
当组件获得键盘焦点时调用。void
FocusListener. focusGained(FocusEvent e)
当组件获得键盘焦点时调用。void
FocusAdapter. focusLost(FocusEvent e)
当组件丢失键盘焦点时调用。void
FocusListener. focusLost(FocusEvent e)
当组件丢失键盘焦点时调用。 -
Uses of FocusEvent in javafx.embed.swing
Methods in javafx.embed.swing with parameters of type FocusEvent Modifier and Type 方法 描述 protected void
JFXPanel. processFocusEvent(FocusEvent e)
覆盖Component.processFocusEvent(FocusEvent)
方法来将焦点事件分配给连接到此JFXPanel
的JavaFX场景。 -
Uses of FocusEvent in javax.swing
Methods in javax.swing with parameters of type FocusEvent Modifier and Type 方法 描述 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)
-
Uses of FocusEvent in javax.swing.plaf
Methods in javax.swing.plaf with parameters of type FocusEvent Modifier and Type 方法 描述 protected void
LayerUI. processFocusEvent(FocusEvent e, JLayer<? extends V> l)
处理发生在JLayer
或其任何子组件上的焦点事件。 -
Uses of FocusEvent in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type FocusEvent Modifier and Type 方法 描述 void
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
BasicSplitPaneUI.FocusHandler. focusGained(FocusEvent ev)
void
BasicTabbedPaneUI.FocusHandler. focusGained(FocusEvent e)
void
BasicTableUI.FocusHandler. focusGained(FocusEvent e)
void
BasicToolBarUI.ToolBarFocusListener. focusGained(FocusEvent e)
void
BasicTreeUI.FocusHandler. focusGained(FocusEvent e)
在我们所在的树上激活焦点时调用,重绘铅笔。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
BasicSplitPaneUI.FocusHandler. focusLost(FocusEvent ev)
void
BasicTabbedPaneUI.FocusHandler. focusLost(FocusEvent e)
void
BasicTableUI.FocusHandler. focusLost(FocusEvent e)
void
BasicToolBarUI.ToolBarFocusListener. focusLost(FocusEvent e)
void
BasicTreeUI.FocusHandler. focusLost(FocusEvent e)
在我们所在的树上激活焦点时调用,重绘铅笔。 -
Uses of FocusEvent in javax.swing.text
Methods in javax.swing.text with parameters of type FocusEvent Modifier and Type 方法 描述 void
DefaultCaret. focusGained(FocusEvent e)
当包含插入符号的组件获取焦点时调用。void
DefaultCaret. focusLost(FocusEvent e)
当包含插入符号的组件失去焦点时调用。
-