Graphical bits moved into files to save jar size
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index 30724a4..382fcb6 100755 (executable)
@@ -36,7 +36,8 @@ public class AlignViewport
   int startSeq;\r
   int endSeq;\r
 \r
-  boolean showFullId = true;\r
+  boolean showDBPrefix = true;\r
+  boolean showJVSuffix = true;\r
   boolean showText = true;\r
   boolean showColourText = false;\r
   boolean showBoxes = true;\r
@@ -57,8 +58,7 @@ public class AlignViewport
 \r
   int charHeight;\r
   int charWidth;\r
-  int chunkWidth;\r
-  int chunkHeight;\r
+  int wrappedWidth;\r
 \r
   Font font = new Font("SansSerif", Font.PLAIN, 10);\r
   AlignmentI alignment;\r
@@ -99,7 +99,7 @@ public class AlignViewport
       String param = applet.getParameter("showFullId");\r
       if (param != null)\r
       {\r
-        showFullId = Boolean.valueOf(param).booleanValue();\r
+        showJVSuffix = Boolean.valueOf(param).booleanValue();\r
       }\r
 \r
       param = applet.getParameter("showAnnotation");\r
@@ -443,24 +443,14 @@ public class AlignViewport
     return charHeight;\r
   }\r
 \r
-  public void setChunkWidth(int w)\r
+  public void setWrappedWidth(int w)\r
   {\r
-    this.chunkWidth = w;\r
+    this.wrappedWidth = w;\r
   }\r
 \r
-  public int getChunkWidth()\r
+  public int getwrappedWidth()\r
   {\r
-    return chunkWidth;\r
-  }\r
-\r
-  public void setChunkHeight(int h)\r
-  {\r
-    this.chunkHeight = h;\r
-  }\r
-\r
-  public int getChunkHeight()\r
-  {\r
-    return chunkHeight;\r
+    return wrappedWidth;\r
   }\r
 \r
   public AlignmentI getAlignment()\r
@@ -607,14 +597,24 @@ public class AlignViewport
     return colourAppliesToAllGroups;\r
   }\r
 \r
-  public boolean getShowFullId()\r
+  public boolean getShowJVSuffix()\r
+  {\r
+    return showJVSuffix;\r
+  }\r
+\r
+  public void setShowJVSuffix(boolean b)\r
+  {\r
+    showJVSuffix = b;\r
+  }\r
+\r
+  public boolean getShowDBPrefix()\r
   {\r
-    return showFullId;\r
+    return showDBPrefix;\r
   }\r
 \r
-  public void setShowFullId(boolean b)\r
+  public void setShowDBPrefix(boolean b)\r
   {\r
-    showFullId = b;\r
+    showDBPrefix = b;\r
   }\r
 \r
   public boolean getShowAnnotation()\r