javax.swing.plaf.basic
Class BasicFileChooserUI.CancelSelectionAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by javax.swing.plaf.basic.BasicFileChooserUI.CancelSelectionAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
BasicFileChooserUI

protected class BasicFileChooserUI.CancelSelectionAction
extends AbstractAction

Handles an action to cancel the file chooser.

See Also:
BasicFileChooserUI.getCancelSelectionAction(), 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
 
Constructor Summary
protected BasicFileChooserUI.CancelSelectionAction()
          Creates a new CancelSelectionAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Cancels the selection and closes the dialog.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFileChooserUI.CancelSelectionAction

protected BasicFileChooserUI.CancelSelectionAction()
Creates a new CancelSelectionAction object.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Cancels the selection and closes the dialog.

Parameters:
e - the action event (ignored).