Exemplo n.º 1
0
  @Override
  protected void beforeReconstruction() {
    super.beforeReconstruction();
    lineStyleChoiceList = new LineStyleChoiceList();
    bentStyleChoiceList = new BentStyleChoiceList();

    lineStyleChoiceList.setSelectedIndex(selectedLineStyle);
    bentStyleChoiceList.setSelectedIndex(selectedBentStyle);
  }
Exemplo n.º 2
0
  @Override
  public void setTransitionPoints(Point2D[] transitionPoints) {
    super.setTransitionPoints(transitionPoints);

    if (null == transitionPoints || 0 == transitionPoints.length) {
      //            setBentStyle(BentStyle.AUTO);
    } else {
      setBentStyle(BentStyle.FREE);
    }
  }