All Implemented Interfaces:
Serializable

public class Link extends AbstractConfigurationObject
Link styling options for Organization charts.
See Also:
  • Constructor Details

    • Link

      public Link()
  • Method Details

    • getColor

      public Color getColor()
      Returns:
      the color of the link between nodes.
      See Also:
    • setColor

      public void setColor(Color color)
      Sets the color of the link between nodes.
      Parameters:
      color - the color to use for the link
    • getLineWidth

      public Number getLineWidth()
      Returns:
      the line width of the link in pixels.
      See Also:
    • setLineWidth

      public void setLineWidth(Number lineWidth)
      Sets the line width of the link connecting nodes, in pixels.
      Parameters:
      lineWidth - the width of the link line
    • getRadius

      public Number getRadius()
      Returns:
      the radius for the rounded corners of the link.
      See Also:
    • setRadius

      public void setRadius(Number radius)
      Radius for the rounded corners of the links between nodes. Works for LinkType.DEFAULT link type.
      Parameters:
      radius - the radius for link corners
    • getType

      public LinkType getType()
      Returns:
      the type of link shape.
      See Also:
    • setType

      public void setType(LinkType type)
      Sets the type of link shape.
      Parameters:
      type - the link shape type