git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42ccac
)
JAL-3377 Javadoc added for getWrappedHeight()
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 10:34:05 +0000
(11:34 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 29 Jul 2019 10:34:05 +0000
(11:34 +0100)
src/jalview/gui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignmentPanel.java
b/src/jalview/gui/AlignmentPanel.java
index
b6cf419
..
1a133f3
100644
(file)
--- 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();