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 objectvoid
load()
Split the load between binary and ASCIIvoid
loadAsciiWriteBin
(HecFile inFile, HecFile outFile) void
Load the map from a binaryboolean
mapIdentifierEquals
(MapIdentifier mapid) check to see if the Map specified by the MapIdentifier mapid is the same map as this one.double
int
short
parseShort
(String s) toString()
void
unload()
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, setMapIdentifier
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:MapObjectInterface
Gets the Extent attribute of the MapObjectInterface object- Specified by:
getExtent
in interfaceMapObjectInterface
- Overrides:
getExtent
in classMapObject
- Returns:
- The Extent value
-
parseDouble
-
parseInt
-
parseShort
-
unload
public void unload()Description copied from interface:MapObjectInterface
Method to tell the Map Object to unload, because the map is done- Specified by:
unload
in interfaceMapObjectInterface
- Specified by:
unload
in classMapObject
-
load
Split the load between binary and ASCII- Specified by:
load
in interfaceMapObjectInterface
- Specified by:
load
in 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:
mapIdentifierEquals
in classMapObject
- Parameters:
mapid
-- Returns:
- true if the mapid references the same map file as this map.
-