javax.swing.plaf.basic

Class BasicDesktopPaneUI.CloseAction

Enclosing Class:
BasicDesktopPaneUI
Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

protected class BasicDesktopPaneUI.CloseAction
extends AbstractAction

See Also:
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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON

Method Summary

void
actionPerformed(ActionEvent evt)
boolean
isEnabled()
Returns true if the action is enabled.

Methods inherited from class javax.swing.AbstractAction

addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener

isEnabled

public boolean isEnabled()
Returns true if the action is enabled.
Specified by:
isEnabled in interface Action
Overrides:
isEnabled in interface AbstractAction
Returns:
true if the action is enabled, false otherwise