public void destroy() { setAFPChain(null); mouseMoLi.destroy(); jmol = null; ca1 = null; ca2 = null; selection = null; }
private void selectEQR() { selection.clear(); List<Integer> pos1 = DisplayAFP.getEQRAlignmentPos(afpChain); for (int pos : pos1) { selection.flip(pos); } mouseMoLi.triggerSelectionLocked(true); updateJmolDisplay(); this.repaint(); }
public AligPanel() { super(); this.setBackground(Color.white); coordManager = new AFPChainCoordManager(); seqFont = new Font("SansSerif", Font.PLAIN, 12); eqFont = new Font("SansSerif", Font.BOLD, 12); mouseMoLi = new AligPanelMouseMotionListener(this); this.addMouseMotionListener(mouseMoLi); this.addMouseListener(mouseMoLi); mouseMoLi.addAligPosListener(this); selection = new BitSet(); colorBySimilarity = false; colorByAlignmentBlock = false; }
public void addAlignmentPositionListener(AlignmentPositionListener li) { mouseMoLi.addAligPosListener(li); }