|
@ -152,13 +152,17 @@ public enum ColorCategory {
|
152
|
152
|
return color;
|
153
|
153
|
}
|
154
|
154
|
|
155
|
|
public static final int[] DEFAULT_COLORS;
|
|
155
|
private static int[] DEFAULT_COLORS;
|
156
|
156
|
static {
|
157
|
157
|
DEFAULT_COLORS = new int[] { Red.getColor(), Orange.getColor(),
|
158
|
158
|
Yellow.getColor(), Green.getColor(), Blue.getColor(),
|
159
|
159
|
Indigo.getColor(), Purple.getColor(),MediumVioletRed.getColor(),
|
160
|
160
|
Honeydew.getColor()};
|
161
|
161
|
}
|
|
162
|
|
|
163
|
public static int getDefaultColor(int i) {
|
|
164
|
return DEFAULT_COLORS[i];
|
|
165
|
}
|
162
|
166
|
/*static {
|
163
|
167
|
DEFAULT_COLORS = new int[] { MediumVioletRed.getColor(), Indigo.getColor(), Honeydew.getColor(),
|
164
|
168
|
Yellow.getColor(), Khaki.getColor(), Lavender.getColor(),
|