code: @Override
    public void initializeParts() {
      super.initializeParts();
  
      fieldLabel = new Label(field.labelProperty().getValue());
  
      node = new ToggleSwitch();
      node.getStyleClass().add("toggle-control");
      // is necessary to offset the control to the left, because we don't use the provided label
      node.setTranslateX(NEGATIVE_LABEL_INSETS);
      node.setSelected(field.getValue());
    }
docs: {@inheritDoc}