X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FSecondaryStructureListener.java;h=00012ab539251643fc5443164159446d89ab6cbd;hb=1b10059cdf8b6a85fddd86a2a3c6588be3257c22;hp=2402f870955086c7ecdcd0c77571a9e2188cc53f;hpb=47168f025aefdaa044802bd5f8f510ffe43a4808;p=jalview.git diff --git a/src/jalview/structure/SecondaryStructureListener.java b/src/jalview/structure/SecondaryStructureListener.java index 2402f87..00012ab 100644 --- a/src/jalview/structure/SecondaryStructureListener.java +++ b/src/jalview/structure/SecondaryStructureListener.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -20,11 +20,21 @@ */ package jalview.structure; -import jalview.datamodel.*; +import jalview.datamodel.SequenceI; public interface SecondaryStructureListener { // TODO - redefine to allow RNA mouseovers to be passed back correctly to // listeners - public void mouseOverSequence(SequenceI sequence, int index); + /** + * act on a mouseover event + * + * @param sequence + * @param index + * the aligned sequence position (base 0) + * @param position + * the dataset sequence position (base 1) + */ + public void mouseOverSequence(SequenceI sequence, int index, + int position); }