Class LinkStyle
java.lang.Object
com.orchestranetworks.addon.dmdv.data.LinkStyle
Provides configurations for link style.
- Since:
 - 1.1.0
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetColor()Returns the link color in hex.intReturns link label maximum length.Returns type of the link.Returns shape of the link.intgetWidth()Returns width of the link.voidSets the link color.voidsetLabelMaximumlength(int labelMaximumlength) Sets link label maximum length.voidsetLineType(LinkLineType lineType) Sets type of the link.voidsetShapeType(LinkShapeType shapeType) Sets shape of the link.voidsetWidth(int width) Sets width of the link. 
- 
Constructor Details
- 
LinkStyle
public LinkStyle()Creates a link style instance with the default value.- Since:
 - 1.1.0
 
 
 - 
 - 
Method Details
- 
getColor
Returns the link color in hex.- Since:
 - 1.1.0
 
 - 
setColor
Sets the link color.- Parameters:
 color- a color in hex- Since:
 - 1.1.0
 
 - 
getWidth
public int getWidth()Returns width of the link.- Since:
 - 1.1.0
 
 - 
setWidth
public void setWidth(int width) Sets width of the link.- Parameters:
 width- an integer that defines width of the link- Since:
 - 1.1.0
 
 - 
getShapeType
Returns shape of the link.- Since:
 - 1.1.0
 
 - 
setShapeType
Sets shape of the link.- Parameters:
 shapeType- an enumeration that defines shape of the link.- Since:
 - 1.1.0
 
 - 
getLineType
Returns type of the link.- Since:
 - 1.1.0
 
 - 
setLineType
Sets type of the link.- Parameters:
 lineType- an enumeration that defines line style of the link.- Since:
 - 1.1.0
 
 - 
getLabelMaximumlength
public int getLabelMaximumlength()Returns link label maximum length.- Since:
 - 2.3.0
 
 - 
setLabelMaximumlength
public void setLabelMaximumlength(int labelMaximumlength) Sets link label maximum length.- Parameters:
 labelMaximumlength- an integer that defines label length of the link.- Since:
 - 2.3.0
 
 
 -