code: @Override
    public void setupValueChangedListeners() {
      super.setupValueChangedListeners();
      field.userInputProperty().addListener((observable, oldValue, newValue) -> {
        int sliderValue = Integer.parseInt(field.getUserInput());
        slider.setValue(sliderValue);
        valueLabel.setText(String.valueOf(sliderValue));
      });
  
      field.errorMessagesProperty().addListener(
          (observable, oldValue, newValue) -> toggleTooltip(slider));
      field.tooltipProperty().addListener(
          (observable, oldValue, newValue) -> toggleTooltip(slider));
  
      slider.focusedProperty().addListener(
          (observable, oldValue, newValue) -> toggleTooltip(slider));
    }
docs: {@inheritDoc}