X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSequenceI.java;h=013897d14a079e0309b50b7d4846a169dc4ef349;hb=fbf6a124e2ffe81bcde747fda6f004748eb3b479;hp=e52102922af1eadb76f529967874c805ac2cf3cb;hpb=0f9c3a6ae35a2f6841fdb8700f85a563fbaeb7e3;p=jalview.git diff --git a/src/jalview/datamodel/SequenceI.java b/src/jalview/datamodel/SequenceI.java index e521029..013897d 100755 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@ -584,11 +584,37 @@ public interface SequenceI extends ASequenceI */ public int firstResidueOutsideIterator(Iterator it); + /** + * @author Bob Hanson 2019.07.30 + * + * get a 4-byte color, with caching + * + */ public int getColor(int i); - public int setColor(int i, int rgb); + /** + * @author Bob Hanson 2019.07.30 + * + * set a 4-byte color, with caching + * + */ + public int setColor(int i, int argb); + /** + * @author Bob Hanson 2019.07.30 + * + * allows resetting the color cache + * + */ public void resetColors(); + /** + * @author Bob Hanson 2019.07.30 + * + * allows passing the result ArrayList as a parameter to avoid unnecessary construction + * + */ + void findFeatures(int column, String type, List result); + }