public void changed(ObservableValue<? extends Boolean> observableValue, Boolean aBoolean, Boolean aBoolean1) {
controller.setValue(aBoolean1);
}
};
checkBox.selectedProperty().addListener(checkBoxListener);
return new DisposableNodeWrapper(checkBox, new Callback<Node, Void>() {
public Void call(Node node) {
checkBox.selectedProperty().removeListener(checkBoxListener);
controller.removeListener(controllerListener);
return null;
}