public class MapController extends PamControlledUnit
Modifier and Type | Field and Description |
---|---|
static int |
MOUSE_MEASURE |
static int |
MOUSE_PAN |
static java.lang.String |
unitType |
Constructor and Description |
---|
MapController(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addMouseAdapter(java.awt.event.MouseAdapter mouseAdapter) |
void |
addMouseAdapterToMapPanel(java.awt.event.MouseAdapter mouseAdapter) |
java.util.ArrayList<MapContourValues> |
getContourPoints() |
LatLong |
getMapCentreLatLong() |
double |
getMapStuff() |
MapTabPanelControl |
getMapTabPanelControl() |
int |
getMaxInterpolationTime() |
static LatLong |
getMouseClickLatLong() |
int |
getMouseMoveAction() |
javax.swing.JMenuBar |
getTabSpecificMenuBar(java.awt.Frame parentFrame,
javax.swing.JMenuBar standardMenu,
PamGui pamGui)
Create a tab specific menu to go with this PamControlledUnit.
|
void |
mapCanScroll(boolean b) |
void |
notifyModelChanged(int changeType)
General notification when the PAMGAURD model changes.
|
void |
refreshDetectorList() |
boolean |
removeUnit()
Called to remove a unit.
|
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canClose, canPlayViewerSound, createDetectionMenu, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
public static final java.lang.String unitType
public static final int MOUSE_PAN
public static final int MOUSE_MEASURE
public boolean removeUnit()
PamControlledUnit
removeUnit
in class PamControlledUnit
public javax.swing.JMenuBar getTabSpecificMenuBar(java.awt.Frame parentFrame, javax.swing.JMenuBar standardMenu, PamGui pamGui)
PamControlledUnit
Default is to throw back the standard menu to be used. This function should clone the standard menu and then modify the clone (usually by replacing the Display sub menu)
getTabSpecificMenuBar
in class PamControlledUnit
standardMenu
- the standard menu for the Pam GUI.public java.util.ArrayList<MapContourValues> getContourPoints()
public void notifyModelChanged(int changeType)
PamControlledUnit
notifyModelChanged
in class PamControlledUnit
changeType
- type of changepublic int getMaxInterpolationTime()
public void addMouseAdapter(java.awt.event.MouseAdapter mouseAdapter)
public MapTabPanelControl getMapTabPanelControl()
public double getMapStuff()
public void addMouseAdapterToMapPanel(java.awt.event.MouseAdapter mouseAdapter)
public void mapCanScroll(boolean b)
public LatLong getMapCentreLatLong()
public void refreshDetectorList()
public static LatLong getMouseClickLatLong()
public int getMouseMoveAction()