X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignViewportI.java;h=8b0734035cef58585f485ec3870fe0fb2d868f34;hb=84724ad7b25f65eb6009f70d9b4cb89fc6796622;hp=c6312abe7a563719c3eae811de0e94ccfef00d28;hpb=9201765247470c08d366abef2713c1c736adf2cb;p=jalview.git diff --git a/src/jalview/api/AlignViewportI.java b/src/jalview/api/AlignViewportI.java index c6312ab..8b07340 100644 --- a/src/jalview/api/AlignViewportI.java +++ b/src/jalview/api/AlignViewportI.java @@ -47,11 +47,13 @@ import java.util.Map; public interface AlignViewportI extends ViewStyleI { - ViewportRanges getRanges(); - - int getEndRes(); - - int getStartRes(); + /** + * Get the ranges object containing details of the start and end sequences and + * residues + * + * @return + */ + public ViewportRanges getRanges(); /** * calculate the height for visible annotation, revalidating bounds where @@ -124,6 +126,13 @@ public interface AlignViewportI extends ViewStyleI AlignmentAnnotation getAlignmentConsensusAnnotation(); /** + * get the container for alignment gap annotation + * + * @return + */ + AlignmentAnnotation getAlignmentGapAnnotation(); + + /** * get the container for cDNA complement consensus annotation * * @return @@ -461,8 +470,4 @@ public interface AlignViewportI extends ViewStyleI * @return search results or null */ SearchResultsI getSearchResults(); - - int getStartSeq(); - - int getEndSeq(); }