uk.ac.essex.ia.opview
Class OVFileHandler
java.lang.Object
uk.ac.essex.common.action.impl.FileHandlerImpl<OperationFile>
uk.ac.essex.ia.opview.OVFileHandler
- All Implemented Interfaces:
- java.util.EventListener, ActionHandler, FileHandler<OperationFile>, ViewChangeListener
public class OVFileHandler
- extends FileHandlerImpl<OperationFile>
- implements ViewChangeListener
Date: 15-Jul-2002
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appFrame
protected ApplicationFrame appFrame
OVFileHandler
public OVFileHandler(ApplicationFrame opFrame)
- Parameters:
opFrame
-
addFile
public void addFile(OperationFile iaFile)
- Description copied from interface:
FileHandler
- Adds a file to the open file list
- Specified by:
addFile
in interface FileHandler<OperationFile>
- Overrides:
addFile
in class FileHandlerImpl<OperationFile>
- Parameters:
iaFile
-
getCurrentFile
public OperationFile getCurrentFile()
- Description copied from interface:
FileHandler
- Gets the currently selected file
- Specified by:
getCurrentFile
in interface FileHandler<OperationFile>
- Overrides:
getCurrentFile
in class FileHandlerImpl<OperationFile>
- Returns:
removeFile
public void removeFile(OperationFile iaFile)
- Description copied from interface:
FileHandler
- Removes a file from the open file list
- Specified by:
removeFile
in interface FileHandler<OperationFile>
- Overrides:
removeFile
in class FileHandlerImpl<OperationFile>
getFileOp
public FileOp getFileOp()
- Description copied from interface:
FileHandler
- Gets the
FileOp
that is used to read/write the application files
- Specified by:
getFileOp
in interface FileHandler<OperationFile>
- Overrides:
getFileOp
in class FileHandlerImpl<OperationFile>
- Returns:
fireViewChanged
public void fireViewChanged(javax.swing.JPanel oldView,
javax.swing.JPanel newView)
- This event is fired in response to view change in an MDI application
- Specified by:
fireViewChanged
in interface ViewChangeListener
fireViewClosed
public void fireViewClosed(javax.swing.JPanel view)
- Specified by:
fireViewClosed
in interface ViewChangeListener
- Parameters:
view
-