Defines the color that will be used to colorize the section in
a gauge.
@param COLOR
322659
public void setColor(final Color COLOR) {
        if (null == color) {
            _color = COLOR;
            fireSectionEvent(UPDATE_EVENT);
        } else {
            color.set(COLOR);
        }
    }
570873
@Override
	public void setColor(int color)
	{
		this.color = color;
		UIContainer attachedContainer = attachedContainer();
		if (attachedContainer != null)
			attachedContainer.setColor(color);
	}
459125
public void setEndCornerColor(Color color) {
        if (endColor == null) {
            endColor = new RGBColor(0.0, 0.0, 0.0);
        }
        setGradation(true);
        this.endColor = color;
    }
146464
@SuppressWarnings("unused")
    public void setOkColor(@ColorInt int color) {
        mOkColor = Color.argb(255, Color.red(color), Color.green(color), Color.blue(color));
    }
55198
public void setColor(Color color) {
		if (color == null) {
			return;
		}
		
		currentColor = new Color(color);
		predraw();
		currentColor.bind();
		postdraw();
	}
1315177
public void setCustomPointerColor(final Color COLOR) {
        getModel().setCustomPointerColorObject(new CustomColorDef(COLOR));
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
140647
public void setCustomPointer2Color(final Color COLOR) {
        this.customPointer2Color = new CustomColorDef(COLOR);
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
363877
public void setNeedleBorderColor(final Color COLOR) {
        if (null == needleBorderColor) {
            _needleBorderColor = null == COLOR ? Color.TRANSPARENT : COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            needleBorderColor.set(COLOR);
        }
    }
1092784
public void setMinorTickMarkColor(final Color COLOR) {
        if (null == minorTickMarkColor) {
            _minorTickMarkColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            minorTickMarkColor.set(COLOR);
        }
    }
860755
public void setTextColor(final Color COLOR) {
        if (null == textColor) {
            _textColor = COLOR;
            redraw();
        } else {
            textColor.set(COLOR);
        }
    }
196699
public void setLedColor(final Color COLOR) {
        if (null == ledColor) {
            _ledColor = null == COLOR ? Color.RED : COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            ledColor.set(COLOR);
        }
    }
534016
public void setZeroColor(final Color COLOR) {
        if (null == zeroColor) {
            _zeroColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            zeroColor.set(COLOR);
        }
    }
842356
public void setNonStrokingColor (final Color color) throws IOException
  {
    final float [] components = new float [] { color.getRed () / 255f,
                                               color.getGreen () / 255f,
                                               color.getBlue () / 255f };
    final PDColor pdColor = new PDColor (components, PDDeviceRGB.INSTANCE);
    setNonStrokingColor (pdColor);
  }
193709
public DesignSpec setSpacingsColor(int color) {
        if (mSpacingsPaint.getColor() == color) {
            return this;
        }

        mSpacingsPaint.setColor(color);
        invalidateSelf();

        return this;
    }
1159034
public void setCustomLedColor(final Color COLOR) {
        if (customLedColor.COLOR.equals(COLOR)) {return;}

        customLedColor = new CustomLedColor(COLOR);
        final boolean LED_WAS_ON = currentLedImage.equals(ledImageOn) ? true : false;
        flushImages();

        ledImageOff = create_LED_Image(getWidth(), 0, ledColor, ledType);
        ledImageOn  = create_LED_Image(getWidth(), 1, ledColor, ledType);

        currentLedImage = LED_WAS_ON == true ? ledImageOn : ledImageOff;

        repaint();
    }
230521
public void setCornerColor(int index, Color color) {
        if (!isGradation()) {
            for (int i = 0; i < 4; i++) {
                cornerColor[i] = new RGBColor(0.0, 0.0, 0.0);
                cornerColor[i] = this.fillColor;
            }
            setGradation(true);
        }
        cornerColor[index] = color;
    }
658817
public void setHighlightColor(final Color COLOR) {
        if (null == highlightColor) {
            _highlightColor = COLOR;
        } else {
            highlightColor.set(COLOR);
        }
    }