Interface Connector

All Superinterfaces:
ConnectorRO
All Known Subinterfaces:
Proxy.Connector

public interface Connector extends ConnectorRO
Graphical connector between nodes:node.connectorsIn / node.connectorsOut - read-write.
  • Method Details

    • setShape

      void setShape(String shape)
      Parameters:
      shape - one of LINE, LINEAR_PATH, CUBIC_CURVE, EDGE_LIKE.
      Since:
      1.3
    • setColor

      void setColor(Color color)
    • setColorCode

      void setColorCode(String rgbString)
      Parameters:
      rgbString - a HTML color spec like #ff0000 (red) or #222222 (darkgray).
      Since:
      1.2
    • setEndArrow

      void setEndArrow(boolean showArrow)
      Since:
      1.2
    • setMiddleLabel

      void setMiddleLabel(String label)
    • setSimulatesEdge

      void setSimulatesEdge(boolean simulatesEdge)
    • setSourceLabel

      void setSourceLabel(String label)
    • setStartArrow

      void setStartArrow(boolean showArrow)
      Since:
      1.2
    • setTargetLabel

      void setTargetLabel(String label)
    • setInclination

      void setInclination(List<Integer> startPoint, List<Integer> endPoint)
      startPoint, endPoint: list of two integers representing a Point.
      Since:
      1.3.3
    • setDashArray

      void setDashArray(int[] dashArray)
      Since 1.7.10
    • setOpacity

      void setOpacity(int opacity)
      0 <= opacity <= 255 Since 1.7.10
    • setWidth

      void setWidth(int width)
      Since 1.7.10
    • setLabelFontFamily

      void setLabelFontFamily(String name)
      Since 1.7.10
    • setLabelFontSize

      void setLabelFontSize(int size)
      Since 1.7.10