X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignViewportI.java;h=d23fc757d4fb0ebbaa8b46fc80c714018ff56aa4;hb=e07fc11d5aaf4d1237d83e5f7ea0909dea09902e;hp=324e6ca97618f5acac1b84e0df4702877db97b66;hpb=424c56371cd59181b994d7e3e8e91c4b7ba0b507;p=jalview.git diff --git a/src/jalview/api/AlignViewportI.java b/src/jalview/api/AlignViewportI.java index 324e6ca..d23fc75 100644 --- a/src/jalview/api/AlignViewportI.java +++ b/src/jalview/api/AlignViewportI.java @@ -40,7 +40,7 @@ import java.util.Map; * @author jimp * */ -public interface AlignViewportI +public interface AlignViewportI extends ViewStyleI { int getCharWidth(); @@ -77,9 +77,7 @@ public interface AlignViewportI Hashtable[] getRnaStructureConsensusHash(); - boolean getIgnoreGapsConsensus(); - - boolean getCentreColumnLabels(); + boolean isIgnoreGapsConsensus(); boolean isCalculationInProgress(AlignmentAnnotation alignmentAnnotation); @@ -355,6 +353,19 @@ public interface AlignViewportI boolean hasHiddenRows(); /** + * + * @return a copy of this view's current display settings + */ + public ViewStyleI getViewStyle(); + + /** + * update the view's display settings with the given style set + * + * @param settingsForView + */ + public void setViewStyle(ViewStyleI settingsForView); + + /** * Returns a viewport which holds the cDna for this (protein), or vice versa, * or null if none is set. * @@ -362,7 +373,6 @@ public interface AlignViewportI */ AlignViewportI getCodingComplement(); - /** * Sets the viewport which holds the cDna for this (protein), or vice versa. * Implementation should guarantee that the reciprocal relationship is always @@ -376,5 +386,4 @@ public interface AlignViewportI * @return */ boolean isNucleotide(); - }