|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.Component
nextapp.echo.app.Column
com.sptci.echo.tree.filesystem.FileList
public class FileList
A component used to display the list of files that reside under a specified directory.
© Copyright 2009 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
protected File |
directory
The directory whose contents are being displayed. |
protected TableNavigation |
navigation
The table navigation component for paginating over the file list. |
protected File |
selected
The file that is currently selected in the table. |
protected DirectoryTable |
table
The table that displays the contents of directory. |
| Fields inherited from class nextapp.echo.app.Column |
|---|
PROPERTY_BORDER, PROPERTY_CELL_SPACING, PROPERTY_INSETS |
| Constructor Summary | |
|---|---|
FileList()
|
|
| Method Summary | |
|---|---|
File |
getDirectory()
|
File |
getSelected()
|
void |
init()
|
void |
setDirectory(File directory)
Set the directory whose contents are to be displayed in the component. |
void |
setSelected(File selected)
|
| Methods inherited from class nextapp.echo.app.Column |
|---|
getBorder, getCellSpacing, getInsets, setBorder, setCellSpacing, setInsets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File directory
protected DirectoryTable table
directory.
protected TableNavigation navigation
protected File selected
| Constructor Detail |
|---|
public FileList()
| Method Detail |
|---|
public void init()
init in class Componentpublic File getDirectory()
public void setDirectory(File directory)
table and navigation if they have been
initialised.
directory - The directory whose contents are to be displayed.public File getSelected()
public void setSelected(File selected)
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||