public void setAngleRange ( final double RANGE ) { double tmpAngleRange = Helper . clamp ( 0.0 , 360.0 , RANGE ) ; if ( null == angleRange ) { _angleRange = tmpAngleRange ; setAngleStep ( tmpAngleRange / getRange ( ) ) ; if ( isAutoScale ( ) ) { calcAutoScale ( ) ; } fireUpdateEvent ( RECALC_EVENT ) ; } else { angleRange . set ( tmpAngleRange ) ; } }
Defines the angle range in degree that will be used to draw the scale of the radial gauge . The given range will be clamped in the range of 0 - 360 degrees . The range will start at the startAngle and will be drawn in the direction dependent on the scaleDirection .