From e142bcca7d3c8a10695b87f94bc724cc2f5ab165 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 10 Dec 2004 14:33:53 +0000 Subject: [PATCH] COnservationSelected and rubberband method setup --- src/jalview/gui/AlignViewport.java | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 905255a..b21f47e 100755 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -25,11 +25,14 @@ public class AlignViewport boolean groupDefiningMode = true; ColourSchemeI globalColourScheme = null; + boolean conservationColourSelected = false; + + SequenceGroup rubberbandGroup = null; RendererI renderer = new SequenceRenderer(this); int charHeight; - int charWidth; + int charWidth; int chunkWidth; int chunkHeight; @@ -114,6 +117,25 @@ public class AlignViewport return consensus; } + public SequenceGroup getRubberbandGroup() + { + return rubberbandGroup; + } + + public void setRubberbandGroup(SequenceGroup sg) + { + rubberbandGroup = sg; + } + + public boolean getConservationSelected() + { + return conservationColourSelected; + } + + public void setConservationSelected(boolean b) + { + conservationColourSelected = b; + } public int getStartRes() { return startRes; -- 1.7.10.2