X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FViewStyleI.java;h=2b554eace553b01f46a61cca9e01274b532075e1;hb=abf6493d02ec6a018a1602e329f0ba2c64bbd205;hp=933c270462c99a4e95eafd53b5ea95edce1d94a8;hpb=882adcab8cf6f9c72a7e946223f817878c5ee444;p=jalview.git diff --git a/src/jalview/api/ViewStyleI.java b/src/jalview/api/ViewStyleI.java index 933c270..2b554ea 100644 --- a/src/jalview/api/ViewStyleI.java +++ b/src/jalview/api/ViewStyleI.java @@ -1,3 +1,23 @@ +/* + * 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; @@ -157,7 +177,7 @@ public interface ViewStyleI void setUpperCasebold(boolean upperCasebold); boolean isUpperCasebold(); - + boolean sameStyle(ViewStyleI them); void setFontName(String name); @@ -237,4 +257,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); }