Class BasicDesktopPaneUI.OpenAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.plaf.basic.BasicDesktopPaneUI.OpenAction
- All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
BasicDesktopPaneUI
Handles restoring a minimized or maximized internal frame.
- Since:
- 1.3
-
Field Summary
Fields inherited from class AbstractAction
changeSupport, enabled
Fields inherited from interface 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an action occurs.boolean
Returns true if the action is enabled.Methods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
OpenAction
protected OpenAction()Constructs anOpenAction
.
-
-
Method Details
-
actionPerformed
Description copied from interface:ActionListener
Invoked when an action occurs.- Parameters:
evt
- the event to be processed
-
isEnabled
public boolean isEnabled()Description copied from class:AbstractAction
Returns true if the action is enabled.- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classAbstractAction
- Returns:
- true if the action is enabled, false otherwise
- See Also:
-