insensa.controller
Class CController
java.lang.Object
insensa.controller.CController
public class CController
- extends java.lang.Object
This class is the main class for setting action. CController knows the model
and View and changes information between them
- Author:
- dennis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
private CModel model
view
private CView view
folderFileChooser
private javax.swing.JFileChooser folderFileChooser
chooseOutput
private ChooseOutputDialog chooseOutput
exManager
private ExtensionManager exManager
listenerAdded
private boolean listenerAdded
imageViewToolBarController
private ImageViewToolBarController imageViewToolBarController
CController
public CController(CModel mModel,
CView mView,
ExtensionManager exManager)
- Parameters:
mModel
- mView
- exManager
- Constructor
All actions that should be defined at
startup are assign here
addNewActionListener
public void addNewActionListener()
- Defines all actions once a Project is opened.
getController
public CController getController()
- Returns:
setChooseOutput
public void setChooseOutput(ChooseOutputDialog chooseOutput)
- Parameters:
chooseOutput
-
setProperties
public void setProperties(CRasterFileInformation rasterFile)
- Parameters:
rasterFile
-
treePopupFunction
public void treePopupFunction(java.awt.event.MouseEvent e)
- Parameters:
e
-