- java.lang.Object
-
- javax.swing.plaf.basic.BasicToolBarUI.ToolBarFocusListener
-
- All Implemented Interfaces:
-
FocusListener
,EventListener
- Enclosing class:
- BasicToolBarUI
protected class BasicToolBarUI.ToolBarFocusListener extends Object implements FocusListener
班级聆听焦点事件。
-
-
构造方法摘要
构造方法 Modifier Constructor 描述 protected
ToolBarFocusListener()
-
-
-
方法详细信息
-
focusGained
public void focusGained(FocusEvent e)
说明从界面FocusListener
复制当组件获得键盘焦点时调用。- Specified by:
-
focusGained
在接口FocusListener
- 参数
-
e
- 要处理的事件
-
focusLost
public void focusLost(FocusEvent e)
描述从接口FocusListener
复制当组件丢失键盘焦点时调用。- Specified by:
-
focusLost
接口FocusListener
- 参数
-
e
- the event to be processed
-
-