1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.datamodel; |
22 |
|
|
23 |
|
import jalview.api.AlignExportSettingsI; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
|
|
| 61.5% |
Uncovered Elements: 10 (26) |
Complexity: 11 |
Complexity Density: 0.73 |
|
29 |
|
public class AlignExportSettingsAdapter implements AlignExportSettingsI |
30 |
|
{ |
31 |
|
private boolean exportHiddenSeqs; |
32 |
|
|
33 |
|
private boolean exportHiddenCols; |
34 |
|
|
35 |
|
private boolean exportAnnotations; |
36 |
|
|
37 |
|
private boolean exportFeatures; |
38 |
|
|
39 |
|
private boolean exportGroups; |
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
@param |
45 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 1 |
Complexity Density: 0.2 |
|
46 |
59 |
public AlignExportSettingsAdapter(boolean defaultOption)... |
47 |
|
{ |
48 |
59 |
exportAnnotations = defaultOption; |
49 |
59 |
exportFeatures = defaultOption; |
50 |
59 |
exportGroups = defaultOption; |
51 |
59 |
exportHiddenCols = defaultOption; |
52 |
59 |
exportHiddenSeqs = defaultOption; |
53 |
|
} |
54 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
2 |
@Override... |
56 |
|
public boolean isExportHiddenSequences() |
57 |
|
{ |
58 |
2 |
return exportHiddenSeqs; |
59 |
|
} |
60 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
2 |
@Override... |
62 |
|
public boolean isExportHiddenColumns() |
63 |
|
{ |
64 |
2 |
return exportHiddenCols; |
65 |
|
} |
66 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
4 |
@Override... |
68 |
|
public boolean isExportAnnotations() |
69 |
|
{ |
70 |
4 |
return exportAnnotations; |
71 |
|
} |
72 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
73 |
4 |
@Override... |
74 |
|
public boolean isExportFeatures() |
75 |
|
{ |
76 |
4 |
return exportFeatures; |
77 |
|
} |
78 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
4 |
@Override... |
80 |
|
public boolean isExportGroups() |
81 |
|
{ |
82 |
4 |
return exportGroups; |
83 |
|
} |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0 |
public void setExportHiddenSequences(boolean exportHiddenSeqs)... |
86 |
|
{ |
87 |
0 |
this.exportHiddenSeqs = exportHiddenSeqs; |
88 |
|
} |
89 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
90 |
0 |
public void setExportHiddenColumns(boolean exportHiddenCols)... |
91 |
|
{ |
92 |
0 |
this.exportHiddenCols = exportHiddenCols; |
93 |
|
} |
94 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
0 |
public void setExportAnnotations(boolean exportAnnotations)... |
96 |
|
{ |
97 |
0 |
this.exportAnnotations = exportAnnotations; |
98 |
|
} |
99 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
0 |
public void setExportFeatures(boolean exportFeatures)... |
101 |
|
{ |
102 |
0 |
this.exportFeatures = exportFeatures; |
103 |
|
} |
104 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
105 |
0 |
public void setExportGroups(boolean exportGroups)... |
106 |
|
{ |
107 |
0 |
this.exportGroups = exportGroups; |
108 |
|
} |
109 |
|
|
110 |
|
} |