Sets the color of the sparkline
@param LINE_COLOR
346101
public void setLineColor(final Color LINE_COLOR) {
        this.lineColor = LINE_COLOR;
        init(INNER_BOUNDS.width, INNER_BOUNDS.height);
        repaint(INNER_BOUNDS);
    }
85089
def set_color(self, color):
        
        if color is not None:
            self._color_lev = color
            self._need_color_update = True
            self.update()
705340
public void setCornerColor(int index, Color color) {
        if (cornerColor == null) {
            for (int i = 0; i < cornerX.size(); i++) {
                cornerColor.add(new RGBColor(this.fillColor.getRed(), this.fillColor.getGreen(),
                    this.fillColor.getBlue(), this.fillColor.getAlpha()));
            }
            setGradation(true);
        }
        if (cornerColor.size() < cornerX.size()) {
            while (cornerColor.size() != cornerX.size()) {
                cornerColor.add(new RGBColor(this.fillColor.getRed(), this.fillColor.getGreen(),
                    this.fillColor.getBlue(), this.fillColor.getAlpha()));
            }
        }
        cornerColor.set(index, color);
    }
41589
public void setLineWidth(final float LINE_WIDTH) {
        lineWidth = LINE_WIDTH;
        init(INNER_BOUNDS.width, INNER_BOUNDS.height);
        repaint(INNER_BOUNDS);
    }
929065
public void setUnitColor(final Color COLOR) {
        if (null == unitColor) {
            _unitColor = COLOR;
            fireTileEvent(REDRAW_EVENT);
        } else {
            unitColor.set(COLOR);
        }
    }
852962
private void setTextColor() {
        if (isWeakReferenceValid()) {
            TextView textView = getTextView().get();
            textView.setTextColor(getTextColor(textView.getContext()));
        }
    }
1056972
def setGridColor(self, color):
        
        palette = self.palette()
        palette.setColor(palette.GridForeground, QColor(color))
361082
public void setFillColor(final IColor color)
    {
        m_jso.setFillColor((null != color) ? color.getColorString() : null);
    }
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);
  }
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();
    }
1356815
public void setColorForTotal(int row, int column, Color color){
		int mapC = (colors.length-1) - column;
		int mapR = (colors[0].length-1) - row;
		colors[mapC][mapR]=color;		
	}
860755
public void setTextColor(final Color COLOR) {
        if (null == textColor) {
            _textColor = COLOR;
            redraw();
        } else {
            textColor.set(COLOR);
        }
    }
398425
def setHighlightColor(self, color):
        
        color = QColor(color)
        if self._palette is None:
            self._palette = XNodePalette(self._scenePalette)
        
        self._palette.setColor(self._palette.NodeHighlight, color)
        self.setDirty()
265995
public void setBarColor(final Color COLOR) {
        if (null == barColor) {
            _barColor = COLOR;
            fireTileEvent(REDRAW_EVENT);
        } else {
            barColor.set(COLOR);
        }
    }
408791
public void setColor(int color) {
		int x1, y1;
		if(mOrientation) {
			x1 = (mBarLength + mBarPointerHaloRadius);
			y1 = mBarThickness;
		}        else {
			x1 = mBarThickness;
			y1 = (mBarLength + mBarPointerHaloRadius);
		}
		
		Color.colorToHSV(color, mHSVColor);
		shader = new LinearGradient(mBarPointerHaloRadius, 0,
				x1, y1, new int[] {Color.WHITE, color, Color.BLACK}, null,
				Shader.TileMode.CLAMP);
		mBarPaint.setShader(shader);
	    calculateColor(mBarPointerPosition);
		mBarPointerPaint.setColor(mColor);
		if (mPicker != null) {
			mPicker.setNewCenterColor(mColor);
			if(mPicker.hasOpacityBar())
				mPicker.changeOpacityBarColor(mColor);
		}
		invalidate();
	}
301599
def setHintColor(self, color):
        
        lineEdit = self.lineEdit()
        if isinstance(lineEdit, XLineEdit):
            lineEdit.setHintColor(color)
534016
public void setZeroColor(final Color COLOR) {
        if (null == zeroColor) {
            _zeroColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            zeroColor.set(COLOR);
        }
    }