|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.essex.common.action.impl.FileHandlerImpl<T>
public class FileHandlerImpl<T extends ApplicationFile>
Date: 15-Jul-2002
| Field Summary | |
|---|---|
protected ApplicationFrame |
appFrame
|
protected T |
currentFile
|
protected java.util.List<T> |
fileList
A list of ApplicationFile objects |
protected FileOp |
fileOp
|
| Fields inherited from interface uk.ac.essex.common.action.FileHandler |
|---|
NAME |
| Constructor Summary | |
|---|---|
FileHandlerImpl()
|
|
| Method Summary | |
|---|---|
void |
addFile(T applicationFile)
Adds a file to the open file list |
T |
getCurrentFile()
Gets the currently selected file |
FileOp |
getFileOp()
Gets the FileOp that is used to read/write the application files |
java.util.List<T> |
getFiles()
|
void |
removeFile(T applicationFile)
Removes a file from the open file list |
void |
setCurrentFile(T applicationFile)
Sets the currently selected file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<T extends ApplicationFile> fileList
ApplicationFile objects
protected T extends ApplicationFile currentFile
protected FileOp fileOp
protected ApplicationFrame appFrame
| Constructor Detail |
|---|
public FileHandlerImpl()
| Method Detail |
|---|
public T getCurrentFile()
FileHandler
getCurrentFile in interface FileHandler<T extends ApplicationFile>public void setCurrentFile(T applicationFile)
FileHandler
setCurrentFile in interface FileHandler<T extends ApplicationFile>applicationFile - public void addFile(T applicationFile)
FileHandler
addFile in interface FileHandler<T extends ApplicationFile>applicationFile - public void removeFile(T applicationFile)
FileHandler
removeFile in interface FileHandler<T extends ApplicationFile>applicationFile - public FileOp getFileOp()
FileHandlerFileOp that is used to read/write the application files
getFileOp in interface FileHandler<T extends ApplicationFile>public java.util.List<T> getFiles()
getFiles in interface FileHandler<T extends ApplicationFile>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||