Class LinkStyle
- java.lang.Object
-
- com.orchestranetworks.addon.dmdv.data.LinkStyle
-
public final class LinkStyle extends java.lang.Object
Provides 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.String
getColor()
Returns the link color in hex.int
getLabelMaximumlength()
Returns link label maximum length.LinkLineType
getLineType()
Returns type of the link.LinkShapeType
getShapeType()
Returns shape of the link.int
getWidth()
Returns width of the link.void
setColor(java.lang.String color)
Sets the link color.void
setLabelMaximumlength(int labelMaximumlength)
Sets link label maximum length.void
setLineType(LinkLineType lineType)
Sets type of the link.void
setShapeType(LinkShapeType shapeType)
Sets shape of the link.void
setWidth(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
-
-