Package hec.map.streamAlignment
Class StreamAlignmentDrwPro
java.lang.Object
hec.map.streamAlignment.StreamAlignmentDrwPro
- All Implemented Interfaces:
StreamAlignmentProps
,Serializable
,Cloneable
public class StreamAlignmentDrwPro
extends Object
implements Serializable, Cloneable, StreamAlignmentProps
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
deleteDPData
(int mapScale) getDrawingProperties
(int scale) getDrawingPropertiesForScale
(int scale) static StreamAlignmentProps
int
static StreamAlignmentDPData
newDPData
(int name) void
read
(BufferedReader input) void
reset()
called when the watershed is loaded.void
saveProperties
(int location) static void
setDrawPropClassname
(String classname) call this to set the drawing properties classname for the stream alignment.void
write
(BufferedWriter output)
-
Field Details
-
_dataList
list of properties for different map scales. Last element is always the default set of properties -
_mapScale
protected int _mapScalethe mapscale these properties are for
-
-
Constructor Details
-
StreamAlignmentDrwPro
protected StreamAlignmentDrwPro()
-
-
Method Details
-
setDrawPropClassname
call this to set the drawing properties classname for the stream alignment.- Parameters:
classname
-
-
getInstance
-
read
- Specified by:
read
in interfaceStreamAlignmentProps
- Throws:
IOException
-
write
- Specified by:
write
in interfaceStreamAlignmentProps
- Throws:
IOException
-
getDrawingProperties
- Specified by:
getDrawingProperties
in interfaceStreamAlignmentProps
-
getDrawingPropertiesForScale
- Specified by:
getDrawingPropertiesForScale
in interfaceStreamAlignmentProps
-
getDrawingProperties
- Specified by:
getDrawingProperties
in interfaceStreamAlignmentProps
-
getNumberOfScales
public int getNumberOfScales()- Specified by:
getNumberOfScales
in interfaceStreamAlignmentProps
-
getScaleList
- Specified by:
getScaleList
in interfaceStreamAlignmentProps
-
deleteDPData
public static void deleteDPData(int mapScale) - Parameters:
mapScale
-
-
newDPData
- Parameters:
name
-- Returns:
-
addDPData
- Specified by:
addDPData
in interfaceStreamAlignmentProps
-
saveProperties
public void saveProperties(int location) - Specified by:
saveProperties
in interfaceStreamAlignmentProps
-
reset
public void reset()Description copied from interface:StreamAlignmentProps
called when the watershed is loaded.- Specified by:
reset
in interfaceStreamAlignmentProps
-