super.setViewStyle(settingsForView);
setFont(new Font(viewStyle.getFontName(), viewStyle.getFontStyle(),
viewStyle.getFontSize()), false);
- if (residueShading != null)
- {
- residueShading.setConservationApplied(settingsForView
- .isConservationColourSelected());
- }
}
/**
private boolean conservationColouring;
/*
- * the phsyico-chemical property conservation scores for columns, with values
+ * the physico-chemical property conservation scores for columns, with values
* 0-9, '+' (all properties conserved), '*' (residue fully conserved) or '-' (gap)
* (may be null if colour by conservation is not selected)
*/
public void setViewStyle(ViewStyleI settingsForView)
{
viewStyle = new ViewStyle(settingsForView);
+ if (residueShading != null)
+ {
+ residueShading.setConservationApplied(settingsForView
+ .isConservationColourSelected());
+ }
}
@Override