Package targetMotionModule.panels
Class MapPanel2D<T extends PamDataUnit>
java.lang.Object
targetMotionModule.panels.MapPanel<T>
targetMotionModule.panels.MapPanel2D<T>
- All Implemented Interfaces:
TMDialogComponent
-
Field Summary
Fields inherited from class targetMotionModule.panels.MapPanel
targetMotionDialog, targetMotionLocaliser -
Constructor Summary
ConstructorsConstructorDescriptionMapPanel2D(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionMainPanel<T> targetMotionDialog) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRun()voidEnable controls - based on event selection and other controlsgetPanel()voidvoidsettings()voidshowMap(boolean b) voidupdate(int flag) Updates the panel depending on the integer flag.voidZoom the plot in or out, centering the zoom about the current point
-
Constructor Details
-
MapPanel2D
public MapPanel2D(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionMainPanel<T> targetMotionDialog) - Parameters:
targetMotionLocaliser-targetMotionDialog-
-
-
Method Details
-
getPanel
- Specified by:
getPanelin interfaceTMDialogComponent- Specified by:
getPanelin classMapPanel<T extends PamDataUnit>- Returns:
- a panel to include in the main dialog
-
zoomPlot
Zoom the plot in or out, centering the zoom about the current point- Parameters:
point-unitsToScroll-
-
canRun
public boolean canRun()- 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 -
notifyNewResults
public void notifyNewResults()- Specified by:
notifyNewResultsin classMapPanel<T extends PamDataUnit>
-
settings
public void settings()- Specified by:
settingsin classMapPanel<T extends PamDataUnit>
-
showMap
public void showMap(boolean b) - Specified by:
showMapin classMapPanel<T extends PamDataUnit>
-
update
public void update(int flag) Description copied from interface:TMDialogComponentUpdates the panel depending on the integer flag.
-