com.sptci.echo.tree.filesystem
Class DirectoryListener
java.lang.Object
com.sptci.echo.Listener<FileSystemPane>
com.sptci.echo.tree.filesystem.DirectoryListener
- All Implemented Interfaces:
- Serializable, EventListener, ActionListener
public class DirectoryListener
- extends Listener<FileSystemPane>
An ActionListener used to handle events
generated when user selects a directory displayed in a FileSystemTree component.
© Copyright 2009 Sans
Pareil Technologies, Inc.
- Version:
- $Id: DirectoryListener.java 4858 2009-08-11 15:52:14Z rakesh $
- Author:
- Rakesh 2009-06-14
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryListener
public DirectoryListener()
actionPerformed
public void actionPerformed(ActionEvent actionEvent)
- Display the list of files under the current directory in the child
component.
getFile
protected File getFile(ActionEvent event)
- Return the directory that was selected in the tree.
- Parameters:
event - The action event fired from the tree.
- Returns:
- The directory that was selected.