Package hec.map

Interface MapObjectInterface

All Known Subinterfaces:
ComplexGridMap, ElevationMap, Flo2dMap, GridContainerManager, GridMap, MapObjectInterface2, StreamAlignmentIfc
All Known Implementing Classes:
AiDemBaseMap, AiDemFltMap, AiDemMap, AiShapeMap, AnnotationMapObject, BaseStreamAlignment, DemMap, DlgMap, DxfMap, Flo2dDepthMap, Flo2dElevMap, GoogleImageMap, GrassAsciiMap, ImageMap, InundationGroup, MapObject, MrSidMap, NetTinMap, RasterMap, TinMap, TmsMap, VrtMapObject

public interface MapObjectInterface
Abstract interface for objects that are displayed on a map.
  • Method Details

    • setMapIdentifier

      void setMapIdentifier(MapIdentifier id)
      Sets the MapIdentifier attribute of the MapObjectInterface object
      Parameters:
      id - The new MapIdentifier value
    • getMapIdentifier

      MapIdentifier getMapIdentifier()
      Gets the MapIdentifier attribute of the MapObjectInterface object
      Returns:
      The MapIdentifier value
    • getName

      String getName()
      Gets the Name attribute of the MapObjectInterface object
      Returns:
      The Name value
    • setExtent

      void setExtent(WorldRect rc)
      Sets the Extent attribute of the MapObjectInterface object
      Parameters:
      rc - The new Extent value
    • getExtent

      WorldRect getExtent()
      Gets the Extent attribute of the MapObjectInterface object
      Returns:
      The Extent value
    • load

      void load() throws IOException
      Method to tell the Map Object to load its data into memory
      Throws:
      IOException - Description of Exception
    • unload

      void unload()
      Method to tell the Map Object to unload, because the map is done
    • getCoordinateReferenceSystem

      CoordinateReferenceSystem getCoordinateReferenceSystem()
      Returns the coordinate reference system that describes the location of this map. Users can return NULL if they don't have CoordinateReferenceSystem.
      Returns: