- java.lang.Object
-
- javax.swing.AbstractAction
-
- javax.swing.plaf.basic.BasicFileChooserUI.GoHomeAction
-
- All Implemented Interfaces:
-
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- BasicFileChooserUI
protected class BasicFileChooserUI.GoHomeAction extends AbstractAction
在“家”键事件或等效事件上行事。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
构造方法摘要
构造方法 Modifier Constructor 描述 protected
GoHomeAction()
构造一个GoHomeAction
。
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 void
actionPerformed(ActionEvent e)
发生动作时调用。-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
方法详细信息
-
actionPerformed
public void actionPerformed(ActionEvent e)
描述从接口ActionListener
复制发生动作时调用。- 参数
-
e
- 要处理的事件
-
-