X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FViewStyleI.java;h=a348300ce2a355eccbc81fcf30e1d544a431f25f;hb=353cb52722490edcba2c13b18836b6d37c5455de;hp=933c270462c99a4e95eafd53b5ea95edce1d94a8;hpb=882adcab8cf6f9c72a7e946223f817878c5ee444;p=jalview.git diff --git a/src/jalview/api/ViewStyleI.java b/src/jalview/api/ViewStyleI.java index 933c270..a348300 100644 --- a/src/jalview/api/ViewStyleI.java +++ b/src/jalview/api/ViewStyleI.java @@ -1,9 +1,36 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.api; import java.awt.Color; public interface ViewStyleI { + void setShowComplementFeatures(boolean b); + + boolean isShowComplementFeatures(); + + void setShowComplementFeaturesOnTop(boolean b); + + boolean isShowComplementFeaturesOnTop(); void setColourAppliesToAllGroups(boolean b); @@ -157,7 +184,7 @@ public interface ViewStyleI void setUpperCasebold(boolean upperCasebold); boolean isUpperCasebold(); - + boolean sameStyle(ViewStyleI them); void setFontName(String name); @@ -237,4 +264,18 @@ public interface ViewStyleI * @return */ void setScaleProteinAsCdna(boolean b); + + /** + * Answers true if split screen protein and cDNA use the same font + * + * @return + */ + boolean isProteinFontAsCdna(); + + /** + * Set the flag for whether split screen protein and cDNA use the same font + * + * @return + */ + void setProteinFontAsCdna(boolean b); }