All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.FileDirList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.List
                   |
                   +----cynosurex.awt.FileDirList

public class FileDirList
extends List
implements ActionListener

Variable Index

 o ParentDirStr

Constructor Index

 o FileDirList(File)
 o FileDirList(File, int, boolean)
 o FileDirList(String)
 o FileDirList(String, int, boolean)

Method Index

 o actionPerformed(ActionEvent)
 o getCurrentDirectory()
 o getCurrentDirectoryString()
 o getParentDirectory()
 o getParentDirectoryString()
 o getSelectedFile()
Returns the current selected file.
 o getSelectedFileString()
Returns the current selected file string.
 o setPathLabel(Label)
 o update()

Variables

 o ParentDirStr
 public static final String ParentDirStr

Constructors

 o FileDirList
 public FileDirList(String directory) throws NotDirectoryException
 o FileDirList
 public FileDirList(File directory) throws NotDirectoryException
 o FileDirList
 public FileDirList(String directory,
                    int rows,
                    boolean multipleSelections) throws NotDirectoryException
 o FileDirList
 public FileDirList(File directory,
                    int rows,
                    boolean multipleSelections) throws NotDirectoryException

Methods

 o update
 public void update()
 o getParentDirectory
 public File getParentDirectory()
 o getParentDirectoryString
 public String getParentDirectoryString()
 o getCurrentDirectory
 public File getCurrentDirectory()
 o getCurrentDirectoryString
 public String getCurrentDirectoryString()
 o getSelectedFile
 public File getSelectedFile()
Returns the current selected file. If no file is selected, this method returns null.

 o getSelectedFileString
 public String getSelectedFileString()
Returns the current selected file string. If no file is selected, this method returns null.

 o setPathLabel
 public void setPathLabel(Label pathLabel)
 o actionPerformed
 public void actionPerformed(ActionEvent evt)

All Packages  Class Hierarchy  This Package  Previous  Next  Index