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