boolean showText = true;
/**
+ * colour gaps in the alignment view according to the overview gap colour
+ */
+ boolean colourGaps = false;
+ /**
* show non-conserved residues only
*/
protected boolean showUnconserved = false;
setUpperCasebold(vs.isUpperCasebold());
setWrapAlignment(vs.getWrapAlignment());
setWrappedWidth(vs.getWrappedWidth());
+ setColourGaps(vs.getColourGaps());
// ViewStyle.configureFrom(this, viewStyle);
}
&& getThresholdTextColour() == vs.getThresholdTextColour()
&& isUpperCasebold() == vs.isUpperCasebold()
&& getWrapAlignment() == vs.getWrapAlignment()
- && getWrappedWidth() == vs.getWrappedWidth());
+ && getWrappedWidth() == vs.getWrappedWidth()
+ && getColourGaps() == vs.getColourGaps());
/*
* and compare non-primitive types; syntax below will match null with null
* values
hash += m++ * Boolean.valueOf(this.showSequenceFeatures).hashCode();
hash += m++ * Boolean.valueOf(this.showUnconserved).hashCode();
hash += m++ * Boolean.valueOf(this.wrapAlignment).hashCode();
+ hash += m++ * Boolean.valueOf(this.colourGaps).hashCode();
+ hash += m++ * Boolean.valueOf(this.showColourText).hashCode();
hash += m++ * this.charHeight;
hash += m++ * this.charWidth;
hash += m++ * fontSize;
{
return showComplementFeaturesOnTop;
}
+
+ @Override
+ public void setColourGaps(boolean b)
+ {
+ colourGaps = b;
+ }
+
+ @Override
+ public boolean getColourGaps()
+ {
+ return colourGaps;
+ }
}