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
ConstructorDescriptionModelResultPanel
(TargetMotionLocaliser targetMotionLocaliser, TargetMotionDialog targetMotionDialog) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canRun()
void
Enable controls - based on event selection and other controlsgetPanel()
void
void
setCurrentEventIndex
(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:
getPanel
in interfaceTMDialogComponent
- Returns:
- the mainPanel
-
setCurrentEventIndex
Description copied from interface:TMDialogComponent
Current event has been set (possibly in one of the other panels)- Specified by:
setCurrentEventIndex
in interfaceTMDialogComponent
-
canRun
public boolean canRun()- Specified by:
canRun
in interfaceTMDialogComponent
- Returns:
- true if settigns on this panel think it's possible to start a run
-
enableControls
public void enableControls()Description copied from interface:TMDialogComponent
Enable controls - based on event selection and other controls- Specified by:
enableControls
in interfaceTMDialogComponent
-
notifyNewResults
public void notifyNewResults()
-