public final class LinkStyle extends Object
| Constructor and Description |
|---|
LinkStyle()
Creates a link style instance with the default value.
|
| Modifier and Type | Method and Description |
|---|---|
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(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.
|
public LinkStyle()
public String getColor()
public void setColor(String color)
color - a color in hexpublic int getWidth()
public void setWidth(int width)
width - an integer that defines width of the linkpublic LinkShapeType getShapeType()
public void setShapeType(LinkShapeType shapeType)
shapeType - an enumeration that defines shape of the link.public LinkLineType getLineType()
public void setLineType(LinkLineType lineType)
lineType - an enumeration that defines line style of the link.public int getLabelMaximumlength()
public void setLabelMaximumlength(int labelMaximumlength)
labelMaximumlength - an integer that defines label length of the link.