- Color col = getResidueBoxColour(seq, position);
-
- if (fr != null)
- {
- col = fr.findFeatureColour(col, seq, position);
- }
- return col;
- }
-
- void getBoxColour(CollectionColourSchemeI collectionColourSchemeI,
- SequenceI seq, int i)
- {
- if (collectionColourSchemeI != null)
- {
- resBoxColour = collectionColourSchemeI.findColour(seq.getCharAt(i),
- i, seq);
- }
- else if (forOverview
- && !jalview.util.Comparison.isGap(seq.getCharAt(i)))
- {
- resBoxColour = Color.lightGray;
- }
- else
- {
- resBoxColour = Color.white;
- }
-
+ return resColourFinder.getResidueColour(av.getShowBoxes(),
+ av.getResidueShading(), allGroups, seq, position, finder);