Class LinkStyle
- java.lang.Object
-
- com.orchestranetworks.addon.dmdv.data.LinkStyle
-
public final class LinkStyle extends java.lang.ObjectProvides configurations for link style.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description LinkStyle()Creates a link style instance with the default value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetColor()Returns the link color in hex.intgetLabelMaximumlength()Returns link label maximum length.LinkLineTypegetLineType()Returns type of the link.LinkShapeTypegetShapeType()Returns shape of the link.intgetWidth()Returns width of the link.voidsetColor(java.lang.String color)Sets 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.
-
-
-
Method Detail
-
getColor
public java.lang.String getColor()
Returns the link color in hex.- Since:
- 1.1.0
-
setColor
public void setColor(java.lang.String color)
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
public LinkShapeType getShapeType()
Returns shape of the link.- Since:
- 1.1.0
-
setShapeType
public void setShapeType(LinkShapeType shapeType)
Sets shape of the link.- Parameters:
shapeType- an enumeration that defines shape of the link.- Since:
- 1.1.0
-
getLineType
public LinkLineType getLineType()
Returns type of the link.- Since:
- 1.1.0
-
setLineType
public void setLineType(LinkLineType lineType)
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
-
-