Beispiel #1
0
  private void removeListeners(VNode flowNode) {
    flowNode.titleProperty().removeListener(modelTitleListener);
    flowNode.xProperty().removeListener(modelXListener);
    flowNode.yProperty().removeListener(modelYListener);
    flowNode.widthProperty().removeListener(modelWidthListener);
    flowNode.heightProperty().removeListener(modelHeightListener);

    node.layoutXProperty().removeListener(nodeXListener);
    node.layoutYProperty().removeListener(nodeXListener);
    node.prefWidthProperty().removeListener(nodeWidthListener);
    node.prefHeightProperty().removeListener(nodeHeightListener);
  }