JAL-2835 support filter/colour by nested attribute names
[jalview.git] / src / jalview / schemes / ColourSchemeI.java
index fccc31b..d70b4e2 100755 (executable)
@@ -30,15 +30,6 @@ import java.util.Map;
 public interface ColourSchemeI
 {
   /**
-   * Returns the colour for the given character. For use when the colour depends
-   * only on the symbol.
-   * 
-   * @param c
-   * @return
-   */
-  Color findColour(char c);
-
-  /**
    * Returns the possibly context dependent colour for the given symbol at the
    * aligned position in the given sequence. For example, the colour may depend
    * on the symbol's relationship to the consensus residue for the column.
@@ -107,4 +98,11 @@ public interface ColourSchemeI
    * @return
    */
   boolean isSimple();
+
+  /**
+   * Answers true if the colour scheme has a colour specified for gaps.
+   * 
+   * @return
+   */
+  boolean hasGapColour();
 }