@Override public Color getColor() { return super.getColor(); }
private void paintRows(Graphics g, ColorsDispatcher dispatcher, Iterator<Entry<String, AbstractGraphRow>> it, boolean rowsWithLabel) { while (it.hasNext()) { Entry<String, AbstractGraphRow> row = it.next(); if (row.getValue().isDrawOnChart() && row.getValue().isDrawValueLabel() == rowsWithLabel) { //eto Color color = reSetColors ? dispatcher.getNextColor() : row.getValue().getColor(); Color color = row.getValue().getColor() != null ? row.getValue().getColor() : dispatcher.getNextColor(); paintRow(g, row.getValue(), row.getKey(), color); } } }
private void paintRows(Graphics g, ColorsDispatcher dispatcher, Iterator<Entry<String, AbstractGraphRow>> it, boolean rowsWithLabel) { while (it.hasNext()) { Entry<String, AbstractGraphRow> row = it.next(); if (row.getValue().isDrawOnChart() && row.getValue().isDrawValueLabel() == rowsWithLabel) { //eto Color color = reSetColors ? dispatcher.getNextColor() : row.getValue().getColor(); Color color = row.getValue().getColor() != null ? row.getValue().getColor() : dispatcher.getNextColor(); paintRow(g, row.getValue(), row.getKey(), color); } } }
log.debug("%#@ Found override color [" + (overrideColor == null ? "null" : overrideColor.toString()) + "]"); log.debug("%#@ for label [" + row.getLabel() + "] color in-parm [" + (color == null ? "null" : color.toString()) + "]"); log.debug("%#@ prev row.getColor() [" + (row.getColor() == null ? "null" : row.getColor().toString()) + "]"); } else log.debug("%#@ Found null row displayLabel[" + displayLabel + "] and label [" + label + "]"); log.debug("%#@ new row.getColor() [" + (row.getColor() == null ? "null" : row.getColor().toString()) + "]");
log.debug("%#@ Found override color [" + (overrideColor == null ? "null" : overrideColor.toString()) + "]"); log.debug("%#@ for label [" + row.getLabel() + "] color in-parm [" + (color == null ? "null" : color.toString()) + "]"); log.debug("%#@ prev row.getColor() [" + (row.getColor() == null ? "null" : row.getColor().toString()) + "]"); } else log.debug("%#@ Found null row displayLabel[" + displayLabel + "] and label [" + label + "]"); log.debug("%#@ new row.getColor() [" + (row.getColor() == null ? "null" : row.getColor().toString()) + "]");