javax.swing.plaf.basic
Class BasicFileChooserUI.GoHomeAction
java.lang.Object
javax.swing.AbstractAction
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
Method Summary |
void |
actionPerformed(ActionEvent e)
Sets the directory to the user's home directory, and repaints the
file chooser component. |
BasicFileChooserUI.GoHomeAction
protected BasicFileChooserUI.GoHomeAction()
- Creates a new
GoHomeAction
object.
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).