repaint();
}
+
+ public Color getColour(int atomIndex, int pdbResNum, String chain, String pdbfile)
+ {
+ return Color.white;
+ // if (!pdbfile.equals(pdbentry.getFile()))
+ // return null;
+
+ //return new Color(viewer.getAtomArgb(atomIndex));
+ }
+
public void updateColours(Object source)
{
AlignmentPanel ap = (AlignmentPanel) source;
//End StructureListener
////////////////////////////
+ public Color getColour(int atomIndex, int pdbResNum, String chain, String pdbfile)
+ {
+ if (!pdbfile.equals(pdbentry.getFile()))
+ return null;
+
+ return new Color(viewer.getAtomArgb(atomIndex));
+ }
+
FeatureRenderer fr;
public void colourBySequence(AlignmentPanel ap)
{