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

@param THRESHOLD