// therefore, we call it in Eval.colorObject();
return propertyColorEncoder.getColorIndexFromPalette(atom
.getSelectedGroupIndexWithinChain(), 0, atom
.getSelectedGroupCountWithinChain() - 1, ColorEncoder.BGYOR, false);
case JmolConstants.PALETTE_POLYMER:
Model m = viewer.getModelSet().getModels()[atom.modelIndex];
return propertyColorEncoder.getColorIndexFromPalette(atom
.getPolymerIndexInModel(), 0, m.getBioPolymerCount() - 1,
ColorEncoder.BGYOR, false);
case JmolConstants.PALETTE_MONOMER:
// viewer.calcSelectedMonomersCount() must be called first ...
return propertyColorEncoder.getColorIndexFromPalette(atom
.getSelectedMonomerIndexWithinPolymer(), 0, atom