X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FAlignViewport.java;h=382fcb6e8b2809568156463ab847531f5ba954ca;hb=08044f16da407871ea84ccbfbc09e34cceb74080;hp=30724a4e8ec3e2461eeb70399a7bb47b0ecdd405;hpb=92f934a3ed429a46227cf829f985d72cb7e86fb7;p=jalview.git diff --git a/src/jalview/appletgui/AlignViewport.java b/src/jalview/appletgui/AlignViewport.java index 30724a4..382fcb6 100755 --- a/src/jalview/appletgui/AlignViewport.java +++ b/src/jalview/appletgui/AlignViewport.java @@ -36,7 +36,8 @@ public class AlignViewport int startSeq; int endSeq; - boolean showFullId = true; + boolean showDBPrefix = true; + boolean showJVSuffix = true; boolean showText = true; boolean showColourText = false; boolean showBoxes = true; @@ -57,8 +58,7 @@ public class AlignViewport int charHeight; int charWidth; - int chunkWidth; - int chunkHeight; + int wrappedWidth; Font font = new Font("SansSerif", Font.PLAIN, 10); AlignmentI alignment; @@ -99,7 +99,7 @@ public class AlignViewport String param = applet.getParameter("showFullId"); if (param != null) { - showFullId = Boolean.valueOf(param).booleanValue(); + showJVSuffix = Boolean.valueOf(param).booleanValue(); } param = applet.getParameter("showAnnotation"); @@ -443,24 +443,14 @@ public class AlignViewport return charHeight; } - public void setChunkWidth(int w) + public void setWrappedWidth(int w) { - this.chunkWidth = w; + this.wrappedWidth = w; } - public int getChunkWidth() + public int getwrappedWidth() { - return chunkWidth; - } - - public void setChunkHeight(int h) - { - this.chunkHeight = h; - } - - public int getChunkHeight() - { - return chunkHeight; + return wrappedWidth; } public AlignmentI getAlignment() @@ -607,14 +597,24 @@ public class AlignViewport return colourAppliesToAllGroups; } - public boolean getShowFullId() + public boolean getShowJVSuffix() + { + return showJVSuffix; + } + + public void setShowJVSuffix(boolean b) + { + showJVSuffix = b; + } + + public boolean getShowDBPrefix() { - return showFullId; + return showDBPrefix; } - public void setShowFullId(boolean b) + public void setShowDBPrefix(boolean b) { - showFullId = b; + showDBPrefix = b; } public boolean getShowAnnotation()