1 package jalview.schemes;
5 * An enum with the colour schemes supported by Jalview.
7 public enum JalviewColourScheme
10 * the order of declaration is the default order in which
11 * items are added to Colour menus
13 Clustal("Clustal", ClustalxColourScheme.class), Blosum62("Blosum62",
14 Blosum62ColourScheme.class), PID("% Identity",
15 PIDColourScheme.class), Zappo("Zappo", ZappoColourScheme.class),
16 Taylor("Taylor", TaylorColourScheme.class), Hydrophobic("Hydrophobic",
17 HydrophobicColourScheme.class), Helix("Helix Propensity",
18 HelixColourScheme.class), Strand("Strand Propensity",
19 StrandColourScheme.class), Turn("Turn Propensity",
20 TurnColourScheme.class), Buried("Buried Index",
21 BuriedColourScheme.class), Nucleotide("Nucleotide",
22 NucleotideColourScheme.class), PurinePyrimidine(
23 "Purine/Pyrimidine", PurinePyrimidineColourScheme.class),
24 RNAHelices("RNA Helices", RNAHelicesColour.class), TCoffee(
25 "T-Coffee Scores", TCoffeeColourScheme.class);
26 // RNAInteraction("RNA Interaction type", RNAInteractionColourScheme.class)
30 private Class<? extends ColourSchemeI> myClass;
33 * Constructor given the name of the colour scheme (as used in Jalview
34 * parameters). Note this is not necessarily the same as the 'display name'
35 * used in menu options (as this may be language-dependent).
39 JalviewColourScheme(String s, Class<? extends ColourSchemeI> cl)
46 * Returns the class of the colour scheme
50 public Class<? extends ColourSchemeI> getSchemeClass()
56 * Returns the 'official' name of this colour scheme. This is the name that
57 * identifies the colour scheme as a start-up parameter for the Jalview
58 * application or applet. Note that it may not be the name shown in menu
59 * options, as these may be internationalised.
62 public String toString()