import jalview.datamodel.Annotation;
import jalview.datamodel.ColumnSelection;
import jalview.schemes.ColourSchemeI;
+import jalview.schemes.NucleotideColourScheme;
import jalview.schemes.ResidueProperties;
+import jalview.schemes.ZappoColourScheme;
+import jalview.util.Platform;
import java.awt.BasicStroke;
import java.awt.Color;
private FontMetrics fm;
- private final boolean MAC = jalview.util.Platform.isAMac();
+ private final boolean MAC = Platform.isAMac();
boolean av_renderHistogram = true, av_renderProfile = true,
av_normaliseProfile = false;
{
// Set the default colour for sequence logo if the alignnent has no
// colourscheme set
- profcolour = av.getAlignment().isNucleotide() ? new jalview.schemes.NucleotideColourScheme()
- : new jalview.schemes.ZappoColourScheme();
+ profcolour = av.getAlignment().isNucleotide() ? new NucleotideColourScheme()
+ : new ZappoColourScheme();
}
columnSelection = av.getColumnSelection();
hconsensus = av.getSequenceConsensusHash();
import jalview.datamodel.SequenceFeature;
import jalview.datamodel.SequenceI;
+import jalview.util.Comparison;
+import jalview.viewmodel.seqfeatures.FeatureRendererModel;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
-public class FeatureRenderer extends
- jalview.viewmodel.seqfeatures.FeatureRendererModel
+public class FeatureRenderer extends FeatureRendererModel
{
FontMetrics fm;
{
s = seq.getCharAt(i);
- if (jalview.util.Comparison.isGap(s))
+ if (Comparison.isGap(s))
{
continue;
}
{
s = seq.getCharAt(i);
- if (jalview.util.Comparison.isGap(s))
+ if (Comparison.isGap(s))
{
continue;
}
return initialCol;
}
- if (jalview.util.Comparison.isGap(lastSeq.getCharAt(column)))
+ if (Comparison.isGap(lastSeq.getCharAt(column)))
{
return Color.white.getRGB();
}