code: public void setThreshold(final double THRESHOLD) {
          originalThreshold = THRESHOLD;
          if (null == threshold) {
              _threshold = Helper.clamp(getMinValue(), getMaxValue(), THRESHOLD);
              fireUpdateEvent(RESIZE_EVENT);
          } else {
              threshold.set(THRESHOLD);
          }
      }
docs: Sets the threshold of the gauge to the given value. The value
  will be clamped to the range of the gauge.
  
  @param THRESHOLD