/** * Sets the line color for all sets of bars. * The default line color is the tile foreground color. * That default is used if the specified line color is null. * @param color the line color; null, for tile foreground color. */ public void setLineColor(Color color) { for (int i=0; i<_ns; ++i) setLineColor(i,color); }
setLineColor(Color.RED); } else if (style.contains("g")) { setLineColor(Color.GREEN); } else if (style.contains("b")) { setLineColor(Color.BLUE); } else if (style.contains("c")) { setLineColor(Color.CYAN); } else if (style.contains("m")) { setLineColor(Color.MAGENTA); } else if (style.contains("y")) { setLineColor(Color.YELLOW); } else if (style.contains("k")) { setLineColor(Color.BLACK); } else if (style.contains("w")) { setLineColor(Color.WHITE); } else { setLineColor(null);