Sets the color of the given element type

@param scoreElement One of the {@link ScoreElements} constant
@param color <TT>null</TT> to remove this attribute
551144
public void setElementColor(byte scoreElement, Color color) {
		String name = "COLOR_"+Byte.toString(scoreElement);
		if (color == null)
			m_attributes.remove(name);
		else
			m_attributes.put(name, color);
		notifyListeners();
	}
174824
public void setAverageColor(final Color COLOR) {
        if (null == averageColor) {
            _averageColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            averageColor.set(COLOR);
        }
    }
749706
public void highlightElement(WebElement element) {
		for (int i = 0; i < 2; i++) {
			JavascriptExecutor js = (JavascriptExecutor) driver;
			js.executeScript(
					"arguments[0].setAttribute('style', arguments[1]);",
					element, "color: yellow; border: 2px solid yellow;");
			js.executeScript(
					"arguments[0].setAttribute('style', arguments[1]);",
					element, "");
		}
	}
373339
public void setChromeShadowColor(int color) {
    if (chromeShadowColor != color) {
      viewBorderPaint.setShadowLayer(1, -1, 1, color);
      chromeShadowColor = color;
      invalidate();
    }
  }
172525
public void setColor(final Color COLOR) {
        if (null == color) {
            _color = COLOR;
        } else {
            color.set(COLOR);
        }
    }
467452
def SetMarkerColor(self, color):
        
        self._markercolor = Color(color)
        if isinstance(self, ROOT.TAttMarker):
            ROOT.TAttMarker.SetMarkerColor(self, self._markercolor('root'))
1092784
public void setMinorTickMarkColor(final Color COLOR) {
        if (null == minorTickMarkColor) {
            _minorTickMarkColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            minorTickMarkColor.set(COLOR);
        }
    }
876580
private final void setColor(ColorSet colorSet) {
        int[] rgb = ColorSet.getRGB(colorSet);
        this.red   = rgb[0] / 255.0;
        this.green = rgb[1] / 255.0;
        this.blue  = rgb[2] / 255.0;
    }
602227
public final void setColors(Color[] colors) {
        int[] pixels = ((DataBufferInt)img.getRaster().getDataBuffer()).getData();
        for (int y = 0; y < height; ++y) {
            for (int x = 0; x < width; ++x) {
                int idx = x + y * width;
                if (colors.length <= idx) break;
                int red   = (int)(colors[idx].getRed()   * 255.0);
                int green = (int)(colors[idx].getGreen() * 255.0);
                int blue  = (int)(colors[idx].getBlue()  * 255.0);
                int alpha = (int)(colors[idx].getAlpha() * 255.0);
                pixels[idx] = alpha << 24 |
                              red   << 16 |
                              green << 8  |
                              blue;
            }
        }
    }
300378
public void setBackgroundColor(Color colorBackground)
    {
        m_colorBackground = colorBackground;
        if (m_parent != null)
        {
            JTiledImage panel = (JTiledImage)JBasePanel.getSubScreen(this, JTiledImage.class);
            if (panel != null)
                panel.setBackground(colorBackground);
        }
    }
1148858
public final void setErrorColor(@ColorInt final int color) {
        this.errorColor = color;

        if ((Boolean) leftMessage.getTag()) {
            leftMessage.setTextColor(color);
        }

        if ((Boolean) rightMessage.getTag()) {
            rightMessage.setTextColor(color);
        }
    }
118251
public void setMinuteTickMarkColor(final Color COLOR) {
        if (null == minuteTickMarkColor) {
            _minuteTickMarkColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            minuteTickMarkColor.set(COLOR);
        }
    }
1162505
public T setStrokeColor(final IColor color)
    {
        return setStrokeColor(null == color ? null : color.getColorString());
    }
361082
public void setFillColor(final IColor color)
    {
        m_jso.setFillColor((null != color) ? color.getColorString() : null);
    }
1210200
public final void setColor(@ColorInt final int color) {
        if (this.color != color) {
            this.color = color;
            persistInt(color);
            notifyChanged();
            adaptPreviewView();
        }
    }
1289303
public void setColor(String red, String green, String blue, String alpha) {
		setColor(red, green, blue);
		setAlpha(alpha);
	}
325952
public void setColor(final Color COLOR) {
        if (null == color) {
            _color = COLOR;
        } else {
            color.set(COLOR);
        }
        fireMarkerEvent(COLOR_CHANGED_EVENT);
    }