X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FHelixColourScheme.java;h=43ddcdc737e1b6e758ccc866777b965233391f68;hb=f016dfe567351051121cb0a7717ffa8f10f7625b;hp=6c2f744823727e937cb58bade3f2c5b461ed0af2;hpb=85867b5d46751cfce6500002e098a431fec0950e;p=jalview.git diff --git a/src/jalview/schemes/HelixColourScheme.java b/src/jalview/schemes/HelixColourScheme.java index 6c2f744..43ddcdc 100755 --- a/src/jalview/schemes/HelixColourScheme.java +++ b/src/jalview/schemes/HelixColourScheme.java @@ -1,5 +1,6 @@ -/* Jalview - a java multiple alignment editor - * Copyright (C) 1998 Michele Clamp +/* + * Jalview - A Sequence Alignment Editor and Viewer + * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -13,21 +14,23 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ - package jalview.schemes; import java.awt.*; -public class HelixColourScheme extends ScoreColourScheme { - - - public HelixColourScheme() { - super(ResidueProperties.helix,ResidueProperties.helixmin,ResidueProperties.helixmax); +public class HelixColourScheme + extends ScoreColourScheme +{ + public HelixColourScheme() + { + super(ResidueProperties.helix, ResidueProperties.helixmin, + ResidueProperties.helixmax); } - public Color makeColour(float c) { - return new Color(c,(float)1.0-c,c); + public Color makeColour(float c) + { + return new Color(c, (float) 1.0 - c, c); } }