Package targetMotionOld.dialog
Class TMModelControlPanel
java.lang.Object
Localiser.ModelControlPanel
targetMotionOld.dialog.TMModelControlPanel
- All Implemented Interfaces:
 TMDialogComponent
Reinstated Target motion add-in as used by the click detector. Hope one day still to replace this
 with Jamie's new one, but keep this one until Jamie's is working.
- Author:
 - Doug Gillespie
 
- 
Field Summary
Fields inherited from class Localiser.ModelControlPanel
settings - 
Constructor Summary
ConstructorsConstructorDescriptionTMModelControlPanel(TargetMotionLocaliser targetMotionLocaliser, TargetMotionDialog targetMotionDialog)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanRun()voidEnable the controls.getPanel()voidCalled whenever a model is enabled.voidsetCurrentEventIndex(int eventIndex, Object sender) Current event has been set (possibly in one of the other panels)Methods inherited from class Localiser.ModelControlPanel
getNModels, isEnabled, populateModelPanel, setEnable 
- 
Constructor Details
- 
TMModelControlPanel
public TMModelControlPanel(TargetMotionLocaliser targetMotionLocaliser, TargetMotionDialog targetMotionDialog) - Parameters:
 targetMotionLocaliser-targetMotionDialog-
 
 - 
 - 
Method Details
- 
modelEnable
public void modelEnable()Description copied from class:ModelControlPanelCalled whenever a model is enabled.- Overrides:
 modelEnablein classModelControlPanel
 - 
setCurrentEventIndex
Description copied from interface:TMDialogComponentCurrent event has been set (possibly in one of the other panels)- Specified by:
 setCurrentEventIndexin interfaceTMDialogComponent- Parameters:
 sender-
 - 
getPanel
- Specified by:
 getPanelin interfaceTMDialogComponent- Overrides:
 getPanelin classModelControlPanel- Returns:
 - the mainPanel
 
 - 
canRun
public boolean canRun()- Specified by:
 canRunin interfaceTMDialogComponent- Returns:
 - true if settigns on this panel think it's possible to start a run
 
 - 
enableControls
public void enableControls()Description copied from class:ModelControlPanelEnable the controls.- Specified by:
 enableControlsin interfaceTMDialogComponent- Overrides:
 enableControlsin classModelControlPanel
 
 -