Class ZoneDelimiterLayer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.bbn.openmap.Layer
fr.ifremer.isisfish.map.ZoneDelimiterLayer
All Implemented Interfaces:
com.bbn.openmap.event.ProjectionListener, com.bbn.openmap.ProjectionPainter, com.bbn.openmap.PropertyConsumer, MapDataListener, ActionListener, ImageObserver, MenuContainer, BeanContextChild, BeanContextMembershipListener, Serializable, EventListener
Direct Known Subclasses:
CellSelectionLayer

public class ZoneDelimiterLayer extends com.bbn.openmap.Layer implements MapDataListener
ZoneDelimiterLayer. Created: Wed Apr 17 15:59:09 2002
Version:
$Revision$
Author:
See Also:
  • Field Details

    • proj

      protected com.bbn.openmap.proj.Projection proj
    • graphics

      protected com.bbn.openmap.omGraphics.OMGraphicList graphics
      Contient tous les carres possibles.
    • pasMailleLatitude

      protected float pasMailleLatitude
      Caracteristiques du cadrillage.
    • pasMailleLongitude

      protected float pasMailleLongitude
    • mapDataProvider

      protected MapDataProvider mapDataProvider
    • cells

      protected Collection<Cell> cells
  • Constructor Details

    • ZoneDelimiterLayer

      public ZoneDelimiterLayer(MapDataProvider mapDataProvider) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class com.bbn.openmap.Layer
    • setProjection

      public void setProjection(com.bbn.openmap.proj.Projection proj)
      Set the projection.
      Overrides:
      setProjection in class com.bbn.openmap.Layer
      Parameters:
      proj - Projection
    • getProjection

      public com.bbn.openmap.proj.Projection getProjection()
      Get the projection.
      Overrides:
      getProjection in class com.bbn.openmap.Layer
      Returns:
      Projection proj
    • renderDataForProjection

      public void renderDataForProjection(com.bbn.openmap.proj.Projection proj, Graphics g)
      Implementing the ProjectionPainter interface.
      Specified by:
      renderDataForProjection in interface com.bbn.openmap.ProjectionPainter
      Overrides:
      renderDataForProjection in class com.bbn.openmap.Layer
    • projectionChanged

      public void projectionChanged(com.bbn.openmap.event.ProjectionEvent e)
      Invoked when the projection has changed or this Layer has been added to the MapBean.
      Specified by:
      projectionChanged in interface com.bbn.openmap.event.ProjectionListener
      Parameters:
      e - ProjectionEvent
    • generateGraphics

      protected void generateGraphics() throws org.nuiton.topia.TopiaException
      Create and project the graphics.Creer l ensemble des carres possible et affiche le cadrillage.
      Throws:
      org.nuiton.topia.TopiaException
    • refresh

      protected void refresh()
    • paint

      public void paint(Graphics g)
      Paints the layer.
      Overrides:
      paint in class JComponent
      Parameters:
      g - the Graphics context for painting
    • regionChanged

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