Class cynosurex.awt.FileDirList
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
-
ParentDirStr
-
-
FileDirList(File)
-
-
FileDirList(File, int, boolean)
-
-
FileDirList(String)
-
-
FileDirList(String, int, boolean)
-
-
getCurrentDirectory()
-
-
getCurrentDirectoryString()
-
-
getParentDirectory()
-
-
getParentDirectoryString()
-
-
getSelectedFile()
- Returns the current selected file.
-
getSelectedFileString()
- Returns the current selected file string.
-
handleEvent(Event)
-
-
setPathLabel(Label)
-
-
update()
-
ParentDirStr
public final static String ParentDirStr
FileDirList
public FileDirList(String directory) throws NotDirectoryException
FileDirList
public FileDirList(File directory) throws NotDirectoryException
FileDirList
public FileDirList(String directory,
int rows,
boolean multipleSelections) throws NotDirectoryException
FileDirList
public FileDirList(File directory,
int rows,
boolean multipleSelections) throws NotDirectoryException
update
public void update()
getParentDirectory
public File getParentDirectory()
getParentDirectoryString
public String getParentDirectoryString()
getCurrentDirectory
public File getCurrentDirectory()
getCurrentDirectoryString
public String getCurrentDirectoryString()
getSelectedFile
public File getSelectedFile()
- Returns the current selected file. If no file is selected,
this method returns null.
getSelectedFileString
public String getSelectedFileString()
- Returns the current selected file string. If no file is
selected, this method returns null.
setPathLabel
public void setPathLabel(Label pathLabel)
handleEvent
public boolean handleEvent(Event evt)
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index