6 import java.util.Hashtable;
8 import jalview.datamodel.AlignmentAnnotation;
9 import jalview.datamodel.AlignmentI;
10 import jalview.datamodel.ColumnSelection;
11 import jalview.schemes.ColourSchemeI;
17 public interface AlignViewportI
26 boolean hasHiddenColumns();
28 boolean isValidCharWidth();
30 boolean isShowConsensusHistogram();
32 boolean isShowSequenceLogo();
34 boolean isNormaliseSequenceLogo();
36 ColourSchemeI getGlobalColourScheme();
38 AlignmentI getAlignment();
40 ColumnSelection getColumnSelection();
42 Hashtable[] getSequenceConsensusHash();
44 Hashtable[] getRnaStructureConsensusHash();
46 boolean getIgnoreGapsConsensus();
48 boolean getCentreColumnLabels();
50 boolean isCalculationInProgress(AlignmentAnnotation alignmentAnnotation);
52 AlignmentAnnotation getAlignmentQualityAnnot();
54 AlignmentAnnotation getAlignmentConservationAnnotation();
56 * get the container for alignment consensus annotation
59 AlignmentAnnotation getAlignmentConsensusAnnotation();
62 * Test to see if viewport is still open and active
63 * @return true indicates that all references to viewport should be dropped
67 * get the associated calculation thread manager for the view
70 AlignCalcManagerI getCalcManager();
73 * get the percentage gaps allowed in a conservation calculation
76 public int getConsPercGaps();
79 * set the consensus result object for the viewport
82 void setSequenceConsensusHash(Hashtable[] hconsensus);
86 * @return the alignment annotatino row for the structure consensus calculation
88 AlignmentAnnotation getAlignmentStrucConsensusAnnotation();
91 * set the Rna structure consensus result object for the viewport
92 * @param hStrucConsensus
94 void setRnaStructureConsensusHash(Hashtable[] hStrucConsensus);