X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fviewmodel%2Fstyles%2FViewStyle.java;h=c15dba720906373bb68380b1af81fae58cbf8a49;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=3ed56349588040b17216596f3aa00eda333c09f3;hpb=be7d3d5e0d85c7c8dcfdf35a6240da9c438ef9bb;p=jalview.git diff --git a/src/jalview/viewmodel/styles/ViewStyle.java b/src/jalview/viewmodel/styles/ViewStyle.java index 3ed5634..c15dba7 100644 --- a/src/jalview/viewmodel/styles/ViewStyle.java +++ b/src/jalview/viewmodel/styles/ViewStyle.java @@ -1,9 +1,29 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) + * Copyright (C) 2015 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.viewmodel.styles; -import java.awt.Color; - import jalview.api.ViewStyleI; +import java.awt.Color; + /** * A container for holding alignment view properties. View properties are * data-independent, which means they can be safely copied between views @@ -255,7 +275,8 @@ public class ViewStyle implements ViewStyleI && getWrapAlignment() == vs.getWrapAlignment() && getWrappedWidth() == vs .getWrappedWidth()); /* - * and compare non-primitive types; syntax below will match null with null values + * and compare non-primitive types; syntax below will match null with null + * values */ match = match && String.valueOf(getFontName()).equals( @@ -642,7 +663,6 @@ public class ViewStyle implements ViewStyleI abovePIDThreshold = b; } - /** * DOCUMENT ME! * @@ -667,7 +687,6 @@ public class ViewStyle implements ViewStyleI this.charWidth = w; } - /** * @param value * indicating if subsequent colourscheme changes will be propagated