X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FColourSchemeI.java;h=fb86888a02ce9347285ca203d6b29e878d5a0f24;hb=65a73bdab9f97cadab54162fbbe53ba9f1d3f3be;hp=da99a4af82dbffed651068065c81e9b23e4e8e2c;hpb=b5699e7d9cc2045f623609948ee10a736256abc4;p=jalview.git diff --git a/src/jalview/schemes/ColourSchemeI.java b/src/jalview/schemes/ColourSchemeI.java index da99a4a..fb86888 100755 --- a/src/jalview/schemes/ColourSchemeI.java +++ b/src/jalview/schemes/ColourSchemeI.java @@ -35,7 +35,7 @@ public interface ColourSchemeI * @param c * @return the colour for the given character */ - public Color findColour(char c); + Color findColour(char c); /** * @@ -48,51 +48,51 @@ public interface ColourSchemeI * @return context dependent colour for the given symbol at the position in * the given sequence */ - public Color findColour(char c, int j, SequenceI seq); + Color findColour(char c, int j, SequenceI seq); /** * assign the given consensus profile for the colourscheme */ - public void setConsensus(ProfilesI hconsensus); + void setConsensus(ProfilesI hconsensus); /** * assign the given conservation to the colourscheme * * @param c */ - public void setConservation(jalview.analysis.Conservation c); + void setConservation(jalview.analysis.Conservation c); /** * enable or disable conservation shading for this colourscheme * * @param conservationApplied */ - public void setConservationApplied(boolean conservationApplied); + void setConservationApplied(boolean conservationApplied); /** * * @return true if conservation shading is enabled for this colourscheme */ - public boolean conservationApplied(); + boolean conservationApplied(); /** * set scale factor for bleaching of colour in unconserved regions * * @param i */ - public void setConservationInc(int i); + void setConservationInc(int i); /** * * @return scale factor for bleaching colour in unconserved regions */ - public int getConservationInc(); + int getConservationInc(); /** * * @return percentage identity threshold for applying colourscheme */ - public int getThreshold(); + int getThreshold(); /** * set percentage identity threshold and type of %age identity calculation for @@ -103,7 +103,7 @@ public interface ColourSchemeI * @param ignoreGaps * when true, calculate PID without including gapped positions */ - public void setThreshold(int ct, boolean ignoreGaps); + void setThreshold(int ct, boolean ignoreGaps); /** * recalculate dependent data using the given sequence collection, taking @@ -112,7 +112,7 @@ public interface ColourSchemeI * @param alignment * @param hiddenReps */ - public void alignmentChanged(AnnotatedCollectionI alignment, + void alignmentChanged(AnnotatedCollectionI alignment, Map hiddenReps); /** @@ -123,7 +123,6 @@ public interface ColourSchemeI * @param hiddenRepSequences * @return copy of current scheme with any inherited settings transfered */ - public ColourSchemeI applyTo(AnnotatedCollectionI sg, + ColourSchemeI applyTo(AnnotatedCollectionI sg, Map hiddenRepSequences); - }