11fa6152d5b26f294b282d9c2ee5c816278f6d96
[jalview.git] / src / jalview / api / AlignViewportI.java
1 /**
2  * 
3  */
4 package jalview.api;
5
6 import java.util.Hashtable;
7
8 import jalview.datamodel.AlignmentAnnotation;
9 import jalview.datamodel.AlignmentI;
10 import jalview.datamodel.ColumnSelection;
11 import jalview.schemes.ColourSchemeI;
12
13 /**
14  * @author jimp
15  *
16  */
17 public interface AlignViewportI
18 {
19
20   int getCharWidth();
21
22   int getEndRes();
23
24   int getCharHeight();
25
26   boolean hasHiddenColumns();
27
28   boolean isValidCharWidth();
29
30   boolean isShowConsensusHistogram();
31
32   boolean isShowSequenceLogo();
33
34   boolean isNormaliseSequenceLogo();
35
36   ColourSchemeI getGlobalColourScheme();
37
38   AlignmentI getAlignment();
39
40   ColumnSelection getColumnSelection();
41
42   Hashtable[] getSequenceConsensusHash();
43
44   Hashtable[] getRnaStructureConsensusHash();
45
46   boolean getIgnoreGapsConsensus();
47
48   boolean getCentreColumnLabels();
49
50   boolean isCalculationInProgress(AlignmentAnnotation alignmentAnnotation);
51 }