Sets the color of the threshold led.
The LedColor is not a standard color but defines a
color scheme for the led. The default ledcolor is RED
@param LED_COLOR
435823
public void setLedColor(final LedColor LED_COLOR) {
        if (ledColor == LED_COLOR) {return;}

        if (LED_COLOR == null) {
            ledColor = LedColor.RED_LED;
        } else {
            ledColor = LED_COLOR;
        }
        final boolean LED_WAS_ON = currentLedImage.equals(ledImageOn) ? true : false;
        flushImages();
        ledImageOff = create_LED_Image(getWidth(), 0, LED_COLOR, ledType);
        ledImageOn  = create_LED_Image(getWidth(), 1, LED_COLOR, ledType);

        currentLedImage = LED_WAS_ON == true ? ledImageOn : ledImageOff;

        repaint();
    }
558200
public void setChromeColor(int color) {
    if (chromeColor != color) {
      viewBorderPaint.setColor(color);
      chromeColor = color;
      invalidate();
    }
  }
280999
public void setColor(int color) {
		setRed(ColorUtils.getRed(color));
		setGreen(ColorUtils.getGreen(color));
		setBlue(ColorUtils.getBlue(color));
		if (color > 16777215 || color < 0) {
			setAlpha(ColorUtils.getAlpha(color));
		}
	}
58904
def SetColor(self, color):
        
        self.SetFillColor(color)
        self.SetLineColor(color)
        self.SetMarkerColor(color)
902395
public void setIconHaloColor(@ColorInt int color) {
    jsonObject.addProperty(SymbolOptions.PROPERTY_ICON_HALO_COLOR, ColorUtils.colorToRgbaString(color));
  }
534016
public void setZeroColor(final Color COLOR) {
        if (null == zeroColor) {
            _zeroColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            zeroColor.set(COLOR);
        }
    }
1358156
public void setKnobColor(final Color COLOR) {
        if (null == knobColor) {
            _knobColor = COLOR;
            fireTileEvent(RESIZE_EVENT);
        } else {
            knobColor.set(COLOR);
        }
    }
735290
public void setBarGraphColor(final ColorDef BARGRAPH_COLOR) {
        getModel().setValueColor(BARGRAPH_COLOR);
        init(getInnerBounds().width, getInnerBounds().width);
        repaint(getInnerBounds());
    }
671206
def setColor( self, color ):
        
        self._color = QColor(color)
        self.setAlternateColor(self._color.lighter(140))
265995
public void setBarColor(final Color COLOR) {
        if (null == barColor) {
            _barColor = COLOR;
            fireTileEvent(REDRAW_EVENT);
        } else {
            barColor.set(COLOR);
        }
    }
798352
public final void setDialogHeaderBackgroundColor(@ColorInt final int color) {
        this.dialogHeaderBackground = new ColorDrawable(color);
        this.dialogHeaderBackgroundBitmap = null;
        this.dialogHeaderBackgroundId = -1;
        this.dialogHeaderBackgroundColor = 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);
  }
723239
public void setColor(Color color)
	{
		if (null == color)
		{
			String _message = "The color must be non null.";
			Object[] _parameters = {};
			throw new IllegalArgumentException(MessageFormat.format(_message, _parameters));
		}
		myColor = color;
	}
1204567
public final void setDividerColor(@ColorInt final int color) {
        this.seekBarColor = color;

        try {
            Field divider = getClass().getSuperclass().getDeclaredField("mSelectionDivider");
            divider.setAccessible(true);
            divider.set(this, new ColorDrawable(color));
        } catch (NoSuchFieldException | IllegalArgumentException | IllegalAccessException e) {
            Log.w(TAG, "Failed to set divider color", e);
        }
    }
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();
    }
50025
public void setCustomSkyColor(final Color CUSTOM_SKY_COLOR) {
        customSkyColor = CUSTOM_SKY_COLOR;
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
929065
public void setUnitColor(final Color COLOR) {
        if (null == unitColor) {
            _unitColor = COLOR;
            fireTileEvent(REDRAW_EVENT);
        } else {
            unitColor.set(COLOR);
        }
    }