JAL-2145 fix: build alignments before building AlignFrame/SplitFrame pair
[jalview.git] / src / jalview / api / FeatureColourI.java
index 0a333ca..1fcbfd0 100644 (file)
@@ -14,8 +14,6 @@ public interface FeatureColourI
    */
   boolean isGraduatedColour();
 
-  void setGraduatedColour(boolean b);
-
   /**
    * Returns the feature colour (when isGraduatedColour answers false)
    * 
@@ -95,6 +93,13 @@ public interface FeatureColourI
 
   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);
@@ -146,4 +151,11 @@ public interface FeatureColourI
    * @param max
    */
   void updateBounds(float min, float max);
+
+  /**
+   * Returns the colour in Jalview features file format
+   * 
+   * @return
+   */
+  String toJalviewFormat(String featureType);
 }