JAL-2388 Make startRes,startSeq,endRes,endSeq private with get/setters
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index 951a651..f927e63 100644 (file)
@@ -76,10 +76,10 @@ public class AlignViewport extends AlignmentViewport implements
     alignment = al;
     // we always pad gaps
     this.setPadGaps(true);
-    this.startRes = 0;
-    this.endRes = al.getWidth() - 1;
-    this.startSeq = 0;
-    this.endSeq = al.getHeight() - 1;
+    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