*/
boolean isGraduatedColour();
- void setGraduatedColour(boolean b);
-
/**
* Returns the feature colour (when isGraduatedColour answers false)
*
void setThreshold(float f);
+ /**
+ * Answers true if the colour varies between the actual minimum and maximum
+ * score values of the feature, or false if between absolute minimum and
+ * maximum values (or if not a graduated colour).
+ *
+ * @return
+ */
boolean isAutoScaled();
void setAutoScaled(boolean b);
* @param max
*/
void updateBounds(float min, float max);
+
+ /**
+ * Returns the colour in Jalview features file format
+ *
+ * @return
+ */
+ String toJalviewFormat(String featureType);
}