- java.lang.Object
-
- javax.swing.AbstractAction
-
- javax.swing.plaf.basic.BasicDesktopPaneUI.OpenAction
-
- All Implemented Interfaces:
-
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- BasicDesktopPaneUI
protected class BasicDesktopPaneUI.OpenAction extends AbstractAction
处理恢复最小化或最大化的内部框架。- 从以下版本开始:
- 1.3
- 另请参见:
- 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
OpenAction()
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 void
actionPerformed(ActionEvent evt)
发生动作时调用。boolean
isEnabled()
如果启用该操作,则返回true。-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
方法详细信息
-
actionPerformed
public void actionPerformed(ActionEvent evt)
描述从接口ActionListener
复制发生动作时调用。- 参数
-
evt
- 要处理的事件
-
isEnabled
public boolean isEnabled()
描述从类复制:AbstractAction
如果启用该操作,则返回true。- Specified by:
-
isEnabled
在接口Action
- 重写:
-
isEnabled
在AbstractAction
- 结果
- 如果启用该操作,则为true,否则为false
- 另请参见:
-
Action.isEnabled()
-
-