1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
package jalview.binding; |
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
import org.exolab.castor.xml.Marshaller; |
15 |
|
import org.exolab.castor.xml.Unmarshaller; |
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
@version |
21 |
|
|
|
|
| 0% |
Uncovered Elements: 132 (132) |
Complexity: 57 |
Complexity Density: 0.78 |
|
22 |
|
public class Colour implements java.io.Serializable |
23 |
|
{ |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
private java.lang.String _name; |
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
private java.lang.String _RGB; |
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
private java.lang.String _minRGB; |
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
private jalview.binding.types.NoValueColour _noValueColour = jalview.binding.types.NoValueColour |
49 |
|
.valueOf("Min"); |
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
private jalview.binding.types.ColourThreshTypeType _threshType; |
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
private float _threshold; |
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
private boolean _has_threshold; |
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
private float _max; |
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
private boolean _has_max; |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
private float _min; |
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
private boolean _has_min; |
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
private boolean _colourByLabel; |
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
private boolean _has_colourByLabel; |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
private boolean _autoScale; |
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
private boolean _has_autoScale; |
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
private java.util.Vector _attributeNameList; |
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
115 |
0 |
public Colour()... |
116 |
|
{ |
117 |
0 |
super(); |
118 |
0 |
setNoValueColour(jalview.binding.types.NoValueColour.valueOf("Min")); |
119 |
0 |
this._attributeNameList = new java.util.Vector(); |
120 |
|
} |
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
@param |
130 |
|
@throws |
131 |
|
|
132 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
133 |
0 |
public void addAttributeName(final java.lang.String vAttributeName)... |
134 |
|
throws java.lang.IndexOutOfBoundsException |
135 |
|
{ |
136 |
|
|
137 |
0 |
if (this._attributeNameList.size() >= 2) |
138 |
|
{ |
139 |
0 |
throw new IndexOutOfBoundsException( |
140 |
|
"addAttributeName has a maximum of 2"); |
141 |
|
} |
142 |
|
|
143 |
0 |
this._attributeNameList.addElement(vAttributeName); |
144 |
|
} |
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
@param |
150 |
|
@param |
151 |
|
@throws |
152 |
|
|
153 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
154 |
0 |
public void addAttributeName(final int index,... |
155 |
|
final java.lang.String vAttributeName) |
156 |
|
throws java.lang.IndexOutOfBoundsException |
157 |
|
{ |
158 |
|
|
159 |
0 |
if (this._attributeNameList.size() >= 2) |
160 |
|
{ |
161 |
0 |
throw new IndexOutOfBoundsException( |
162 |
|
"addAttributeName has a maximum of 2"); |
163 |
|
} |
164 |
|
|
165 |
0 |
this._attributeNameList.add(index, vAttributeName); |
166 |
|
} |
167 |
|
|
168 |
|
|
169 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
170 |
0 |
public void deleteAutoScale()... |
171 |
|
{ |
172 |
0 |
this._has_autoScale = false; |
173 |
|
} |
174 |
|
|
175 |
|
|
176 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
177 |
0 |
public void deleteColourByLabel()... |
178 |
|
{ |
179 |
0 |
this._has_colourByLabel = false; |
180 |
|
} |
181 |
|
|
182 |
|
|
183 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
184 |
0 |
public void deleteMax()... |
185 |
|
{ |
186 |
0 |
this._has_max = false; |
187 |
|
} |
188 |
|
|
189 |
|
|
190 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
191 |
0 |
public void deleteMin()... |
192 |
|
{ |
193 |
0 |
this._has_min = false; |
194 |
|
} |
195 |
|
|
196 |
|
|
197 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
198 |
0 |
public void deleteThreshold()... |
199 |
|
{ |
200 |
0 |
this._has_threshold = false; |
201 |
|
} |
202 |
|
|
203 |
|
|
204 |
|
|
205 |
|
|
206 |
|
@return |
207 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
208 |
0 |
public java.util.Enumeration enumerateAttributeName()... |
209 |
|
{ |
210 |
0 |
return this._attributeNameList.elements(); |
211 |
|
} |
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
@param |
217 |
|
@throws |
218 |
|
|
219 |
|
@return |
220 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 3 |
Complexity Density: 1 |
|
221 |
0 |
public java.lang.String getAttributeName(final int index)... |
222 |
|
throws java.lang.IndexOutOfBoundsException |
223 |
|
{ |
224 |
|
|
225 |
0 |
if (index < 0 || index >= this._attributeNameList.size()) |
226 |
|
{ |
227 |
0 |
throw new IndexOutOfBoundsException("getAttributeName: Index value '" |
228 |
|
+ index + "' not in range [0.." |
229 |
|
+ (this._attributeNameList.size() - 1) + "]"); |
230 |
|
} |
231 |
|
|
232 |
0 |
return (java.lang.String) _attributeNameList.get(index); |
233 |
|
} |
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
@return |
243 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
244 |
0 |
public java.lang.String[] getAttributeName()... |
245 |
|
{ |
246 |
0 |
java.lang.String[] array = new java.lang.String[0]; |
247 |
0 |
return (java.lang.String[]) this._attributeNameList.toArray(array); |
248 |
|
} |
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
@return |
254 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
255 |
0 |
public int getAttributeNameCount()... |
256 |
|
{ |
257 |
0 |
return this._attributeNameList.size(); |
258 |
|
} |
259 |
|
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
@return |
264 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
265 |
0 |
public boolean getAutoScale()... |
266 |
|
{ |
267 |
0 |
return this._autoScale; |
268 |
|
} |
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
|
273 |
|
@return |
274 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
275 |
0 |
public boolean getColourByLabel()... |
276 |
|
{ |
277 |
0 |
return this._colourByLabel; |
278 |
|
} |
279 |
|
|
280 |
|
|
281 |
|
|
282 |
|
|
283 |
|
@return |
284 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
285 |
0 |
public float getMax()... |
286 |
|
{ |
287 |
0 |
return this._max; |
288 |
|
} |
289 |
|
|
290 |
|
|
291 |
|
|
292 |
|
|
293 |
|
@return |
294 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
295 |
0 |
public float getMin()... |
296 |
|
{ |
297 |
0 |
return this._min; |
298 |
|
} |
299 |
|
|
300 |
|
|
301 |
|
|
302 |
|
|
303 |
|
@return |
304 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
305 |
0 |
public java.lang.String getMinRGB()... |
306 |
|
{ |
307 |
0 |
return this._minRGB; |
308 |
|
} |
309 |
|
|
310 |
|
|
311 |
|
|
312 |
|
|
313 |
|
|
314 |
|
|
315 |
|
@return |
316 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
317 |
0 |
public java.lang.String getName()... |
318 |
|
{ |
319 |
0 |
return this._name; |
320 |
|
} |
321 |
|
|
322 |
|
|
323 |
|
|
324 |
|
|
325 |
|
@return |
326 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
327 |
0 |
public jalview.binding.types.NoValueColour getNoValueColour()... |
328 |
|
{ |
329 |
0 |
return this._noValueColour; |
330 |
|
} |
331 |
|
|
332 |
|
|
333 |
|
|
334 |
|
|
335 |
|
@return |
336 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
337 |
0 |
public java.lang.String getRGB()... |
338 |
|
{ |
339 |
0 |
return this._RGB; |
340 |
|
} |
341 |
|
|
342 |
|
|
343 |
|
|
344 |
|
|
345 |
|
@return |
346 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
347 |
0 |
public jalview.binding.types.ColourThreshTypeType getThreshType()... |
348 |
|
{ |
349 |
0 |
return this._threshType; |
350 |
|
} |
351 |
|
|
352 |
|
|
353 |
|
|
354 |
|
|
355 |
|
@return |
356 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
357 |
0 |
public float getThreshold()... |
358 |
|
{ |
359 |
0 |
return this._threshold; |
360 |
|
} |
361 |
|
|
362 |
|
|
363 |
|
|
364 |
|
|
365 |
|
@return |
366 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
367 |
0 |
public boolean hasAutoScale()... |
368 |
|
{ |
369 |
0 |
return this._has_autoScale; |
370 |
|
} |
371 |
|
|
372 |
|
|
373 |
|
|
374 |
|
|
375 |
|
@return |
376 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
377 |
0 |
public boolean hasColourByLabel()... |
378 |
|
{ |
379 |
0 |
return this._has_colourByLabel; |
380 |
|
} |
381 |
|
|
382 |
|
|
383 |
|
|
384 |
|
|
385 |
|
@return |
386 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
387 |
0 |
public boolean hasMax()... |
388 |
|
{ |
389 |
0 |
return this._has_max; |
390 |
|
} |
391 |
|
|
392 |
|
|
393 |
|
|
394 |
|
|
395 |
|
@return |
396 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
397 |
0 |
public boolean hasMin()... |
398 |
|
{ |
399 |
0 |
return this._has_min; |
400 |
|
} |
401 |
|
|
402 |
|
|
403 |
|
|
404 |
|
|
405 |
|
@return |
406 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
407 |
0 |
public boolean hasThreshold()... |
408 |
|
{ |
409 |
0 |
return this._has_threshold; |
410 |
|
} |
411 |
|
|
412 |
|
|
413 |
|
|
414 |
|
|
415 |
|
@return |
416 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
417 |
0 |
public boolean isAutoScale()... |
418 |
|
{ |
419 |
0 |
return this._autoScale; |
420 |
|
} |
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
@return |
426 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
427 |
0 |
public boolean isColourByLabel()... |
428 |
|
{ |
429 |
0 |
return this._colourByLabel; |
430 |
|
} |
431 |
|
|
432 |
|
|
433 |
|
|
434 |
|
|
435 |
|
@return |
436 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
437 |
0 |
public boolean isValid()... |
438 |
|
{ |
439 |
0 |
try |
440 |
|
{ |
441 |
0 |
validate(); |
442 |
|
} catch (org.exolab.castor.xml.ValidationException vex) |
443 |
|
{ |
444 |
0 |
return false; |
445 |
|
} |
446 |
0 |
return true; |
447 |
|
} |
448 |
|
|
449 |
|
|
450 |
|
|
451 |
|
|
452 |
|
@param |
453 |
|
@throws |
454 |
|
|
455 |
|
|
456 |
|
@throws |
457 |
|
|
458 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
459 |
0 |
public void marshal(final java.io.Writer out)... |
460 |
|
throws org.exolab.castor.xml.MarshalException, |
461 |
|
org.exolab.castor.xml.ValidationException |
462 |
|
{ |
463 |
0 |
Marshaller.marshal(this, out); |
464 |
|
} |
465 |
|
|
466 |
|
|
467 |
|
|
468 |
|
|
469 |
|
@param |
470 |
|
@throws |
471 |
|
|
472 |
|
@throws |
473 |
|
|
474 |
|
@throws |
475 |
|
|
476 |
|
|
477 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
478 |
0 |
public void marshal(final org.xml.sax.ContentHandler handler)... |
479 |
|
throws java.io.IOException, |
480 |
|
org.exolab.castor.xml.MarshalException, |
481 |
|
org.exolab.castor.xml.ValidationException |
482 |
|
{ |
483 |
0 |
Marshaller.marshal(this, handler); |
484 |
|
} |
485 |
|
|
486 |
|
|
487 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
488 |
0 |
public void removeAllAttributeName()... |
489 |
|
{ |
490 |
0 |
this._attributeNameList.clear(); |
491 |
|
} |
492 |
|
|
493 |
|
|
494 |
|
|
495 |
|
|
496 |
|
@param |
497 |
|
@return |
498 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
499 |
0 |
public boolean removeAttributeName(final java.lang.String vAttributeName)... |
500 |
|
{ |
501 |
0 |
boolean removed = _attributeNameList.remove(vAttributeName); |
502 |
0 |
return removed; |
503 |
|
} |
504 |
|
|
505 |
|
|
506 |
|
|
507 |
|
|
508 |
|
@param |
509 |
|
@return |
510 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
511 |
0 |
public java.lang.String removeAttributeNameAt(final int index)... |
512 |
|
{ |
513 |
0 |
java.lang.Object obj = this._attributeNameList.remove(index); |
514 |
0 |
return (java.lang.String) obj; |
515 |
|
} |
516 |
|
|
517 |
|
|
518 |
|
|
519 |
|
|
520 |
|
@param |
521 |
|
@param |
522 |
|
@throws |
523 |
|
|
524 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 3 |
Complexity Density: 1 |
|
525 |
0 |
public void setAttributeName(final int index,... |
526 |
|
final java.lang.String vAttributeName) |
527 |
|
throws java.lang.IndexOutOfBoundsException |
528 |
|
{ |
529 |
|
|
530 |
0 |
if (index < 0 || index >= this._attributeNameList.size()) |
531 |
|
{ |
532 |
0 |
throw new IndexOutOfBoundsException("setAttributeName: Index value '" |
533 |
|
+ index + "' not in range [0.." |
534 |
|
+ (this._attributeNameList.size() - 1) + "]"); |
535 |
|
} |
536 |
|
|
537 |
0 |
this._attributeNameList.set(index, vAttributeName); |
538 |
|
} |
539 |
|
|
540 |
|
|
541 |
|
|
542 |
|
|
543 |
|
@param |
544 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
545 |
0 |
public void setAttributeName(final java.lang.String[] vAttributeNameArray)... |
546 |
|
{ |
547 |
|
|
548 |
0 |
_attributeNameList.clear(); |
549 |
|
|
550 |
0 |
for (int i = 0; i < vAttributeNameArray.length; i++) |
551 |
|
{ |
552 |
0 |
this._attributeNameList.add(vAttributeNameArray[i]); |
553 |
|
} |
554 |
|
} |
555 |
|
|
556 |
|
|
557 |
|
|
558 |
|
|
559 |
|
@param |
560 |
|
|
561 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
562 |
0 |
public void setAutoScale(final boolean autoScale)... |
563 |
|
{ |
564 |
0 |
this._autoScale = autoScale; |
565 |
0 |
this._has_autoScale = true; |
566 |
|
} |
567 |
|
|
568 |
|
|
569 |
|
|
570 |
|
|
571 |
|
@param |
572 |
|
|
573 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
574 |
0 |
public void setColourByLabel(final boolean colourByLabel)... |
575 |
|
{ |
576 |
0 |
this._colourByLabel = colourByLabel; |
577 |
0 |
this._has_colourByLabel = true; |
578 |
|
} |
579 |
|
|
580 |
|
|
581 |
|
|
582 |
|
|
583 |
|
@param |
584 |
|
|
585 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
586 |
0 |
public void setMax(final float max)... |
587 |
|
{ |
588 |
0 |
this._max = max; |
589 |
0 |
this._has_max = true; |
590 |
|
} |
591 |
|
|
592 |
|
|
593 |
|
|
594 |
|
|
595 |
|
@param |
596 |
|
|
597 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
598 |
0 |
public void setMin(final float min)... |
599 |
|
{ |
600 |
0 |
this._min = min; |
601 |
0 |
this._has_min = true; |
602 |
|
} |
603 |
|
|
604 |
|
|
605 |
|
|
606 |
|
|
607 |
|
@param |
608 |
|
|
609 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
610 |
0 |
public void setMinRGB(final java.lang.String minRGB)... |
611 |
|
{ |
612 |
0 |
this._minRGB = minRGB; |
613 |
|
} |
614 |
|
|
615 |
|
|
616 |
|
|
617 |
|
|
618 |
|
|
619 |
|
|
620 |
|
@param |
621 |
|
|
622 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
623 |
0 |
public void setName(final java.lang.String name)... |
624 |
|
{ |
625 |
0 |
this._name = name; |
626 |
|
} |
627 |
|
|
628 |
|
|
629 |
|
|
630 |
|
|
631 |
|
@param |
632 |
|
|
633 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
634 |
0 |
public void setNoValueColour(... |
635 |
|
final jalview.binding.types.NoValueColour noValueColour) |
636 |
|
{ |
637 |
0 |
this._noValueColour = noValueColour; |
638 |
|
} |
639 |
|
|
640 |
|
|
641 |
|
|
642 |
|
|
643 |
|
@param |
644 |
|
|
645 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
646 |
0 |
public void setRGB(final java.lang.String RGB)... |
647 |
|
{ |
648 |
0 |
this._RGB = RGB; |
649 |
|
} |
650 |
|
|
651 |
|
|
652 |
|
|
653 |
|
|
654 |
|
@param |
655 |
|
|
656 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
657 |
0 |
public void setThreshType(... |
658 |
|
final jalview.binding.types.ColourThreshTypeType threshType) |
659 |
|
{ |
660 |
0 |
this._threshType = threshType; |
661 |
|
} |
662 |
|
|
663 |
|
|
664 |
|
|
665 |
|
|
666 |
|
@param |
667 |
|
|
668 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
669 |
0 |
public void setThreshold(final float threshold)... |
670 |
|
{ |
671 |
0 |
this._threshold = threshold; |
672 |
0 |
this._has_threshold = true; |
673 |
|
} |
674 |
|
|
675 |
|
|
676 |
|
|
677 |
|
|
678 |
|
@param |
679 |
|
@throws |
680 |
|
|
681 |
|
|
682 |
|
@throws |
683 |
|
|
684 |
|
@return |
685 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
686 |
0 |
public static jalview.binding.Colour unmarshal(... |
687 |
|
final java.io.Reader reader) |
688 |
|
throws org.exolab.castor.xml.MarshalException, |
689 |
|
org.exolab.castor.xml.ValidationException |
690 |
|
{ |
691 |
0 |
return (jalview.binding.Colour) Unmarshaller |
692 |
|
.unmarshal(jalview.binding.Colour.class, reader); |
693 |
|
} |
694 |
|
|
695 |
|
|
696 |
|
|
697 |
|
|
698 |
|
@throws |
699 |
|
|
700 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
701 |
0 |
public void validate() throws org.exolab.castor.xml.ValidationException... |
702 |
|
{ |
703 |
0 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); |
704 |
0 |
validator.validate(this); |
705 |
|
} |
706 |
|
|
707 |
|
} |