X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FViewStyleI.java;h=933c270462c99a4e95eafd53b5ea95edce1d94a8;hb=2a42323bc7b92e39c676fc46768f28d032f2f686;hp=8fa7f8f9e9aae80b4f25ff068b6d576522676bea;hpb=be32c14cd8e48fe0a207cd7030cb9cd46f894678;p=jalview.git diff --git a/src/jalview/api/ViewStyleI.java b/src/jalview/api/ViewStyleI.java index 8fa7f8f..933c270 100644 --- a/src/jalview/api/ViewStyleI.java +++ b/src/jalview/api/ViewStyleI.java @@ -79,10 +79,21 @@ public interface ViewStyleI void setShowUnconserved(boolean showunconserved); + /** + * @return true if a reference sequence is set and should be displayed + */ boolean isDisplayReferenceSeq(); + /** + * @return set the flag for displaying reference sequences when they are + * available + */ void setDisplayReferenceSeq(boolean displayReferenceSeq); + /** + * @return true if colourschemes should render according to reference sequence + * rather than consensus if available + */ boolean isColourByReferenceSeq(); void setSeqNameItalics(boolean default1); @@ -95,14 +106,26 @@ public interface ViewStyleI void setRightAlignIds(boolean rightAlignIds); + /** + * Returns true if annotation panel should be shown below alignment + * + * @return + */ boolean isShowAnnotation(); + /** + * Set flag for whether annotation panel should be shown below alignment + * + * @param b + */ void setShowAnnotation(boolean b); - void setShowSeqFeaturesHeight(boolean selected); - - boolean isShowSequenceFeaturesHeight(); + void setShowSequenceFeaturesHeight(boolean selected); + /** + * @return true set flag for deciding if colourschemes should render according + * to reference sequence rather than consensus if available + */ void setColourByReferenceSeq(boolean colourByReferenceSeq); Color getTextColour(); @@ -117,7 +140,7 @@ public interface ViewStyleI boolean isShowColourText(); - boolean isShowSeqFeaturesHeight(); + boolean isShowSequenceFeaturesHeight(); void setConservationColourSelected(boolean conservationColourSelected); @@ -199,4 +222,19 @@ public interface ViewStyleI */ void setShowNPFeats(boolean shownpfeats); + /** + * Get flag to scale protein residues 3 times the width of cDNA bases (only + * applicable in SplitFrame views) + * + * @return + */ + boolean isScaleProteinAsCdna(); + + /** + * Set flag to scale protein residues 3 times the width of cDNA bases (only + * applicable in SplitFrame views) + * + * @return + */ + void setScaleProteinAsCdna(boolean b); }