+ IdPanel.this.scrollThread = null;
+ }
+
+ /**
+ * Scrolls one row up or down. Answers true if a scroll could be done, false
+ * if not (top or bottom of alignment reached).
+ */
+ boolean scrollOnce()
+ {
+ ViewportRanges ranges = IdPanel.this.av.getRanges();
+ if (ranges.scrollUp(up))
+ {
+ int toSeq = up ? ranges.getStartSeq() : ranges.getEndSeq();
+ int fromSeq = toSeq < lastid ? lastid - 1 : lastid + 1;
+ IdPanel.this.selectSeqs(fromSeq, toSeq);
+ lastid = toSeq;
+ alignPanel.paintAlignment(false, false);
+ return true;
+ }
+
+ return false;