Class IsisMapBean

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.bbn.openmap.gui.OMComponentPanel
com.bbn.openmap.gui.BasicMapPanel
com.bbn.openmap.gui.OverlayMapPanel
fr.ifremer.isisfish.map.IsisMapBean
All Implemented Interfaces:
com.bbn.openmap.gui.MapPanel, com.bbn.openmap.LightMapHandlerChild, com.bbn.openmap.PropertyConsumer, MapDataListener, ImageObserver, MenuContainer, BeanContextChild, BeanContextMembershipListener, PropertyChangeListener, Serializable, EventListener, Accessible

public class IsisMapBean extends com.bbn.openmap.gui.OverlayMapPanel implements MapDataListener
IsisMapBean.
See Also:
  • Field Details

    • mapDataProvider

      protected MapDataProvider mapDataProvider
    • pasMailleLatitude

      protected float pasMailleLatitude
    • pasMailleLongitude

      protected float pasMailleLongitude
    • minLatitude

      protected float minLatitude
    • maxLatitude

      protected float maxLatitude
    • minLongitude

      protected float minLongitude
    • maxLongitude

      protected float maxLongitude
    • orderedListener

      protected List<com.bbn.openmap.event.MapMouseListener> orderedListener
    • layerHandler

      protected com.bbn.openmap.LayerHandler layerHandler
    • currentMouseMode

      protected com.bbn.openmap.event.MapMouseMode currentMouseMode
    • md

      protected com.bbn.openmap.MouseDelegator md
    • activeSelectionLayer

      protected CellSelectionLayer activeSelectionLayer
    • selectionMode

      protected int selectionMode
    • SCALE

      protected static final float SCALE
      See Also:
  • Constructor Details

    • IsisMapBean

      public IsisMapBean()
  • Method Details

    • init

      public void init()
    • setActiveMouseMode

      public void setActiveMouseMode(com.bbn.openmap.event.CoordMouseMode mode)
    • addMapMouseListener

      public void addMapMouseListener(com.bbn.openmap.event.MapMouseListener mml)
    • removeMapMouseListener

      public void removeMapMouseListener(com.bbn.openmap.event.MapMouseListener mml)
    • setFisheryRegion

      @Deprecated public void setFisheryRegion(FisheryRegion fisheryRegion)
      Deprecated.
      since 4.4.1 use now MapDataProvider
    • setMapDataProvider

      public void setMapDataProvider(MapDataProvider mapDataProvider)
    • regionChanged

      public void regionChanged()
      Description copied from interface: MapDataListener
      Region or cell changed.
      Specified by:
      regionChanged in interface MapDataListener
    • refreshMap

      protected void refreshMap()
    • getMapDataProvider

      public MapDataProvider getMapDataProvider()
    • getSelectedCells

      public List<Cell> getSelectedCells()
      Retourne la liste des mailles selectionnées.
      Returns:
      selected map list
    • setSelectedCells

      public void setSelectedCells(List<Cell> cells)
    • setSelectedCells

      public void setSelectedCells(Cell... cells)
    • addSelectedCells

      public void addSelectedCells(Cell... cells)
    • removeSelectedCells

      public void removeSelectedCells(Cell... cells)
    • getLayerHandler

      public com.bbn.openmap.LayerHandler getLayerHandler()
      Get the value of layerHandler.
      Returns:
      value of layerHandler.
    • addResultatLayer

      public void addResultatLayer(String id, ResultatLayer layer)
    • removeAllResultatLayer

      public void removeAllResultatLayer()
    • addLayer

      protected void addLayer(String layerId, String mapFile, String lineColor, String fillColor)
      Add a new layer to the map depending on mapFile extension.
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
    • addDrawingAttributes

      protected void addDrawingAttributes(Properties p, String layerId, String lineColor, String fillColor)
    • getShapeLayer

      protected com.bbn.openmap.Layer getShapeLayer(String layerId, String mapFile, String lineColor, String fillColor)
      Manage shp layer display.
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
      Returns:
      shape layer
      See Also:
      • ShapeLayer
    • getE00Layer

      protected com.bbn.openmap.Layer getE00Layer(String layerId, String mapFile, String lineColor, String fillColor)
      Manage E00 layer display.
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
      Returns:
      e00 layer
      See Also:
      • E00Layer
    • getDTEDLayer

      protected com.bbn.openmap.Layer getDTEDLayer(String layerId, String mapFile, String lineColor, String fillColor)
      Manage DTED layer display.
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
      Returns:
      dted layer
      See Also:
      • DTEDLayer
    • getMIFLayer

      protected com.bbn.openmap.Layer getMIFLayer(String layerId, String mapFile, String lineColor, String fillColor)
      Manage MIF layer display.
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
      Returns:
      mif layer
      See Also:
      • MIFLayer
    • getRPFLayer

      protected com.bbn.openmap.Layer getRPFLayer(String layerId, String mapFile, String lineColor, String fillColor)
      Manage RPF layer display. Seams to handle cadrg and cib files too.
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
      Returns:
      rpf layer
      See Also:
      • RpfLayer
    • getVPFLayer

      protected com.bbn.openmap.Layer getVPFLayer(String layerId, String mapFile, String lineColor, String fillColor)
      Manage VPF layer display. Can manage .vmap, .dcw, .vpf files ?
      Parameters:
      layerId - layer id
      mapFile - absolute map fail path
      lineColor - line color
      fillColor - fill color
      Returns:
      vpf layer
      See Also:
      • VPFLayer
    • addGraticuleLayer

      protected void addGraticuleLayer()
    • addZoneDelimiterLayer

      protected void addZoneDelimiterLayer() throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • addSpecificLayer

      protected void addSpecificLayer()
    • initMap

      protected void initMap()
      init the mServer property value.
    • getSelectionMode

      public int getSelectionMode()
      Get the value of selectionMode.
      Returns:
      value of selectionMode.
    • setSelectionMode

      public void setSelectionMode(int v)
      Set the value of selectionMode.
      Parameters:
      v - value to assign to selectionMode.
    • addSelectionLayer

      public void addSelectionLayer()