Map
Class MapTabPanelControl

java.lang.Object
  extended by Map.MapTabPanelControl
All Implemented Interfaces:
PamTabPanel

public class MapTabPanelControl
extends java.lang.Object
implements PamTabPanel


Field Summary
(package private)  MapController mapController
           
(package private)  SimpleMap simpleMap
           
 
Constructor Summary
MapTabPanelControl(MapController mapController)
           
 
Method Summary
 void addMouseAdapterToMapPanel(java.awt.event.MouseAdapter mouseAdapter)
           
 javax.swing.JMenu createMenu(java.awt.Frame parentFrame)
           
 javax.swing.JComponent getPanel()
           
 SimpleMap getSimpleMap()
           
 javax.swing.JToolBar getToolBar()
           
 void mapCanScroll(boolean b)
           
 void refreshDetectorList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleMap

SimpleMap simpleMap

mapController

MapController mapController
Constructor Detail

MapTabPanelControl

MapTabPanelControl(MapController mapController)
Method Detail

createMenu

public javax.swing.JMenu createMenu(java.awt.Frame parentFrame)
Specified by:
createMenu in interface PamTabPanel
Returns:
a JMeny for the panel

getPanel

public javax.swing.JComponent getPanel()
Specified by:
getPanel in interface PamTabPanel
Returns:
Reference to a graphics component that can be added to the view. This will typically be a JPanel or a JInternalFrame;

getToolBar

public javax.swing.JToolBar getToolBar()
Specified by:
getToolBar in interface PamTabPanel
Returns:
a JToolbas associated with this tab. This will only be displayed when the current tab is activated

getSimpleMap

public SimpleMap getSimpleMap()

addMouseAdapterToMapPanel

public void addMouseAdapterToMapPanel(java.awt.event.MouseAdapter mouseAdapter)
Parameters:
mouseAdapter -

mapCanScroll

public void mapCanScroll(boolean b)

refreshDetectorList

public void refreshDetectorList()