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()intintintintintintintbooleanbooleanbooleanbooleanbooleanvoidset(StreamAlignmentDPData props) voidvoidsetDrawJunctions(boolean drawJunctions) voidsetDrawNodes(boolean drawNodes) voidsetDrawTicLabels(boolean drawTicLabels) voidsetDrawTics(boolean drawTics) voidsetJunctionColor(Color junctionColor) voidsetJunctionWidth(int junctionWidth) voidsetMajorTicLength(int majorTicLength) voidsetMapScale(int newScale) voidsetNameFont(Font nameFont) voidsetNodeColor(Color nodeColor) voidsetNodeOutlineColor(Color nodeOutlineColor) voidsetNodeWidth(int nodeWidth) voidsetShowStreamName(boolean showStreamName) voidsetStreamColor(Color streamColor) voidsetStreamWidth(int streamWidth) voidsetTicLabelFont(Font ticLabelFont) voidsetTicLength(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:
compareToin 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.
-