X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FFeatureColourI.java;fp=src%2Fjalview%2Fapi%2FFeatureColourI.java;h=0ded0798929cedbe594384df2e63b4f2ca2a61f6;hb=fb2d7072a283815141262d70d5f11a5e966d500b;hp=01eb7faa20f9d7ebf964fe353686b25698cac9a3;hpb=c4b90e7ff57436d6bb96d316eed24c887b241f4d;p=jalview.git diff --git a/src/jalview/api/FeatureColourI.java b/src/jalview/api/FeatureColourI.java index 01eb7fa..0ded079 100644 --- a/src/jalview/api/FeatureColourI.java +++ b/src/jalview/api/FeatureColourI.java @@ -146,7 +146,9 @@ public interface FeatureColourI boolean hasThreshold(); /** - * Returns the computed colour for the given sequence feature + * Returns the computed colour for the given sequence feature. Answers null if + * the score of this feature instance is outside the range to render (if any), + * i.e. lies below or above a configured threshold. * * @param feature * @return @@ -154,17 +156,6 @@ public interface FeatureColourI Color getColor(SequenceFeature feature); /** - * Answers true if the feature has a simple colour, or is coloured by label, - * or has a graduated colour and the score of this feature instance is within - * the range to render (if any), i.e. does not lie below or above any - * threshold set. - * - * @param feature - * @return - */ - boolean isColored(SequenceFeature feature); - - /** * Update the min-max range for a graduated colour scheme * * @param min