@Test public void testGetColor() { Color color = PlotLineColorPalette.getColor(0); Assert.assertEquals(color, new Color(032, 178, 170)); }
public static Color getColor(int i) { Color c = UIManager.getColor(String.format( BUNDLE.getString("PlotColor.format"), (i+1))); if (c != null) return c; if (colorSet.size() == 0) { loadColors(); } if (i >= colorSet.size()){ throw new IllegalArgumentException("Requested color " + i + " out of range [ 0 .. "+ colorSet.size() + "]"); } return colorSet.get(i); }
PlotLineColorPalette { public static Color getColor(int i) { Color c = UIManager.getColor(String.format( BUNDLE.getString("PlotColor.format"), (i+1))); if (c != null) return c; if (colorSet.size() == 0) { loadColors(); } if (i >= colorSet.size()){ throw new IllegalArgumentException("Requested color " + i + " out of range [ 0 .. "+ colorSet.size() + "]"); } return colorSet.get(i); } }
PlotLineColorPalette { public static Color getColor(int i) { Color c = UIManager.getColor(String.format( BUNDLE.getString("PlotColor.format"), (i+1))); if (c != null) return c; if (colorSet.size() == 0) { loadColors(); } if (i >= colorSet.size()){ throw new IllegalArgumentException("Requested color " + i + " out of range [ 0 .. "+ colorSet.size() + "]"); } return colorSet.get(i); }  }
PlotLineColorPalette { public static Color getColor(int i) { Color c = UIManager.getColor(String.format( BUNDLE.getString("PlotColor.format"), (i+1))); if (c != null) return c; if (colorSet.size() == 0) { loadColors(); } if (i >= colorSet.size()){ throw new IllegalArgumentException("Requested color " + i + " out of range [ 0 .. "+ colorSet.size() + "]"); } return colorSet.get(i); }  static Color getColor(int i); static int getColorCount(); }
PlotLineColorPalette { public static Color getColor(int i) { Color c = UIManager.getColor(String.format( BUNDLE.getString("PlotColor.format"), (i+1))); if (c != null) return c; if (colorSet.size() == 0) { loadColors(); } if (i >= colorSet.size()){ throw new IllegalArgumentException("Requested color " + i + " out of range [ 0 .. "+ colorSet.size() + "]"); } return colorSet.get(i); }  static Color getColor(int i); static int getColorCount(); final static Color COLOR1; final static Color COLOR2; final static Color COLOR3; final static Color COLOR4; final static Color COLOR5; final static Color COLOR6; final static Color COLOR7; final static Color COLOR8; final static Color COLOR9; final static Color COLOR10; final static Color COLOR11; final static Color COLOR12; final static Color COLOR13; final static Color COLOR14; final static Color COLOR15; final static Color COLOR16; final static Color COLOR17; final static Color COLOR18; final static Color COLOR19; final static Color COLOR20; final static Color COLOR21; final static Color COLOR22; final static Color COLOR23; final static Color COLOR24; final static Color COLOR25; final static Color COLOR26; final static Color COLOR27; final static Color COLOR28; final static Color COLOR29; final static Color COLOR30; final static Color COLOR31; }