Formatted source
[jalview.git] / src / jalview / schemes / HelixColourScheme.java
index 35e1a26..a25f014 100755 (executable)
 * along with this program; if not, write to the Free Software\r
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
 */\r
-\r
 package jalview.schemes;\r
 \r
 import java.awt.*;\r
 \r
-public class HelixColourScheme extends ScoreColourScheme {\r
-\r
 \r
-  public HelixColourScheme() {\r
-    super(ResidueProperties.helix,ResidueProperties.helixmin,ResidueProperties.helixmax);\r
-  }\r
+public class HelixColourScheme extends ScoreColourScheme {\r
+    public HelixColourScheme() {\r
+        super(ResidueProperties.helix, ResidueProperties.helixmin,\r
+            ResidueProperties.helixmax);\r
+    }\r
 \r
-  public Color makeColour(float c) {\r
-    return new Color(c,(float)1.0-c,c);\r
-  }\r
+    public Color makeColour(float c) {\r
+        return new Color(c, (float) 1.0 - c, c);\r
+    }\r
 }\r