public void setMaxValue(final double VALUE) {
        if (Status.RUNNING == timeline.getStatus()) { timeline.jumpTo(Duration.ONE); }
        if (null == maxValue) {
            if (VALUE < getMinValue()) { setMinValue(VALUE); }
            _maxValue = clamp(getMinValue(), Double.MAX_VALUE, VALUE);
            setRange(_maxValue - getMinValue());
            if (Helper.equals(originalMaxValue, Double.MAX_VALUE)) originalMaxValue = _maxValue;
            if (Helper.biggerThan(originalThreshold, getThreshold())) { setThreshold(clamp(getMinValue(), _maxValue, originalThreshold)); }
            fireTileEvent(RECALC_EVENT);
            if (!valueProperty().isBound()) Tile.this.setValue(clamp(getMinValue(), getMaxValue(), Tile.this.getValue()));
        } else {
            maxValue.set(VALUE);
        }
    }
public void setMaxValue ( final double VALUE ) { if ( Status . RUNNING == timeline . getStatus ( ) ) { timeline . jumpTo ( Duration . ONE ) ; } if ( null == maxValue ) { if ( VALUE < getMinValue ( ) ) { setMinValue ( VALUE ) ; } _maxValue = clamp ( getMinValue ( ) , Double . MAX_VALUE , VALUE ) ; setRange ( _maxValue - getMinValue ( ) ) ; if ( Helper . equals ( originalMaxValue , Double . MAX_VALUE ) ) originalMaxValue = _maxValue ; if ( Helper . biggerThan ( originalThreshold , getThreshold ( ) ) ) { setThreshold ( clamp ( getMinValue ( ) , _maxValue , originalThreshold ) ) ; } fireTileEvent ( RECALC_EVENT ) ; if ( ! valueProperty ( ) . isBound ( ) ) Tile . this . setValue ( clamp ( getMinValue ( ) , getMaxValue ( ) , Tile . this . getValue ( ) ) ) ; } else { maxValue . set ( VALUE ) ; } }
Sets the maximum value of the gauge scale to the given value

@param VALUE