javax.swing.plaf.basic
Class BasicFileChooserUI.GoHomeAction

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

protected class BasicFileChooserUI.GoHomeAction
extends AbstractAction

An action that changes the file chooser to display the user's home directory.

See Also:
BasicFileChooserUI.getGoHomeAction(), 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.GoHomeAction()
          Creates a new GoHomeAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Sets the directory to the user's home directory, and repaints the file chooser component.
 
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.GoHomeAction

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

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Sets the directory to the user's home directory, and repaints the file chooser component.

Parameters:
e - the action event (ignored).