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

@param THRESHOLD
src/main/java/eu/hansolo/tilesfx/Tile.java