|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.essex.common.action.impl.DefaultFileHandler
public class DefaultFileHandler
Date: 15-Jul-2002
Field Summary | |
---|---|
protected ApplicationFrame |
appFrame
|
protected ApplicationFile |
currentFile
|
protected java.util.List |
fileList
A list of ApplicationFile objects |
protected FileOp |
fileOp
|
static java.lang.String |
NAME
|
Constructor Summary | |
---|---|
DefaultFileHandler()
|
Method Summary | |
---|---|
void |
addFile(ApplicationFile applicationFile)
Adds a file to the open file list |
ApplicationFile |
getCurrentFile()
Gets the currently selected file |
FileOp |
getFileOp()
Gets the FileOp that is used to read/write the application files |
java.util.List |
getFiles()
|
void |
removeFile(ApplicationFile applicationFile)
Removes a file from the open file list |
void |
setCurrentFile(ApplicationFile 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 |
---|
public static final java.lang.String NAME
protected java.util.List fileList
ApplicationFile
objects
protected ApplicationFile currentFile
protected FileOp fileOp
protected ApplicationFrame appFrame
Constructor Detail |
---|
public DefaultFileHandler()
Method Detail |
---|
public ApplicationFile getCurrentFile()
FileHandler
getCurrentFile
in interface FileHandler
public void setCurrentFile(ApplicationFile applicationFile)
FileHandler
setCurrentFile
in interface FileHandler
applicationFile
- public void addFile(ApplicationFile applicationFile)
FileHandler
addFile
in interface FileHandler
applicationFile
- public void removeFile(ApplicationFile applicationFile)
FileHandler
removeFile
in interface FileHandler
applicationFile
- public FileOp getFileOp()
FileHandler
FileOp
that is used to read/write the application files
getFileOp
in interface FileHandler
public java.util.List getFiles()
getFiles
in interface FileHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |