Package targetMotionModule.panels
Class MapPanel2D<T extends PamDataUnit>
java.lang.Object
targetMotionModule.panels.MapPanel<T>
targetMotionModule.panels.MapPanel2D<T>
- All Implemented Interfaces:
TMDialogComponent
-
Constructor Summary
ConstructorDescriptionMapPanel2D
(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionMainPanel<T> targetMotionDialog) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canRun()
void
Enable controls - based on event selection and other controlsgetPanel()
void
void
settings()
void
showMap
(boolean b) void
update
(int flag) Updates the panel depending on the integer flag.void
Zoom 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:
getPanel
in interfaceTMDialogComponent
- Specified by:
getPanel
in 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:TMDialogComponent
Enable controls - based on event selection and other controls -
notifyNewResults
public void notifyNewResults()- Specified by:
notifyNewResults
in classMapPanel<T extends PamDataUnit>
-
settings
public void settings()- Specified by:
settings
in classMapPanel<T extends PamDataUnit>
-
showMap
public void showMap(boolean b) - Specified by:
showMap
in classMapPanel<T extends PamDataUnit>
-
update
public void update(int flag) Description copied from interface:TMDialogComponent
Updates the panel depending on the integer flag.
-