Package hec.map.dlg
Class DlgMap
java.lang.Object
hec.map.MapObject
hec.map.dlg.DlgMap
- All Implemented Interfaces:
MapObjectInterface,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class hec.map.MapObject
_debug, _extent, _fileOpener, _loaded, _mapId, mCoordinateReferencySystem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Extent attribute of the MapObjectInterface objectvoidload()Split the load between binary and ASCIIvoidloadAsciiWriteBin(HecFile inFile, HecFile outFile) voidLoad the map from a binarybooleanmapIdentifierEquals(MapIdentifier mapid) check to see if the Map specified by the MapIdentifier mapid is the same map as this one.doubleintshortparseShort(String s) toString()voidunload()Method to tell the Map Object to unload, because the map is doneMethods inherited from class hec.map.MapObject
equals, getCoordinateInfo, getCoordinateReferenceSystem, getFilenames, getFileOpener, getMapIdentifier, getName, newFile, newThenOpenFile, openFile, readProjection, setExtent, setFileOpener, setMapIdentifierMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.map.MapObjectInterface
getCoordinateReferenceSystem, getMapIdentifier, getName, setExtent, setMapIdentifier
-
Constructor Details
-
DlgMap
-
DlgMap
-
DlgMap
public DlgMap()
-
-
Method Details
-
getElements
-
toString
-
getExtent
Description copied from interface:MapObjectInterfaceGets the Extent attribute of the MapObjectInterface object- Specified by:
getExtentin interfaceMapObjectInterface- Overrides:
getExtentin classMapObject- Returns:
- The Extent value
-
parseDouble
-
parseInt
-
parseShort
-
unload
public void unload()Description copied from interface:MapObjectInterfaceMethod to tell the Map Object to unload, because the map is done- Specified by:
unloadin interfaceMapObjectInterface- Specified by:
unloadin classMapObject
-
load
Split the load between binary and ASCII- Specified by:
loadin interfaceMapObjectInterface- Specified by:
loadin classMapObject- Throws:
IOException- Description of Exception
-
loadBin
Load the map from a binary- Throws:
IOException
-
loadAsciiWriteBin
- Throws:
IOException
-
mapIdentifierEquals
check to see if the Map specified by the MapIdentifier mapid is the same map as this one. Dlg files create a binary version of the ascii file so the test needs to check both the .dlg and the .dlgbin extensions.- Overrides:
mapIdentifierEqualsin classMapObject- Parameters:
mapid-- Returns:
- true if the mapid references the same map file as this map.
-