JAL-2526 better names for fields
[jalview.git] / src / jalview / datamodel / SequenceCursor.java
index b5929bf..b141ebd 100644 (file)
@@ -24,12 +24,12 @@ public class SequenceCursor
   /**
    * column position (1...) of first residue in the sequence, or 0 if undefined
    */
-  public final int firstColumnPosition;
+  public final int firstResidueColumn;
 
   /**
    * column position (1...) of last residue in the sequence, or 0 if undefined
    */
-  public final int lastColumnPosition;
+  public final int lastResidueColumn;
 
   /**
    * a token which may be used to check whether this cursor is still valid for
@@ -80,8 +80,8 @@ public class SequenceCursor
     sequence = seq;
     residuePosition = resPos;
     columnPosition = column;
-    firstColumnPosition = firstResCol;
-    lastColumnPosition = lastResCol;
+    firstResidueColumn = firstResCol;
+    lastResidueColumn = lastResCol;
     token = tok;
   }
 
@@ -119,7 +119,7 @@ public class SequenceCursor
   {
     String name = sequence == null ? "" : sequence.getName();
     return String.format("%s:Pos%d:Col%d:startCol%d:endCol%d:tok%d", name,
-            residuePosition, columnPosition, firstColumnPosition,
-            lastColumnPosition, token);
+            residuePosition, columnPosition, firstResidueColumn,
+            lastResidueColumn, token);
   }
 }