コード例 #1
0
  public JConnection addRightRightConnection(
      ConnectionType type, EntityFigure label, Integer occurences, int bendHeight) {

    JConnection connection = new JConnection(type);

    connection.setRightRightAnchors(this, label);

    // connection.setSourceBendRouter(-bendHeight, -classWidth);
    connection.setFullBendRouter(-bendHeight);
    connection.setLabel(occurences);
    outgoingConnections.add(connection);

    return connection;
  }