-package org.simantics.trend.configuration;\r
-\r
-import java.awt.Color;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public class TrendConstants {\r
-\r
- /**\r
- * @see <a href="https://www.simantics.org/redmine/issues/1314">#1314</a>\r
- */\r
- public static final Color[] COLORS = {\r
- new Color(0.00f, 0.00f, 1.00f),\r
- new Color(0.00f, 0.50f, 0.00f),\r
- new Color(1.00f, 0.00f, 0.00f),\r
- new Color(0.00f, 0.75f, 0.75f),\r
- new Color(0.75f, 0.00f, 0.75f),\r
- new Color(0.75f, 0.75f, 0.00f),\r
- new Color(0.25f, 0.25f, 0.25f),\r
- new Color(0.75f, 0.25f, 0.25f),\r
- new Color(0.95f, 0.95f, 0.00f),\r
- new Color(0.25f, 0.25f, 0.75f),\r
- new Color(0.75f, 0.75f, 0.75f),\r
- new Color(0.00f, 1.00f, 0.00f),\r
- new Color(0.76f, 0.57f, 0.17f),\r
- new Color(0.54f, 0.63f, 0.22f),\r
- new Color(0.34f, 0.57f, 0.92f),\r
- new Color(1.00f, 0.10f, 0.60f),\r
- new Color(0.88f, 0.75f, 0.73f),\r
- new Color(0.10f, 0.49f, 0.47f),\r
- new Color(0.66f, 0.34f, 0.65f),\r
- new Color(0.99f, 0.41f, 0.23f),\r
- };\r
-\r
- public static final Color color(int index) {\r
- return COLORS[index % COLORS.length];\r
- }\r
-\r
-}\r
+package org.simantics.trend.configuration;
+
+import java.awt.Color;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public class TrendConstants {
+
+ /**
+ * @see <a href="https://www.simantics.org/redmine/issues/1314">#1314</a>
+ */
+ public static final Color[] COLORS = {
+ new Color(0.00f, 0.00f, 1.00f),
+ new Color(0.00f, 0.50f, 0.00f),
+ new Color(1.00f, 0.00f, 0.00f),
+ new Color(0.00f, 0.75f, 0.75f),
+ new Color(0.75f, 0.00f, 0.75f),
+ new Color(0.75f, 0.75f, 0.00f),
+ new Color(0.25f, 0.25f, 0.25f),
+ new Color(0.75f, 0.25f, 0.25f),
+ new Color(0.95f, 0.95f, 0.00f),
+ new Color(0.25f, 0.25f, 0.75f),
+ new Color(0.75f, 0.75f, 0.75f),
+ new Color(0.00f, 1.00f, 0.00f),
+ new Color(0.76f, 0.57f, 0.17f),
+ new Color(0.54f, 0.63f, 0.22f),
+ new Color(0.34f, 0.57f, 0.92f),
+ new Color(1.00f, 0.10f, 0.60f),
+ new Color(0.88f, 0.75f, 0.73f),
+ new Color(0.10f, 0.49f, 0.47f),
+ new Color(0.66f, 0.34f, 0.65f),
+ new Color(0.99f, 0.41f, 0.23f),
+ };
+
+ public static final Color color(int index) {
+ return COLORS[index % COLORS.length];
+ }
+
+}