Sets the direction of the needle in degrees (0 - 360°)
@param VALUE
175933
@Override
    public void setValue(final double VALUE) {
        if (isEnabled()) {
            double oldValue = value;
            value = VALUE % 360;

            fireStateChanged();
            firePropertyChange(VALUE_PROPERTY, oldValue, value);
            repaint();
        }
    }
1296856
public void setDirection (float x, float y, float z)
    {
        if (_dx != x || _dy != y || _dz != z) {
            AL10.alSource3f(_id, AL10.AL_DIRECTION, _dx = x, _dy = y, _dz = z);
        }
    }
185179
public final void setValue(final int value)
	{
		expUnitAdjustment = 0;
		try {
			data = toDpt(dimensionlessCounter, value);
		}
		catch (final KNXFormatException e) {
			logger.error("{} {} coding {} (value {}) should alway have correct format", dpt.getID(),
					dpt.getDescription(), binary(dimensionlessCounter), value, e);
		}
	}
996070
public void setValue(float value) {
		mBarPointerPosition = Math.round((mSVToPosFactor * (1 - value))
				+ mBarPointerHaloRadius + (mBarLength / 2));
		calculateColor(mBarPointerPosition);
		mBarPointerPaint.setColor(mColor);
		// Check whether the Saturation/Value bar is added to the ColorPicker
		// wheel
		if (mPicker != null) {
			mPicker.setNewCenterColor(mColor);
			mPicker.changeOpacityBarColor(mColor);
		}
		invalidate();
	}
935875
public void setIconRotationAlignment(@Property.ICON_ROTATION_ALIGNMENT String value) {
    PropertyValue propertyValue = iconRotationAlignment(value);
    constantPropertyUsageMap.put(PROPERTY_ICON_ROTATION_ALIGNMENT, propertyValue);
    layer.setProperties(propertyValue);
  }
183311
@Override
	public void set(double x, double y, double z, double radius1) {
		this.cx = x;
		this.cy = y;
		this.cz = z;
		this.radius = Math.abs(radius1);
	}
252943
public void setValue(float value, boolean animation){
        value = Math.min(mMaxValue, Math.max(value, mMinValue));
        setPosition((value - mMinValue) / (mMaxValue - mMinValue), animation);
    }
1038846
public void setCircleTranslate( Float[] value) {
    PropertyValue propertyValue = circleTranslate(value);
    constantPropertyUsageMap.put(PROPERTY_CIRCLE_TRANSLATE, propertyValue);
    layer.setProperties(propertyValue);
  }
1080927
function (direction) {
                if (!this._cfg || !this._cfg.bind || !this._cfg.bind.value) {
                    // no binding for the value : return
                    return;
                }
                var currentBinding = this._cfg.bind.value;
                var index = ariaUtilsArray.indexOf(this._instances, this), radioButtonNb = this._instances.length;
                var bindings, next, nextBinding;
                var waiAria = this._cfg.waiAria;
                while (index >= 0 && index < radioButtonNb) {
                    index = index + direction;
                    if (waiAria) {
                        if (index < 0) {
                            index = radioButtonNb - 1;
                        } else if (index >= radioButtonNb) {
                            index = 0;
                        }

                    } else if (index < 0 || index >= radioButtonNb) {
                        break;
                    }
                    next = this._instances[index];
                    bindings = next._cfg.bind;
                    if (!next.getProperty("disabled") && bindings) {
                        nextBinding = bindings.value;
                        if (nextBinding) {
                            // next radio button needs to be bound to the same data. Otherwise, continue.
                            if (currentBinding.inside === nextBinding.inside && currentBinding.to === nextBinding.to) {
                                next._setRadioValue();
                                next._focus();
                                break;
                            }
                        }
                    }
                }
            }
771606
public void setValueI(int x, int y, double value) {
		int idx=y*width+x;
		setValueI_atIndex(idx, value);
	}
1089848
public void putShortString(String value)
    {
        checkAvailable(value.length() + 1);
        Wire.putShortString(needle, value);
    }
705476
public void setZero() {
		xx = 0.0;
		yx = 0.0;
		zx = 0.0;
		xy = 0.0;
		yy = 0.0;
		zy = 0.0;
		xz = 0.0;
		yz = 0.0;
		zz = 0.0;
		xd = 0.0;
		yd = 0.0;
		zd = 0.0;
	}
878625
private void createNeedle() {
        double needleWidth  = size * 0.04;
        double needleHeight = size * 0.4675;
        needle.getElements().clear();
        needle.getElements().add(new MoveTo(0.3125 * needleWidth, 0.015957446808510637 * needleHeight));
        needle.getElements().add(new CubicCurveTo(0.3125 * needleWidth, 0.005319148936170213 * needleHeight,
                                                  0.4375 * needleWidth, 0.0,
                                                  0.5 * needleWidth, 0.0));
        needle.getElements().add(new CubicCurveTo(0.5625 * needleWidth, 0.0,
                                                  0.6875 * needleWidth, 0.005319148936170213 * needleHeight,
                                                  0.6875 * needleWidth, 0.015957446808510637 * needleHeight));
        needle.getElements().add(new CubicCurveTo(0.6875 * needleWidth, 0.015957446808510637 * needleHeight,
                                                  needleWidth, 0.9946808510638298 * needleHeight,
                                                  needleWidth, 0.9946808510638298 * needleHeight));
        needle.getElements().add(new LineTo(0.0, 0.9946808510638298 * needleHeight));
        needle.getElements().add(new CubicCurveTo(0.0, 0.9946808510638298 * needleHeight,
                                                  0.3125 * needleWidth, 0.015957446808510637 * needleHeight,
                                                  0.3125 * needleWidth, 0.015957446808510637 * needleHeight));
        needle.getElements().add(new ClosePath());
        needle.setFill(new LinearGradient(needle.getLayoutBounds().getMinX(), 0,
                                          needle.getLayoutBounds().getMaxX(), 0,
                                          false, CycleMethod.NO_CYCLE,
                                          new Stop(0.0, gauge.getNeedleColor().darker()),
                                          new Stop(0.5, gauge.getNeedleColor()),
                                          new Stop(1.0, gauge.getNeedleColor().darker())));
    }
1009837
def _set_anchor(self, value):
        
        pX, pY = self.anchor
        x, y = value
        dX = x - pX
        dY = y - pY
        self.moveBy((dX, dY))
1010468
private void rotateNeedle() {
        angleStep          = ANGLE_RANGE / (gauge.getRange());
        double targetAngle = 180 - START_ANGLE + (gauge.getCurrentValue() - gauge.getMinValue()) * angleStep;
        targetAngle        = clamp(180 - START_ANGLE, 180 - START_ANGLE + ANGLE_RANGE, targetAngle);
        needleRotate.setAngle(targetAngle);
        if (gauge.isAverageVisible()) drawAverage();
    }
7711
def setValue( self, value ):
        
        scene = self.scene()
        point = scene.mapFromChart(value, None)
        
        self.setPos(point.x(), self.pos().y())
        self.rebuild(scene.gridRect())
158819
public void setValue(Quaternionf rot) {
        mX = rot.x;
        mY = rot.y;
        mZ = rot.z;
        mW = rot.w;
    }