Package hec.map.streamAlignment
Class StreamAlignmentDPData
java.lang.Object
hec.map.streamAlignment.StreamAlignmentDPData
- All Implemented Interfaces:
Cloneable
,Comparable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
int
int
int
int
int
int
boolean
boolean
boolean
boolean
boolean
void
set
(StreamAlignmentDPData props) void
void
setDrawJunctions
(boolean drawJunctions) void
setDrawNodes
(boolean drawNodes) void
setDrawTicLabels
(boolean drawTicLabels) void
setDrawTics
(boolean drawTics) void
setJunctionColor
(Color junctionColor) void
setJunctionWidth
(int junctionWidth) void
setMajorTicLength
(int majorTicLength) void
setMapScale
(int newScale) void
setNameFont
(Font nameFont) void
setNodeColor
(Color nodeColor) void
setNodeOutlineColor
(Color nodeOutlineColor) void
setNodeWidth
(int nodeWidth) void
setShowStreamName
(boolean showStreamName) void
setStreamColor
(Color streamColor) void
setStreamWidth
(int streamWidth) void
setTicLabelFont
(Font ticLabelFont) void
setTicLength
(int ticLength)
-
Field Details
-
_mapScale
protected int _mapScalethe mapscale these properties are for
-
-
Constructor Details
-
StreamAlignmentDPData
protected StreamAlignmentDPData() -
StreamAlignmentDPData
public StreamAlignmentDPData(int mapScale)
-
-
Method Details
-
isDrawTicLabels
public boolean isDrawTicLabels()- Returns:
- Returns the drawTicLabels.
-
setDrawTicLabels
public void setDrawTicLabels(boolean drawTicLabels) - Parameters:
drawTicLabels
- The drawTicLabels to set.
-
isDrawTics
public boolean isDrawTics()- Returns:
- Returns the drawTics.
-
setDrawTics
public void setDrawTics(boolean drawTics) - Parameters:
drawTics
- The drawTics to set.
-
getMajorTicLength
public int getMajorTicLength()- Returns:
- Returns the majorTicLength.
-
setMajorTicLength
public void setMajorTicLength(int majorTicLength) - Parameters:
majorTicLength
- The majorTicLength to set.
-
getNameFont
- Returns:
- Returns the nameFont.
-
setNameFont
- Parameters:
nameFont
- The nameFont to set.
-
isShowStreamName
public boolean isShowStreamName()- Returns:
- Returns the showStreamName.
-
setShowStreamName
public void setShowStreamName(boolean showStreamName) - Parameters:
showStreamName
- The showStreamName to set.
-
getStreamColor
- Returns:
- Returns the streamColor.
-
setStreamColor
- Parameters:
streamColor
- The streamColor to set.
-
getStreamWidth
public int getStreamWidth()- Returns:
- Returns the streamWidth.
-
setStreamWidth
public void setStreamWidth(int streamWidth) - Parameters:
streamWidth
- The streamWidth to set.
-
getTicLabelFont
- Returns:
- Returns the ticLabelFont.
-
setTicLabelFont
- Parameters:
ticLabelFont
- The ticLabelFont to set.
-
getTicLength
public int getTicLength()- Returns:
- Returns the ticLength.
-
setTicLength
public void setTicLength(int ticLength) - Parameters:
ticLength
- The ticLength to set.
-
set
-
setDefaults
public void setDefaults() -
compareTo
- Specified by:
compareTo
in interfaceComparable
-
getMapScale
public int getMapScale() -
clone
-
setMapScale
public void setMapScale(int newScale) - Parameters:
newScale
-
-
isDrawJunctions
public boolean isDrawJunctions()- Returns:
- Returns the drawJunctions.
-
setDrawJunctions
public void setDrawJunctions(boolean drawJunctions) - Parameters:
drawJunctions
- The drawJunctions to set.
-
isDrawNodes
public boolean isDrawNodes()- Returns:
- Returns the drawNodes.
-
setDrawNodes
public void setDrawNodes(boolean drawNodes) - Parameters:
drawNodes
- The drawNodes to set.
-
getJunctionColor
- Returns:
- Returns the junctionColor.
-
setJunctionColor
- Parameters:
junctionColor
- The junctionColor to set.
-
getJunctionWidth
public int getJunctionWidth()- Returns:
- Returns the junctionWidth.
-
setJunctionWidth
public void setJunctionWidth(int junctionWidth) - Parameters:
junctionWidth
- The junctionWidth to set.
-
getNodeColor
- Returns:
- Returns the nodeColor.
-
setNodeColor
- Parameters:
nodeColor
- The nodeColor to set.
-
getNodeOutlineColor
- Returns:
- Returns the nodeOutlineColor.
-
setNodeOutlineColor
- Parameters:
nodeOutlineColor
- The nodeOutlineColor to set.
-
getNodeWidth
public int getNodeWidth()- Returns:
- Returns the nodeWidth.
-
setNodeWidth
public void setNodeWidth(int nodeWidth) - Parameters:
nodeWidth
- The nodeWidth to set.
-