public void setMinValue ( final double VALUE ) { if ( Status . RUNNING == timeline . getStatus ( ) ) { timeline . jumpTo ( Duration . ONE ) ; } if ( null == minValue ) { if ( VALUE > getMaxValue ( ) ) { setMaxValue ( VALUE ) ; } _minValue = Helper . clamp ( - Double . MAX_VALUE , getMaxValue ( ) , VALUE ) ; setRange ( getMaxValue ( ) - _minValue ) ; if ( Double . compare ( originalMinValue , - Double . MAX_VALUE ) == 0 ) originalMinValue = _minValue ; if ( isStartFromZero ( ) && _minValue < 0 ) setValue ( 0 ) ; if ( Double . compare ( originalThreshold , getThreshold ( ) ) < 0 ) { setThreshold ( Helper . clamp ( _minValue , getMaxValue ( ) , originalThreshold ) ) ; } updateFormatString ( ) ; fireUpdateEvent ( RECALC_EVENT ) ; if ( ! valueProperty ( ) . isBound ( ) ) Gauge . this . setValue ( Helper . clamp ( getMinValue ( ) , getMaxValue ( ) , Gauge . this . getValue ( ) ) ) ; } else { minValue . set ( VALUE ) ; } }
Sets the minimum value of the gauge scale to the given value