protected boolean ignoreGapsInConsensusCalculation = false;
+ protected boolean ignoreBelowBackGroundFrequencyCalculation = false;
+
protected ResidueShaderI residueShading = new ResidueShader();
@Override
}
+ public void setIgnoreBelowBackground(boolean b, AlignmentViewPanel ap)
+ {
+ ignoreBelowBackGroundFrequencyCalculation = b;
+ if (ap != null)
+ {
+ // updateConsensus(ap);
+ if (residueShading != null)
+ {
+ residueShading.setThreshold(residueShading.getThreshold(),
+ ignoreBelowBackGroundFrequencyCalculation);
+ }
+ }
+
+ }
+
private long sgrouphash = -1, colselhash = -1;
/**
return ignoreGapsInConsensusCalculation;
}
+ public boolean isIgnoreBelowBackground()
+ {
+ return ignoreBelowBackGroundFrequencyCalculation;
+ }
+
// property change stuff
// JBPNote Prolly only need this in the applet version.
private PropertyChangeSupport changeSupport = new PropertyChangeSupport(