import java.util.Hashtable;
import java.util.Vector;
+import jalview.api.AlignmentViewPanel;
import jalview.datamodel.*;
-public class AlignmentPanel extends Panel implements AdjustmentListener
+public class AlignmentPanel extends Panel implements AdjustmentListener, AlignmentViewPanel
{
public AlignViewport av;
return false;
}
SequenceI seq = av.alignment.getSequenceAt(seqIndex);
- int[] r = results.getResults(seq, seq.getStart(), seq.getEnd());
+ int[] r = results.getResults(seq, 0,av.alignment.getWidth());
if (r == null)
{
if (av.applet.debug) {// DEBUG
alabels.setScrollOffset(apvscroll.getValue());
}
+ @Override
+ public AlignmentI getAlignment()
+ {
+ return av.alignment;
+ }
+
}