Package targetMotionOld.dialog
Class ModelResultPanel
java.lang.Object
targetMotionOld.dialog.ModelResultPanel
- 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
-
Constructor Summary
ConstructorsConstructorDescriptionModelResultPanel(TargetMotionLocaliser targetMotionLocaliser, TargetMotionDialog targetMotionDialog) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRun()voidEnable controls - based on event selection and other controlsgetPanel()voidvoidsetCurrentEventIndex(int eventIndex, Object sender) Current event has been set (possibly in one of the other panels)
-
Constructor Details
-
ModelResultPanel
public ModelResultPanel(TargetMotionLocaliser targetMotionLocaliser, TargetMotionDialog targetMotionDialog) - Parameters:
targetMotionLocaliser-targetMotionDialog-
-
-
Method Details
-
getPanel
- Specified by:
getPanelin interfaceTMDialogComponent- Returns:
- the mainPanel
-
setCurrentEventIndex
Description copied from interface:TMDialogComponentCurrent event has been set (possibly in one of the other panels)- Specified by:
setCurrentEventIndexin interfaceTMDialogComponent- Parameters:
sender-
-
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 interface:TMDialogComponentEnable controls - based on event selection and other controls- Specified by:
enableControlsin interfaceTMDialogComponent
-
notifyNewResults
public void notifyNewResults()
-