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 Summary
Modifier and TypeMethodDescriptionReturns the coordinate reference system that describes the location of this map.Gets the Extent attribute of the MapObjectInterface objectGets the MapIdentifier attribute of the MapObjectInterface objectgetName()
Gets the Name attribute of the MapObjectInterface objectvoid
load()
Method to tell the Map Object to load its data into memoryvoid
Sets the Extent attribute of the MapObjectInterface objectvoid
Sets the MapIdentifier attribute of the MapObjectInterface objectvoid
unload()
Method to tell the Map Object to unload, because the map is done
-
Method Details
-
setMapIdentifier
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
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
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:
-