Uses of Class
java.awt.event.FocusEvent
-
Packages that use FocusEvent 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.event 提供用于处理AWT组件触发的不同类型事件的接口和类。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。javax.swing.plaf 提供一个接口和许多抽象类,Swing使用它们来提供其可插入的外观功能。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。 -
-
Uses of FocusEvent in java.awt
Methods in java.awt with parameters of type FocusEvent 变量和类型 方法 描述 void
AWTEventMulticaster. focusGained(FocusEvent e)
通过在侦听器-a和侦听器-b上调用focusGained方法处理focusGained事件。void
AWTEventMulticaster. focusLost(FocusEvent e)
通过在listener-a和listener-b上调用focusLost方法处理focusLost事件。protected void
Component. processFocusEvent(FocusEvent e)
进程通过将事件调度到任何已注册的FocusListener
对象来聚焦此组件上发生的事件。 -
Uses of FocusEvent in java.awt.event
Methods in java.awt.event with parameters of type FocusEvent 变量和类型 方法 描述 void
FocusAdapter. focusGained(FocusEvent e)
当组件获得键盘焦点时调用。void
FocusListener. focusGained(FocusEvent e)
当组件获得键盘焦点时调用。void
FocusAdapter. focusLost(FocusEvent e)
组件失去键盘焦点时调用。void
FocusListener. focusLost(FocusEvent e)
组件失去键盘焦点时调用。 -
Uses of FocusEvent in javax.swing
Methods in javax.swing with parameters of type FocusEvent 变量和类型 方法 描述 protected void
JFormattedTextField. processFocusEvent(FocusEvent e)
处理任何焦点事件,例如FocusEvent.FOCUS_GAINED
或FocusEvent.FOCUS_LOST
。 -
Uses of FocusEvent in javax.swing.plaf
Methods in javax.swing.plaf with parameters of type FocusEvent 变量和类型 方法 描述 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 变量和类型 方法 描述 void
BasicTreeUI.FocusHandler. focusGained(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 变量和类型 方法 描述 void
DefaultCaret. focusGained(FocusEvent e)
当包含插入符的组件获得焦点时调用。void
DefaultCaret. focusLost(FocusEvent e)
Called when the component containing the caret loses focus.
-