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
 
- 
Field Summary
Fields inherited from class targetMotionOld.dialog.DialogMap
targetMotionDialog, targetMotionLocaliser - 
Constructor Summary
ConstructorsConstructorDescriptionDialogMap2D(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionDialog<T> targetMotionDialog)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanRun()voidEnable controls - based on event selection and other controlsThe components colour scheme.getPanel()voidvoidsetCurrentEventIndex(int eventIndex, Object sender) Current event has been set (possibly in one of the other panels)voidsettings()voidshowMap(boolean b) voidZoom 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:
 getPanelin interfaceTMDialogComponent- Specified by:
 getPanelin classDialogMap<T extends GroupDetection>- Returns:
 - a panel to include in the main dialog
 
 - 
setCurrentEventIndex
Description copied from interface:TMDialogComponentCurrent event has been set (possibly in one of the other panels)- Specified by:
 setCurrentEventIndexin interfaceTMDialogComponent- Parameters:
 sender-
 - 
zoomPlot
Zoom the plot in or out, centering the zoom about the current point- Parameters:
 point-unitsToScroll-
 - 
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()- Specified by:
 notifyNewResultsin classDialogMap<T extends GroupDetection>
 - 
settings
public void settings()- Specified by:
 settingsin classDialogMap<T extends GroupDetection>
 - 
showMap
public void showMap(boolean b) - Specified by:
 showMapin classDialogMap<T extends GroupDetection>
 - 
getColorId
Description copied from interface:ColorManagedThe components colour scheme.- Specified by:
 getColorIdin interfaceColorManaged- Returns:
 - PamColor
 
 
 -