- java.lang.Object
-
- javax.swing.AbstractAction
-
- javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxAction
-
- All Implemented Interfaces:
-
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- MetalFileChooserUI
protected class MetalFileChooserUI.DirectoryComboBoxAction extends AbstractAction
当DirectoryComboBox更改所选项目时使用。- 另请参见:
- 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
DirectoryComboBoxAction()
构造一个新的实例DirectoryComboBoxAction
。
-
方法摘要
所有方法 接口方法 具体的方法 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
- 要处理的事件
-
-