From: gmungoc Date: Mon, 29 Jul 2019 10:34:05 +0000 (+0100) Subject: JAL-3377 Javadoc added for getWrappedHeight() X-Git-Tag: Release_2_11_1_0~28^2~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=84a9beec424185c5ce0f2da9af5b71857588b846;p=jalview.git JAL-3377 Javadoc added for getWrappedHeight() --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index b6cf419..1a133f3 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -1414,6 +1414,12 @@ public class AlignmentPanel extends GAlignmentPanel implements } + /** + * Answers the height of the entire alignment in pixels, assuming it is in + * wrapped mode + * + * @return + */ int getWrappedHeight() { int seqPanelWidth = getSeqPanel().seqCanvas.getWidth();