X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FColourSchemeI.java;h=d70b4e2f1967cb67ab0ccad9cb93a4f4b0015add;hb=e1cb1f4ff4ae05504c806d99395358629c807956;hp=bfeb0174b92f86db5e4b67e9f38399f40f66d49c;hpb=8e1be43e250107a4d86898bd554cf03098fa5957;p=jalview.git diff --git a/src/jalview/schemes/ColourSchemeI.java b/src/jalview/schemes/ColourSchemeI.java index bfeb017..d70b4e2 100755 --- a/src/jalview/schemes/ColourSchemeI.java +++ b/src/jalview/schemes/ColourSchemeI.java @@ -30,23 +30,6 @@ import java.util.Map; public interface ColourSchemeI { /** - * Returns the fixed colour for the colour scheme. For use when the colour - * does not vary. - * - * @return - */ - Color findColour(); - - /** - * 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. @@ -115,4 +98,11 @@ public interface ColourSchemeI * @return */ boolean isSimple(); + + /** + * Answers true if the colour scheme has a colour specified for gaps. + * + * @return + */ + boolean hasGapColour(); }