1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.schemes; |
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 3 |
Complexity Density: 0.75 |
|
26 |
|
public enum JalviewColourScheme |
27 |
|
{ |
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
Clustal("Clustal", ClustalxColourScheme.class), |
33 |
|
Blosum62("Blosum62", Blosum62ColourScheme.class), |
34 |
|
PID("% Identity", PIDColourScheme.class), |
35 |
|
Zappo("Zappo", ZappoColourScheme.class), |
36 |
|
Taylor("Taylor", TaylorColourScheme.class), |
37 |
|
Flower("gecos-flower", FlowerColourScheme.class), |
38 |
|
Blossom("gecos-blossom", BlossomColourScheme.class), |
39 |
|
Sunset("gecos-sunset", SunsetColourScheme.class), |
40 |
|
Ocean("gecos-ocean", OceanColourScheme.class), |
41 |
|
Hydrophobic("Hydrophobic", HydrophobicColourScheme.class), |
42 |
|
Helix("Helix Propensity", HelixColourScheme.class), |
43 |
|
Strand("Strand Propensity", StrandColourScheme.class), |
44 |
|
Turn("Turn Propensity", TurnColourScheme.class), |
45 |
|
Buried("Buried Index", BuriedColourScheme.class), |
46 |
|
Nucleotide("Nucleotide", NucleotideColourScheme.class), |
47 |
|
NucleotideAmbiguity("Nucleotide Ambiguity", |
48 |
|
NucleotideAmbiguityColourScheme.class), |
49 |
|
PurinePyrimidine("Purine/Pyrimidine", PurinePyrimidineColourScheme.class), |
50 |
|
RNAHelices("RNA Helices", RNAHelicesColour.class), |
51 |
|
TCoffee("T-Coffee Scores", TCoffeeColourScheme.class), |
52 |
|
IdColour("Sequence ID", IdColourScheme.class),; |
53 |
|
|
54 |
|
|
55 |
|
private String name; |
56 |
|
|
57 |
|
private Class<? extends ColourSchemeI> myClass; |
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
@param |
65 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
66 |
0 |
JalviewColourScheme(String s, Class<? extends ColourSchemeI> cl)... |
67 |
|
{ |
68 |
0 |
name = s; |
69 |
0 |
myClass = cl; |
70 |
|
} |
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
@return |
76 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
0 |
public Class<? extends ColourSchemeI> getSchemeClass()... |
78 |
|
{ |
79 |
0 |
return myClass; |
80 |
|
} |
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
88 |
0 |
@Override... |
89 |
|
public String toString() |
90 |
|
{ |
91 |
0 |
return name; |
92 |
|
} |
93 |
|
} |