*/
public boolean hasFeatures(String type);
+ /**
+ * Returns the rgb value of the colour at position i, or 0 if not known
+ *
+ * @param i
+ * @return
+ */
+ public int getColor(int i);
+
+ /**
+ * Sets the rgb value of the colour at position i
+ *
+ * @param i
+ * @param rgb
+ * @return
+ */
+ public int setColor(int i, int rgb);
+
+ /**
+ * Clears any cached colours
+ */
+ public void resetColors();
+
}