Module java.desktop
Package javax.swing

Class JComponent.AccessibleJComponent.AccessibleFocusHandler

java.lang.Object
javax.swing.JComponent.AccessibleJComponent.AccessibleFocusHandler
所有已实现的接口:
FocusListener, EventListener
封闭类:
JComponent.AccessibleJComponent

@Deprecated protected class JComponent.AccessibleJComponent.AccessibleFocusHandler extends Object implements FocusListener
Deprecated.
This class is no longer used or needed. java.awt.Component.AccessibleAWTComponent provides the same functionality and it is handled in Component.
当焦点事件发生时触发PropertyChange监听器
自版本:
1.3
  • Constructor Details

    • AccessibleFocusHandler

      protected AccessibleFocusHandler()
      Deprecated.
      构造一个AccessibleFocusHandler
  • Method Details

    • focusGained

      public void focusGained(FocusEvent event)
      Deprecated.
      从接口中复制的描述: FocusListener
      当组件获得键盘焦点时调用。
      指定者:
      focusGained 在接口 FocusListener
      参数:
      event - 要处理的事件
    • focusLost

      public void focusLost(FocusEvent event)
      Deprecated.
      从接口中复制的描述: FocusListener
      当组件失去键盘焦点时调用。
      指定者:
      focusLost 在接口 FocusListener
      参数:
      event - 要处理的事件