import jalview.structure.StructureSelectionManager;
import jalview.structure.VamsasSource;
import jalview.viewmodel.AlignmentViewport;
-import jalview.viewmodel.ViewportPositionProps;
+import jalview.viewmodel.ViewportRanges;
import java.awt.Font;
calculator = new jalview.workers.AlignCalcManager();
this.applet = applet;
alignment = al;
- posProps = new ViewportPositionProps(this.alignment);
+ ranges = new ViewportRanges(this.alignment);
// we always pad gaps
this.setPadGaps(true);
- this.setStartRes(0);
- this.setEndRes(al.getWidth() - 1);
- this.setStartSeq(0);
- this.setEndSeq(al.getHeight() - 1);
+
if (applet != null)
{
// get the width and height scaling factors if they were specified