Package targetMotionOld.dialog
Class DialogMap2D<T extends GroupDetection>
java.lang.Object
targetMotionOld.dialog.DialogMap<T>
targetMotionOld.dialog.DialogMap2D<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
ColorManaged
,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
ConstructorDescriptionDialogMap2D
(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionDialog<T> targetMotionDialog) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canRun()
void
Enable controls - based on event selection and other controlsThe components colour scheme.getPanel()
void
void
setCurrentEventIndex
(int eventIndex, Object sender) Current event has been set (possibly in one of the other panels)void
settings()
void
showMap
(boolean b) void
Zoom the plot in or out, centering the zoom about the current point
-
Constructor Details
-
DialogMap2D
public DialogMap2D(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionDialog<T> targetMotionDialog) - Parameters:
targetMotionLocaliser
-targetMotionDialog
-
-
-
Method Details
-
getPanel
- Specified by:
getPanel
in interfaceTMDialogComponent
- Specified by:
getPanel
in classDialogMap<T extends GroupDetection>
- Returns:
- a panel to include in the main dialog
-
setCurrentEventIndex
Description copied from interface:TMDialogComponent
Current event has been set (possibly in one of the other panels)- Specified by:
setCurrentEventIndex
in interfaceTMDialogComponent
-
zoomPlot
Zoom the plot in or out, centering the zoom about the current point- Parameters:
point
-unitsToScroll
-
-
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()- Specified by:
notifyNewResults
in classDialogMap<T extends GroupDetection>
-
settings
public void settings()- Specified by:
settings
in classDialogMap<T extends GroupDetection>
-
showMap
public void showMap(boolean b) - Specified by:
showMap
in classDialogMap<T extends GroupDetection>
-
getColorId
Description copied from interface:ColorManaged
The components colour scheme.- Specified by:
getColorId
in interfaceColorManaged
- Returns:
- PamColor
-