javax.swing.plaf.basic
Class BasicFileChooserUI.NewFolderAction

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

protected class BasicFileChooserUI.NewFolderAction
extends AbstractAction

An action that handles the creation of a new folder/directory.

See Also:
BasicFileChooserUI.getNewFolderAction(), 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.NewFolderAction()
          Creates a new NewFolderAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Handles the event by creating a new folder.
 
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.NewFolderAction

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

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Handles the event by creating a new folder.

Parameters:
e - the action event (ignored).