JAL-958 store normalised flag in jalview project
[jalview.git] / src / jalview / schemabinding / version2 / Viewport.java
1 /*
2  * This class was automatically generated with 
3  * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
4  * Schema.
5  * $Id$
6  */
7
8 package jalview.schemabinding.version2;
9
10   //---------------------------------/
11  //- Imported classes and packages -/
12 //---------------------------------/
13
14 import org.exolab.castor.xml.Marshaller;
15 import org.exolab.castor.xml.Unmarshaller;
16
17 /**
18  * Class Viewport.
19  * 
20  * @version $Revision$ $Date$
21  */
22 public class Viewport implements java.io.Serializable {
23
24
25       //--------------------------/
26      //- Class/Member Variables -/
27     //--------------------------/
28
29     /**
30      * Field _conservationSelected.
31      */
32     private boolean _conservationSelected;
33
34     /**
35      * keeps track of state for field: _conservationSelected
36      */
37     private boolean _has_conservationSelected;
38
39     /**
40      * Field _pidSelected.
41      */
42     private boolean _pidSelected;
43
44     /**
45      * keeps track of state for field: _pidSelected
46      */
47     private boolean _has_pidSelected;
48
49     /**
50      * Field _bgColour.
51      */
52     private java.lang.String _bgColour;
53
54     /**
55      * Field _consThreshold.
56      */
57     private int _consThreshold;
58
59     /**
60      * keeps track of state for field: _consThreshold
61      */
62     private boolean _has_consThreshold;
63
64     /**
65      * Field _pidThreshold.
66      */
67     private int _pidThreshold;
68
69     /**
70      * keeps track of state for field: _pidThreshold
71      */
72     private boolean _has_pidThreshold;
73
74     /**
75      * Field _title.
76      */
77     private java.lang.String _title;
78
79     /**
80      * Field _showFullId.
81      */
82     private boolean _showFullId;
83
84     /**
85      * keeps track of state for field: _showFullId
86      */
87     private boolean _has_showFullId;
88
89     /**
90      * Field _rightAlignIds.
91      */
92     private boolean _rightAlignIds;
93
94     /**
95      * keeps track of state for field: _rightAlignIds
96      */
97     private boolean _has_rightAlignIds;
98
99     /**
100      * Field _showText.
101      */
102     private boolean _showText;
103
104     /**
105      * keeps track of state for field: _showText
106      */
107     private boolean _has_showText;
108
109     /**
110      * Field _showColourText.
111      */
112     private boolean _showColourText;
113
114     /**
115      * keeps track of state for field: _showColourText
116      */
117     private boolean _has_showColourText;
118
119     /**
120      * Field _showUnconserved.
121      */
122     private boolean _showUnconserved = false;
123
124     /**
125      * keeps track of state for field: _showUnconserved
126      */
127     private boolean _has_showUnconserved;
128
129     /**
130      * Field _showBoxes.
131      */
132     private boolean _showBoxes;
133
134     /**
135      * keeps track of state for field: _showBoxes
136      */
137     private boolean _has_showBoxes;
138
139     /**
140      * Field _wrapAlignment.
141      */
142     private boolean _wrapAlignment;
143
144     /**
145      * keeps track of state for field: _wrapAlignment
146      */
147     private boolean _has_wrapAlignment;
148
149     /**
150      * Field _renderGaps.
151      */
152     private boolean _renderGaps;
153
154     /**
155      * keeps track of state for field: _renderGaps
156      */
157     private boolean _has_renderGaps;
158
159     /**
160      * Field _showSequenceFeatures.
161      */
162     private boolean _showSequenceFeatures;
163
164     /**
165      * keeps track of state for field: _showSequenceFeatures
166      */
167     private boolean _has_showSequenceFeatures;
168
169     /**
170      * Field _showNPfeatureTooltip.
171      */
172     private boolean _showNPfeatureTooltip;
173
174     /**
175      * keeps track of state for field: _showNPfeatureTooltip
176      */
177     private boolean _has_showNPfeatureTooltip;
178
179     /**
180      * Field _showDbRefTooltip.
181      */
182     private boolean _showDbRefTooltip;
183
184     /**
185      * keeps track of state for field: _showDbRefTooltip
186      */
187     private boolean _has_showDbRefTooltip;
188
189     /**
190      * Field _followHighlight.
191      */
192     private boolean _followHighlight = true;
193
194     /**
195      * keeps track of state for field: _followHighlight
196      */
197     private boolean _has_followHighlight;
198
199     /**
200      * Field _followSelection.
201      */
202     private boolean _followSelection = true;
203
204     /**
205      * keeps track of state for field: _followSelection
206      */
207     private boolean _has_followSelection;
208
209     /**
210      * Field _showAnnotation.
211      */
212     private boolean _showAnnotation;
213
214     /**
215      * keeps track of state for field: _showAnnotation
216      */
217     private boolean _has_showAnnotation;
218
219     /**
220      * Field _centreColumnLabels.
221      */
222     private boolean _centreColumnLabels = false;
223
224     /**
225      * keeps track of state for field: _centreColumnLabels
226      */
227     private boolean _has_centreColumnLabels;
228
229     /**
230      * Field _showGroupConservation.
231      */
232     private boolean _showGroupConservation = false;
233
234     /**
235      * keeps track of state for field: _showGroupConservation
236      */
237     private boolean _has_showGroupConservation;
238
239     /**
240      * Field _showGroupConsensus.
241      */
242     private boolean _showGroupConsensus = false;
243
244     /**
245      * keeps track of state for field: _showGroupConsensus
246      */
247     private boolean _has_showGroupConsensus;
248
249     /**
250      * Field _showConsensusHistogram.
251      */
252     private boolean _showConsensusHistogram = true;
253
254     /**
255      * keeps track of state for field: _showConsensusHistogram
256      */
257     private boolean _has_showConsensusHistogram;
258
259     /**
260      * Field _showSequenceLogo.
261      */
262     private boolean _showSequenceLogo = false;
263
264     /**
265      * keeps track of state for field: _showSequenceLogo
266      */
267     private boolean _has_showSequenceLogo;
268
269     /**
270      * Field _normaliseSequenceLogo.
271      */
272     private boolean _normaliseSequenceLogo = false;
273
274     /**
275      * keeps track of state for field: _normaliseSequenceLogo
276      */
277     private boolean _has_normaliseSequenceLogo;
278
279     /**
280      * Field _ignoreGapsinConsensus.
281      */
282     private boolean _ignoreGapsinConsensus = true;
283
284     /**
285      * keeps track of state for field: _ignoreGapsinConsensus
286      */
287     private boolean _has_ignoreGapsinConsensus;
288
289     /**
290      * Field _startRes.
291      */
292     private int _startRes;
293
294     /**
295      * keeps track of state for field: _startRes
296      */
297     private boolean _has_startRes;
298
299     /**
300      * Field _startSeq.
301      */
302     private int _startSeq;
303
304     /**
305      * keeps track of state for field: _startSeq
306      */
307     private boolean _has_startSeq;
308
309     /**
310      * Field _fontName.
311      */
312     private java.lang.String _fontName;
313
314     /**
315      * Field _fontSize.
316      */
317     private int _fontSize;
318
319     /**
320      * keeps track of state for field: _fontSize
321      */
322     private boolean _has_fontSize;
323
324     /**
325      * Field _fontStyle.
326      */
327     private int _fontStyle;
328
329     /**
330      * keeps track of state for field: _fontStyle
331      */
332     private boolean _has_fontStyle;
333
334     /**
335      * Field _viewName.
336      */
337     private java.lang.String _viewName;
338
339     /**
340      * Field _sequenceSetId.
341      */
342     private java.lang.String _sequenceSetId;
343
344     /**
345      * Field _gatheredViews.
346      */
347     private boolean _gatheredViews;
348
349     /**
350      * keeps track of state for field: _gatheredViews
351      */
352     private boolean _has_gatheredViews;
353
354     /**
355      * Field _textCol1.
356      */
357     private int _textCol1;
358
359     /**
360      * keeps track of state for field: _textCol1
361      */
362     private boolean _has_textCol1;
363
364     /**
365      * Field _textCol2.
366      */
367     private int _textCol2;
368
369     /**
370      * keeps track of state for field: _textCol2
371      */
372     private boolean _has_textCol2;
373
374     /**
375      * Field _textColThreshold.
376      */
377     private int _textColThreshold;
378
379     /**
380      * keeps track of state for field: _textColThreshold
381      */
382     private boolean _has_textColThreshold;
383
384     /**
385      * unique id used by jalview to
386      *  synchronize between stored and
387      *  instantiated views
388      *  
389      */
390     private java.lang.String _id;
391
392     /**
393      * Field _width.
394      */
395     private int _width;
396
397     /**
398      * keeps track of state for field: _width
399      */
400     private boolean _has_width;
401
402     /**
403      * Field _height.
404      */
405     private int _height;
406
407     /**
408      * keeps track of state for field: _height
409      */
410     private boolean _has_height;
411
412     /**
413      * Field _xpos.
414      */
415     private int _xpos;
416
417     /**
418      * keeps track of state for field: _xpos
419      */
420     private boolean _has_xpos;
421
422     /**
423      * Field _ypos.
424      */
425     private int _ypos;
426
427     /**
428      * keeps track of state for field: _ypos
429      */
430     private boolean _has_ypos;
431
432     /**
433      * Field _annotationColours.
434      */
435     private jalview.schemabinding.version2.AnnotationColours _annotationColours;
436
437     /**
438      * Field _hiddenColumnsList.
439      */
440     private java.util.Vector _hiddenColumnsList;
441
442     /**
443      * Field _calcIdParamList.
444      */
445     private java.util.Vector _calcIdParamList;
446
447
448       //----------------/
449      //- Constructors -/
450     //----------------/
451
452     public Viewport() {
453         super();
454         this._hiddenColumnsList = new java.util.Vector();
455         this._calcIdParamList = new java.util.Vector();
456     }
457
458
459       //-----------/
460      //- Methods -/
461     //-----------/
462
463     /**
464      * 
465      * 
466      * @param vCalcIdParam
467      * @throws java.lang.IndexOutOfBoundsException if the index
468      * given is outside the bounds of the collection
469      */
470     public void addCalcIdParam(
471             final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
472     throws java.lang.IndexOutOfBoundsException {
473         this._calcIdParamList.addElement(vCalcIdParam);
474     }
475
476     /**
477      * 
478      * 
479      * @param index
480      * @param vCalcIdParam
481      * @throws java.lang.IndexOutOfBoundsException if the index
482      * given is outside the bounds of the collection
483      */
484     public void addCalcIdParam(
485             final int index,
486             final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
487     throws java.lang.IndexOutOfBoundsException {
488         this._calcIdParamList.add(index, vCalcIdParam);
489     }
490
491     /**
492      * 
493      * 
494      * @param vHiddenColumns
495      * @throws java.lang.IndexOutOfBoundsException if the index
496      * given is outside the bounds of the collection
497      */
498     public void addHiddenColumns(
499             final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
500     throws java.lang.IndexOutOfBoundsException {
501         this._hiddenColumnsList.addElement(vHiddenColumns);
502     }
503
504     /**
505      * 
506      * 
507      * @param index
508      * @param vHiddenColumns
509      * @throws java.lang.IndexOutOfBoundsException if the index
510      * given is outside the bounds of the collection
511      */
512     public void addHiddenColumns(
513             final int index,
514             final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
515     throws java.lang.IndexOutOfBoundsException {
516         this._hiddenColumnsList.add(index, vHiddenColumns);
517     }
518
519     /**
520      */
521     public void deleteCentreColumnLabels(
522     ) {
523         this._has_centreColumnLabels= false;
524     }
525
526     /**
527      */
528     public void deleteConsThreshold(
529     ) {
530         this._has_consThreshold= false;
531     }
532
533     /**
534      */
535     public void deleteConservationSelected(
536     ) {
537         this._has_conservationSelected= false;
538     }
539
540     /**
541      */
542     public void deleteFollowHighlight(
543     ) {
544         this._has_followHighlight= false;
545     }
546
547     /**
548      */
549     public void deleteFollowSelection(
550     ) {
551         this._has_followSelection= false;
552     }
553
554     /**
555      */
556     public void deleteFontSize(
557     ) {
558         this._has_fontSize= false;
559     }
560
561     /**
562      */
563     public void deleteFontStyle(
564     ) {
565         this._has_fontStyle= false;
566     }
567
568     /**
569      */
570     public void deleteGatheredViews(
571     ) {
572         this._has_gatheredViews= false;
573     }
574
575     /**
576      */
577     public void deleteHeight(
578     ) {
579         this._has_height= false;
580     }
581
582     /**
583      */
584     public void deleteIgnoreGapsinConsensus(
585     ) {
586         this._has_ignoreGapsinConsensus= false;
587     }
588
589     /**
590      */
591     public void deleteNormaliseSequenceLogo(
592     ) {
593         this._has_normaliseSequenceLogo= false;
594     }
595
596     /**
597      */
598     public void deletePidSelected(
599     ) {
600         this._has_pidSelected= false;
601     }
602
603     /**
604      */
605     public void deletePidThreshold(
606     ) {
607         this._has_pidThreshold= false;
608     }
609
610     /**
611      */
612     public void deleteRenderGaps(
613     ) {
614         this._has_renderGaps= false;
615     }
616
617     /**
618      */
619     public void deleteRightAlignIds(
620     ) {
621         this._has_rightAlignIds= false;
622     }
623
624     /**
625      */
626     public void deleteShowAnnotation(
627     ) {
628         this._has_showAnnotation= false;
629     }
630
631     /**
632      */
633     public void deleteShowBoxes(
634     ) {
635         this._has_showBoxes= false;
636     }
637
638     /**
639      */
640     public void deleteShowColourText(
641     ) {
642         this._has_showColourText= false;
643     }
644
645     /**
646      */
647     public void deleteShowConsensusHistogram(
648     ) {
649         this._has_showConsensusHistogram= false;
650     }
651
652     /**
653      */
654     public void deleteShowDbRefTooltip(
655     ) {
656         this._has_showDbRefTooltip= false;
657     }
658
659     /**
660      */
661     public void deleteShowFullId(
662     ) {
663         this._has_showFullId= false;
664     }
665
666     /**
667      */
668     public void deleteShowGroupConsensus(
669     ) {
670         this._has_showGroupConsensus= false;
671     }
672
673     /**
674      */
675     public void deleteShowGroupConservation(
676     ) {
677         this._has_showGroupConservation= false;
678     }
679
680     /**
681      */
682     public void deleteShowNPfeatureTooltip(
683     ) {
684         this._has_showNPfeatureTooltip= false;
685     }
686
687     /**
688      */
689     public void deleteShowSequenceFeatures(
690     ) {
691         this._has_showSequenceFeatures= false;
692     }
693
694     /**
695      */
696     public void deleteShowSequenceLogo(
697     ) {
698         this._has_showSequenceLogo= false;
699     }
700
701     /**
702      */
703     public void deleteShowText(
704     ) {
705         this._has_showText= false;
706     }
707
708     /**
709      */
710     public void deleteShowUnconserved(
711     ) {
712         this._has_showUnconserved= false;
713     }
714
715     /**
716      */
717     public void deleteStartRes(
718     ) {
719         this._has_startRes= false;
720     }
721
722     /**
723      */
724     public void deleteStartSeq(
725     ) {
726         this._has_startSeq= false;
727     }
728
729     /**
730      */
731     public void deleteTextCol1(
732     ) {
733         this._has_textCol1= false;
734     }
735
736     /**
737      */
738     public void deleteTextCol2(
739     ) {
740         this._has_textCol2= false;
741     }
742
743     /**
744      */
745     public void deleteTextColThreshold(
746     ) {
747         this._has_textColThreshold= false;
748     }
749
750     /**
751      */
752     public void deleteWidth(
753     ) {
754         this._has_width= false;
755     }
756
757     /**
758      */
759     public void deleteWrapAlignment(
760     ) {
761         this._has_wrapAlignment= false;
762     }
763
764     /**
765      */
766     public void deleteXpos(
767     ) {
768         this._has_xpos= false;
769     }
770
771     /**
772      */
773     public void deleteYpos(
774     ) {
775         this._has_ypos= false;
776     }
777
778     /**
779      * Method enumerateCalcIdParam.
780      * 
781      * @return an Enumeration over all
782      * jalview.schemabinding.version2.CalcIdParam elements
783      */
784     public java.util.Enumeration enumerateCalcIdParam(
785     ) {
786         return this._calcIdParamList.elements();
787     }
788
789     /**
790      * Method enumerateHiddenColumns.
791      * 
792      * @return an Enumeration over all
793      * jalview.schemabinding.version2.HiddenColumns elements
794      */
795     public java.util.Enumeration enumerateHiddenColumns(
796     ) {
797         return this._hiddenColumnsList.elements();
798     }
799
800     /**
801      * Returns the value of field 'annotationColours'.
802      * 
803      * @return the value of field 'AnnotationColours'.
804      */
805     public jalview.schemabinding.version2.AnnotationColours getAnnotationColours(
806     ) {
807         return this._annotationColours;
808     }
809
810     /**
811      * Returns the value of field 'bgColour'.
812      * 
813      * @return the value of field 'BgColour'.
814      */
815     public java.lang.String getBgColour(
816     ) {
817         return this._bgColour;
818     }
819
820     /**
821      * Method getCalcIdParam.
822      * 
823      * @param index
824      * @throws java.lang.IndexOutOfBoundsException if the index
825      * given is outside the bounds of the collection
826      * @return the value of the
827      * jalview.schemabinding.version2.CalcIdParam at the given index
828      */
829     public jalview.schemabinding.version2.CalcIdParam getCalcIdParam(
830             final int index)
831     throws java.lang.IndexOutOfBoundsException {
832         // check bounds for index
833         if (index < 0 || index >= this._calcIdParamList.size()) {
834             throw new IndexOutOfBoundsException("getCalcIdParam: Index value '" + index + "' not in range [0.." + (this._calcIdParamList.size() - 1) + "]");
835         }
836         
837         return (jalview.schemabinding.version2.CalcIdParam) _calcIdParamList.get(index);
838     }
839
840     /**
841      * Method getCalcIdParam.Returns the contents of the collection
842      * in an Array.  <p>Note:  Just in case the collection contents
843      * are changing in another thread, we pass a 0-length Array of
844      * the correct type into the API call.  This way we <i>know</i>
845      * that the Array returned is of exactly the correct length.
846      * 
847      * @return this collection as an Array
848      */
849     public jalview.schemabinding.version2.CalcIdParam[] getCalcIdParam(
850     ) {
851         jalview.schemabinding.version2.CalcIdParam[] array = new jalview.schemabinding.version2.CalcIdParam[0];
852         return (jalview.schemabinding.version2.CalcIdParam[]) this._calcIdParamList.toArray(array);
853     }
854
855     /**
856      * Method getCalcIdParamCount.
857      * 
858      * @return the size of this collection
859      */
860     public int getCalcIdParamCount(
861     ) {
862         return this._calcIdParamList.size();
863     }
864
865     /**
866      * Returns the value of field 'centreColumnLabels'.
867      * 
868      * @return the value of field 'CentreColumnLabels'.
869      */
870     public boolean getCentreColumnLabels(
871     ) {
872         return this._centreColumnLabels;
873     }
874
875     /**
876      * Returns the value of field 'consThreshold'.
877      * 
878      * @return the value of field 'ConsThreshold'.
879      */
880     public int getConsThreshold(
881     ) {
882         return this._consThreshold;
883     }
884
885     /**
886      * Returns the value of field 'conservationSelected'.
887      * 
888      * @return the value of field 'ConservationSelected'.
889      */
890     public boolean getConservationSelected(
891     ) {
892         return this._conservationSelected;
893     }
894
895     /**
896      * Returns the value of field 'followHighlight'.
897      * 
898      * @return the value of field 'FollowHighlight'.
899      */
900     public boolean getFollowHighlight(
901     ) {
902         return this._followHighlight;
903     }
904
905     /**
906      * Returns the value of field 'followSelection'.
907      * 
908      * @return the value of field 'FollowSelection'.
909      */
910     public boolean getFollowSelection(
911     ) {
912         return this._followSelection;
913     }
914
915     /**
916      * Returns the value of field 'fontName'.
917      * 
918      * @return the value of field 'FontName'.
919      */
920     public java.lang.String getFontName(
921     ) {
922         return this._fontName;
923     }
924
925     /**
926      * Returns the value of field 'fontSize'.
927      * 
928      * @return the value of field 'FontSize'.
929      */
930     public int getFontSize(
931     ) {
932         return this._fontSize;
933     }
934
935     /**
936      * Returns the value of field 'fontStyle'.
937      * 
938      * @return the value of field 'FontStyle'.
939      */
940     public int getFontStyle(
941     ) {
942         return this._fontStyle;
943     }
944
945     /**
946      * Returns the value of field 'gatheredViews'.
947      * 
948      * @return the value of field 'GatheredViews'.
949      */
950     public boolean getGatheredViews(
951     ) {
952         return this._gatheredViews;
953     }
954
955     /**
956      * Returns the value of field 'height'.
957      * 
958      * @return the value of field 'Height'.
959      */
960     public int getHeight(
961     ) {
962         return this._height;
963     }
964
965     /**
966      * Method getHiddenColumns.
967      * 
968      * @param index
969      * @throws java.lang.IndexOutOfBoundsException if the index
970      * given is outside the bounds of the collection
971      * @return the value of the
972      * jalview.schemabinding.version2.HiddenColumns at the given
973      * index
974      */
975     public jalview.schemabinding.version2.HiddenColumns getHiddenColumns(
976             final int index)
977     throws java.lang.IndexOutOfBoundsException {
978         // check bounds for index
979         if (index < 0 || index >= this._hiddenColumnsList.size()) {
980             throw new IndexOutOfBoundsException("getHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
981         }
982         
983         return (jalview.schemabinding.version2.HiddenColumns) _hiddenColumnsList.get(index);
984     }
985
986     /**
987      * Method getHiddenColumns.Returns the contents of the
988      * collection in an Array.  <p>Note:  Just in case the
989      * collection contents are changing in another thread, we pass
990      * a 0-length Array of the correct type into the API call. 
991      * This way we <i>know</i> that the Array returned is of
992      * exactly the correct length.
993      * 
994      * @return this collection as an Array
995      */
996     public jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns(
997     ) {
998         jalview.schemabinding.version2.HiddenColumns[] array = new jalview.schemabinding.version2.HiddenColumns[0];
999         return (jalview.schemabinding.version2.HiddenColumns[]) this._hiddenColumnsList.toArray(array);
1000     }
1001
1002     /**
1003      * Method getHiddenColumnsCount.
1004      * 
1005      * @return the size of this collection
1006      */
1007     public int getHiddenColumnsCount(
1008     ) {
1009         return this._hiddenColumnsList.size();
1010     }
1011
1012     /**
1013      * Returns the value of field 'id'. The field 'id' has the
1014      * following description: unique id used by jalview to
1015      *  synchronize between stored and
1016      *  instantiated views
1017      *  
1018      * 
1019      * @return the value of field 'Id'.
1020      */
1021     public java.lang.String getId(
1022     ) {
1023         return this._id;
1024     }
1025
1026     /**
1027      * Returns the value of field 'ignoreGapsinConsensus'.
1028      * 
1029      * @return the value of field 'IgnoreGapsinConsensus'.
1030      */
1031     public boolean getIgnoreGapsinConsensus(
1032     ) {
1033         return this._ignoreGapsinConsensus;
1034     }
1035
1036     /**
1037      * Returns the value of field 'normaliseSequenceLogo'.
1038      * 
1039      * @return the value of field 'NormaliseSequenceLogo'.
1040      */
1041     public boolean getNormaliseSequenceLogo(
1042     ) {
1043         return this._normaliseSequenceLogo;
1044     }
1045
1046     /**
1047      * Returns the value of field 'pidSelected'.
1048      * 
1049      * @return the value of field 'PidSelected'.
1050      */
1051     public boolean getPidSelected(
1052     ) {
1053         return this._pidSelected;
1054     }
1055
1056     /**
1057      * Returns the value of field 'pidThreshold'.
1058      * 
1059      * @return the value of field 'PidThreshold'.
1060      */
1061     public int getPidThreshold(
1062     ) {
1063         return this._pidThreshold;
1064     }
1065
1066     /**
1067      * Returns the value of field 'renderGaps'.
1068      * 
1069      * @return the value of field 'RenderGaps'.
1070      */
1071     public boolean getRenderGaps(
1072     ) {
1073         return this._renderGaps;
1074     }
1075
1076     /**
1077      * Returns the value of field 'rightAlignIds'.
1078      * 
1079      * @return the value of field 'RightAlignIds'.
1080      */
1081     public boolean getRightAlignIds(
1082     ) {
1083         return this._rightAlignIds;
1084     }
1085
1086     /**
1087      * Returns the value of field 'sequenceSetId'.
1088      * 
1089      * @return the value of field 'SequenceSetId'.
1090      */
1091     public java.lang.String getSequenceSetId(
1092     ) {
1093         return this._sequenceSetId;
1094     }
1095
1096     /**
1097      * Returns the value of field 'showAnnotation'.
1098      * 
1099      * @return the value of field 'ShowAnnotation'.
1100      */
1101     public boolean getShowAnnotation(
1102     ) {
1103         return this._showAnnotation;
1104     }
1105
1106     /**
1107      * Returns the value of field 'showBoxes'.
1108      * 
1109      * @return the value of field 'ShowBoxes'.
1110      */
1111     public boolean getShowBoxes(
1112     ) {
1113         return this._showBoxes;
1114     }
1115
1116     /**
1117      * Returns the value of field 'showColourText'.
1118      * 
1119      * @return the value of field 'ShowColourText'.
1120      */
1121     public boolean getShowColourText(
1122     ) {
1123         return this._showColourText;
1124     }
1125
1126     /**
1127      * Returns the value of field 'showConsensusHistogram'.
1128      * 
1129      * @return the value of field 'ShowConsensusHistogram'.
1130      */
1131     public boolean getShowConsensusHistogram(
1132     ) {
1133         return this._showConsensusHistogram;
1134     }
1135
1136     /**
1137      * Returns the value of field 'showDbRefTooltip'.
1138      * 
1139      * @return the value of field 'ShowDbRefTooltip'.
1140      */
1141     public boolean getShowDbRefTooltip(
1142     ) {
1143         return this._showDbRefTooltip;
1144     }
1145
1146     /**
1147      * Returns the value of field 'showFullId'.
1148      * 
1149      * @return the value of field 'ShowFullId'.
1150      */
1151     public boolean getShowFullId(
1152     ) {
1153         return this._showFullId;
1154     }
1155
1156     /**
1157      * Returns the value of field 'showGroupConsensus'.
1158      * 
1159      * @return the value of field 'ShowGroupConsensus'.
1160      */
1161     public boolean getShowGroupConsensus(
1162     ) {
1163         return this._showGroupConsensus;
1164     }
1165
1166     /**
1167      * Returns the value of field 'showGroupConservation'.
1168      * 
1169      * @return the value of field 'ShowGroupConservation'.
1170      */
1171     public boolean getShowGroupConservation(
1172     ) {
1173         return this._showGroupConservation;
1174     }
1175
1176     /**
1177      * Returns the value of field 'showNPfeatureTooltip'.
1178      * 
1179      * @return the value of field 'ShowNPfeatureTooltip'.
1180      */
1181     public boolean getShowNPfeatureTooltip(
1182     ) {
1183         return this._showNPfeatureTooltip;
1184     }
1185
1186     /**
1187      * Returns the value of field 'showSequenceFeatures'.
1188      * 
1189      * @return the value of field 'ShowSequenceFeatures'.
1190      */
1191     public boolean getShowSequenceFeatures(
1192     ) {
1193         return this._showSequenceFeatures;
1194     }
1195
1196     /**
1197      * Returns the value of field 'showSequenceLogo'.
1198      * 
1199      * @return the value of field 'ShowSequenceLogo'.
1200      */
1201     public boolean getShowSequenceLogo(
1202     ) {
1203         return this._showSequenceLogo;
1204     }
1205
1206     /**
1207      * Returns the value of field 'showText'.
1208      * 
1209      * @return the value of field 'ShowText'.
1210      */
1211     public boolean getShowText(
1212     ) {
1213         return this._showText;
1214     }
1215
1216     /**
1217      * Returns the value of field 'showUnconserved'.
1218      * 
1219      * @return the value of field 'ShowUnconserved'.
1220      */
1221     public boolean getShowUnconserved(
1222     ) {
1223         return this._showUnconserved;
1224     }
1225
1226     /**
1227      * Returns the value of field 'startRes'.
1228      * 
1229      * @return the value of field 'StartRes'.
1230      */
1231     public int getStartRes(
1232     ) {
1233         return this._startRes;
1234     }
1235
1236     /**
1237      * Returns the value of field 'startSeq'.
1238      * 
1239      * @return the value of field 'StartSeq'.
1240      */
1241     public int getStartSeq(
1242     ) {
1243         return this._startSeq;
1244     }
1245
1246     /**
1247      * Returns the value of field 'textCol1'.
1248      * 
1249      * @return the value of field 'TextCol1'.
1250      */
1251     public int getTextCol1(
1252     ) {
1253         return this._textCol1;
1254     }
1255
1256     /**
1257      * Returns the value of field 'textCol2'.
1258      * 
1259      * @return the value of field 'TextCol2'.
1260      */
1261     public int getTextCol2(
1262     ) {
1263         return this._textCol2;
1264     }
1265
1266     /**
1267      * Returns the value of field 'textColThreshold'.
1268      * 
1269      * @return the value of field 'TextColThreshold'.
1270      */
1271     public int getTextColThreshold(
1272     ) {
1273         return this._textColThreshold;
1274     }
1275
1276     /**
1277      * Returns the value of field 'title'.
1278      * 
1279      * @return the value of field 'Title'.
1280      */
1281     public java.lang.String getTitle(
1282     ) {
1283         return this._title;
1284     }
1285
1286     /**
1287      * Returns the value of field 'viewName'.
1288      * 
1289      * @return the value of field 'ViewName'.
1290      */
1291     public java.lang.String getViewName(
1292     ) {
1293         return this._viewName;
1294     }
1295
1296     /**
1297      * Returns the value of field 'width'.
1298      * 
1299      * @return the value of field 'Width'.
1300      */
1301     public int getWidth(
1302     ) {
1303         return this._width;
1304     }
1305
1306     /**
1307      * Returns the value of field 'wrapAlignment'.
1308      * 
1309      * @return the value of field 'WrapAlignment'.
1310      */
1311     public boolean getWrapAlignment(
1312     ) {
1313         return this._wrapAlignment;
1314     }
1315
1316     /**
1317      * Returns the value of field 'xpos'.
1318      * 
1319      * @return the value of field 'Xpos'.
1320      */
1321     public int getXpos(
1322     ) {
1323         return this._xpos;
1324     }
1325
1326     /**
1327      * Returns the value of field 'ypos'.
1328      * 
1329      * @return the value of field 'Ypos'.
1330      */
1331     public int getYpos(
1332     ) {
1333         return this._ypos;
1334     }
1335
1336     /**
1337      * Method hasCentreColumnLabels.
1338      * 
1339      * @return true if at least one CentreColumnLabels has been adde
1340      */
1341     public boolean hasCentreColumnLabels(
1342     ) {
1343         return this._has_centreColumnLabels;
1344     }
1345
1346     /**
1347      * Method hasConsThreshold.
1348      * 
1349      * @return true if at least one ConsThreshold has been added
1350      */
1351     public boolean hasConsThreshold(
1352     ) {
1353         return this._has_consThreshold;
1354     }
1355
1356     /**
1357      * Method hasConservationSelected.
1358      * 
1359      * @return true if at least one ConservationSelected has been
1360      * added
1361      */
1362     public boolean hasConservationSelected(
1363     ) {
1364         return this._has_conservationSelected;
1365     }
1366
1367     /**
1368      * Method hasFollowHighlight.
1369      * 
1370      * @return true if at least one FollowHighlight has been added
1371      */
1372     public boolean hasFollowHighlight(
1373     ) {
1374         return this._has_followHighlight;
1375     }
1376
1377     /**
1378      * Method hasFollowSelection.
1379      * 
1380      * @return true if at least one FollowSelection has been added
1381      */
1382     public boolean hasFollowSelection(
1383     ) {
1384         return this._has_followSelection;
1385     }
1386
1387     /**
1388      * Method hasFontSize.
1389      * 
1390      * @return true if at least one FontSize has been added
1391      */
1392     public boolean hasFontSize(
1393     ) {
1394         return this._has_fontSize;
1395     }
1396
1397     /**
1398      * Method hasFontStyle.
1399      * 
1400      * @return true if at least one FontStyle has been added
1401      */
1402     public boolean hasFontStyle(
1403     ) {
1404         return this._has_fontStyle;
1405     }
1406
1407     /**
1408      * Method hasGatheredViews.
1409      * 
1410      * @return true if at least one GatheredViews has been added
1411      */
1412     public boolean hasGatheredViews(
1413     ) {
1414         return this._has_gatheredViews;
1415     }
1416
1417     /**
1418      * Method hasHeight.
1419      * 
1420      * @return true if at least one Height has been added
1421      */
1422     public boolean hasHeight(
1423     ) {
1424         return this._has_height;
1425     }
1426
1427     /**
1428      * Method hasIgnoreGapsinConsensus.
1429      * 
1430      * @return true if at least one IgnoreGapsinConsensus has been
1431      * added
1432      */
1433     public boolean hasIgnoreGapsinConsensus(
1434     ) {
1435         return this._has_ignoreGapsinConsensus;
1436     }
1437
1438     /**
1439      * Method hasNormaliseSequenceLogo.
1440      * 
1441      * @return true if at least one NormaliseSequenceLogo has been
1442      * added
1443      */
1444     public boolean hasNormaliseSequenceLogo(
1445     ) {
1446         return this._has_normaliseSequenceLogo;
1447     }
1448
1449     /**
1450      * Method hasPidSelected.
1451      * 
1452      * @return true if at least one PidSelected has been added
1453      */
1454     public boolean hasPidSelected(
1455     ) {
1456         return this._has_pidSelected;
1457     }
1458
1459     /**
1460      * Method hasPidThreshold.
1461      * 
1462      * @return true if at least one PidThreshold has been added
1463      */
1464     public boolean hasPidThreshold(
1465     ) {
1466         return this._has_pidThreshold;
1467     }
1468
1469     /**
1470      * Method hasRenderGaps.
1471      * 
1472      * @return true if at least one RenderGaps has been added
1473      */
1474     public boolean hasRenderGaps(
1475     ) {
1476         return this._has_renderGaps;
1477     }
1478
1479     /**
1480      * Method hasRightAlignIds.
1481      * 
1482      * @return true if at least one RightAlignIds has been added
1483      */
1484     public boolean hasRightAlignIds(
1485     ) {
1486         return this._has_rightAlignIds;
1487     }
1488
1489     /**
1490      * Method hasShowAnnotation.
1491      * 
1492      * @return true if at least one ShowAnnotation has been added
1493      */
1494     public boolean hasShowAnnotation(
1495     ) {
1496         return this._has_showAnnotation;
1497     }
1498
1499     /**
1500      * Method hasShowBoxes.
1501      * 
1502      * @return true if at least one ShowBoxes has been added
1503      */
1504     public boolean hasShowBoxes(
1505     ) {
1506         return this._has_showBoxes;
1507     }
1508
1509     /**
1510      * Method hasShowColourText.
1511      * 
1512      * @return true if at least one ShowColourText has been added
1513      */
1514     public boolean hasShowColourText(
1515     ) {
1516         return this._has_showColourText;
1517     }
1518
1519     /**
1520      * Method hasShowConsensusHistogram.
1521      * 
1522      * @return true if at least one ShowConsensusHistogram has been
1523      * added
1524      */
1525     public boolean hasShowConsensusHistogram(
1526     ) {
1527         return this._has_showConsensusHistogram;
1528     }
1529
1530     /**
1531      * Method hasShowDbRefTooltip.
1532      * 
1533      * @return true if at least one ShowDbRefTooltip has been added
1534      */
1535     public boolean hasShowDbRefTooltip(
1536     ) {
1537         return this._has_showDbRefTooltip;
1538     }
1539
1540     /**
1541      * Method hasShowFullId.
1542      * 
1543      * @return true if at least one ShowFullId has been added
1544      */
1545     public boolean hasShowFullId(
1546     ) {
1547         return this._has_showFullId;
1548     }
1549
1550     /**
1551      * Method hasShowGroupConsensus.
1552      * 
1553      * @return true if at least one ShowGroupConsensus has been adde
1554      */
1555     public boolean hasShowGroupConsensus(
1556     ) {
1557         return this._has_showGroupConsensus;
1558     }
1559
1560     /**
1561      * Method hasShowGroupConservation.
1562      * 
1563      * @return true if at least one ShowGroupConservation has been
1564      * added
1565      */
1566     public boolean hasShowGroupConservation(
1567     ) {
1568         return this._has_showGroupConservation;
1569     }
1570
1571     /**
1572      * Method hasShowNPfeatureTooltip.
1573      * 
1574      * @return true if at least one ShowNPfeatureTooltip has been
1575      * added
1576      */
1577     public boolean hasShowNPfeatureTooltip(
1578     ) {
1579         return this._has_showNPfeatureTooltip;
1580     }
1581
1582     /**
1583      * Method hasShowSequenceFeatures.
1584      * 
1585      * @return true if at least one ShowSequenceFeatures has been
1586      * added
1587      */
1588     public boolean hasShowSequenceFeatures(
1589     ) {
1590         return this._has_showSequenceFeatures;
1591     }
1592
1593     /**
1594      * Method hasShowSequenceLogo.
1595      * 
1596      * @return true if at least one ShowSequenceLogo has been added
1597      */
1598     public boolean hasShowSequenceLogo(
1599     ) {
1600         return this._has_showSequenceLogo;
1601     }
1602
1603     /**
1604      * Method hasShowText.
1605      * 
1606      * @return true if at least one ShowText has been added
1607      */
1608     public boolean hasShowText(
1609     ) {
1610         return this._has_showText;
1611     }
1612
1613     /**
1614      * Method hasShowUnconserved.
1615      * 
1616      * @return true if at least one ShowUnconserved has been added
1617      */
1618     public boolean hasShowUnconserved(
1619     ) {
1620         return this._has_showUnconserved;
1621     }
1622
1623     /**
1624      * Method hasStartRes.
1625      * 
1626      * @return true if at least one StartRes has been added
1627      */
1628     public boolean hasStartRes(
1629     ) {
1630         return this._has_startRes;
1631     }
1632
1633     /**
1634      * Method hasStartSeq.
1635      * 
1636      * @return true if at least one StartSeq has been added
1637      */
1638     public boolean hasStartSeq(
1639     ) {
1640         return this._has_startSeq;
1641     }
1642
1643     /**
1644      * Method hasTextCol1.
1645      * 
1646      * @return true if at least one TextCol1 has been added
1647      */
1648     public boolean hasTextCol1(
1649     ) {
1650         return this._has_textCol1;
1651     }
1652
1653     /**
1654      * Method hasTextCol2.
1655      * 
1656      * @return true if at least one TextCol2 has been added
1657      */
1658     public boolean hasTextCol2(
1659     ) {
1660         return this._has_textCol2;
1661     }
1662
1663     /**
1664      * Method hasTextColThreshold.
1665      * 
1666      * @return true if at least one TextColThreshold has been added
1667      */
1668     public boolean hasTextColThreshold(
1669     ) {
1670         return this._has_textColThreshold;
1671     }
1672
1673     /**
1674      * Method hasWidth.
1675      * 
1676      * @return true if at least one Width has been added
1677      */
1678     public boolean hasWidth(
1679     ) {
1680         return this._has_width;
1681     }
1682
1683     /**
1684      * Method hasWrapAlignment.
1685      * 
1686      * @return true if at least one WrapAlignment has been added
1687      */
1688     public boolean hasWrapAlignment(
1689     ) {
1690         return this._has_wrapAlignment;
1691     }
1692
1693     /**
1694      * Method hasXpos.
1695      * 
1696      * @return true if at least one Xpos has been added
1697      */
1698     public boolean hasXpos(
1699     ) {
1700         return this._has_xpos;
1701     }
1702
1703     /**
1704      * Method hasYpos.
1705      * 
1706      * @return true if at least one Ypos has been added
1707      */
1708     public boolean hasYpos(
1709     ) {
1710         return this._has_ypos;
1711     }
1712
1713     /**
1714      * Returns the value of field 'centreColumnLabels'.
1715      * 
1716      * @return the value of field 'CentreColumnLabels'.
1717      */
1718     public boolean isCentreColumnLabels(
1719     ) {
1720         return this._centreColumnLabels;
1721     }
1722
1723     /**
1724      * Returns the value of field 'conservationSelected'.
1725      * 
1726      * @return the value of field 'ConservationSelected'.
1727      */
1728     public boolean isConservationSelected(
1729     ) {
1730         return this._conservationSelected;
1731     }
1732
1733     /**
1734      * Returns the value of field 'followHighlight'.
1735      * 
1736      * @return the value of field 'FollowHighlight'.
1737      */
1738     public boolean isFollowHighlight(
1739     ) {
1740         return this._followHighlight;
1741     }
1742
1743     /**
1744      * Returns the value of field 'followSelection'.
1745      * 
1746      * @return the value of field 'FollowSelection'.
1747      */
1748     public boolean isFollowSelection(
1749     ) {
1750         return this._followSelection;
1751     }
1752
1753     /**
1754      * Returns the value of field 'gatheredViews'.
1755      * 
1756      * @return the value of field 'GatheredViews'.
1757      */
1758     public boolean isGatheredViews(
1759     ) {
1760         return this._gatheredViews;
1761     }
1762
1763     /**
1764      * Returns the value of field 'ignoreGapsinConsensus'.
1765      * 
1766      * @return the value of field 'IgnoreGapsinConsensus'.
1767      */
1768     public boolean isIgnoreGapsinConsensus(
1769     ) {
1770         return this._ignoreGapsinConsensus;
1771     }
1772
1773     /**
1774      * Returns the value of field 'normaliseSequenceLogo'.
1775      * 
1776      * @return the value of field 'NormaliseSequenceLogo'.
1777      */
1778     public boolean isNormaliseSequenceLogo(
1779     ) {
1780         return this._normaliseSequenceLogo;
1781     }
1782
1783     /**
1784      * Returns the value of field 'pidSelected'.
1785      * 
1786      * @return the value of field 'PidSelected'.
1787      */
1788     public boolean isPidSelected(
1789     ) {
1790         return this._pidSelected;
1791     }
1792
1793     /**
1794      * Returns the value of field 'renderGaps'.
1795      * 
1796      * @return the value of field 'RenderGaps'.
1797      */
1798     public boolean isRenderGaps(
1799     ) {
1800         return this._renderGaps;
1801     }
1802
1803     /**
1804      * Returns the value of field 'rightAlignIds'.
1805      * 
1806      * @return the value of field 'RightAlignIds'.
1807      */
1808     public boolean isRightAlignIds(
1809     ) {
1810         return this._rightAlignIds;
1811     }
1812
1813     /**
1814      * Returns the value of field 'showAnnotation'.
1815      * 
1816      * @return the value of field 'ShowAnnotation'.
1817      */
1818     public boolean isShowAnnotation(
1819     ) {
1820         return this._showAnnotation;
1821     }
1822
1823     /**
1824      * Returns the value of field 'showBoxes'.
1825      * 
1826      * @return the value of field 'ShowBoxes'.
1827      */
1828     public boolean isShowBoxes(
1829     ) {
1830         return this._showBoxes;
1831     }
1832
1833     /**
1834      * Returns the value of field 'showColourText'.
1835      * 
1836      * @return the value of field 'ShowColourText'.
1837      */
1838     public boolean isShowColourText(
1839     ) {
1840         return this._showColourText;
1841     }
1842
1843     /**
1844      * Returns the value of field 'showConsensusHistogram'.
1845      * 
1846      * @return the value of field 'ShowConsensusHistogram'.
1847      */
1848     public boolean isShowConsensusHistogram(
1849     ) {
1850         return this._showConsensusHistogram;
1851     }
1852
1853     /**
1854      * Returns the value of field 'showDbRefTooltip'.
1855      * 
1856      * @return the value of field 'ShowDbRefTooltip'.
1857      */
1858     public boolean isShowDbRefTooltip(
1859     ) {
1860         return this._showDbRefTooltip;
1861     }
1862
1863     /**
1864      * Returns the value of field 'showFullId'.
1865      * 
1866      * @return the value of field 'ShowFullId'.
1867      */
1868     public boolean isShowFullId(
1869     ) {
1870         return this._showFullId;
1871     }
1872
1873     /**
1874      * Returns the value of field 'showGroupConsensus'.
1875      * 
1876      * @return the value of field 'ShowGroupConsensus'.
1877      */
1878     public boolean isShowGroupConsensus(
1879     ) {
1880         return this._showGroupConsensus;
1881     }
1882
1883     /**
1884      * Returns the value of field 'showGroupConservation'.
1885      * 
1886      * @return the value of field 'ShowGroupConservation'.
1887      */
1888     public boolean isShowGroupConservation(
1889     ) {
1890         return this._showGroupConservation;
1891     }
1892
1893     /**
1894      * Returns the value of field 'showNPfeatureTooltip'.
1895      * 
1896      * @return the value of field 'ShowNPfeatureTooltip'.
1897      */
1898     public boolean isShowNPfeatureTooltip(
1899     ) {
1900         return this._showNPfeatureTooltip;
1901     }
1902
1903     /**
1904      * Returns the value of field 'showSequenceFeatures'.
1905      * 
1906      * @return the value of field 'ShowSequenceFeatures'.
1907      */
1908     public boolean isShowSequenceFeatures(
1909     ) {
1910         return this._showSequenceFeatures;
1911     }
1912
1913     /**
1914      * Returns the value of field 'showSequenceLogo'.
1915      * 
1916      * @return the value of field 'ShowSequenceLogo'.
1917      */
1918     public boolean isShowSequenceLogo(
1919     ) {
1920         return this._showSequenceLogo;
1921     }
1922
1923     /**
1924      * Returns the value of field 'showText'.
1925      * 
1926      * @return the value of field 'ShowText'.
1927      */
1928     public boolean isShowText(
1929     ) {
1930         return this._showText;
1931     }
1932
1933     /**
1934      * Returns the value of field 'showUnconserved'.
1935      * 
1936      * @return the value of field 'ShowUnconserved'.
1937      */
1938     public boolean isShowUnconserved(
1939     ) {
1940         return this._showUnconserved;
1941     }
1942
1943     /**
1944      * Method isValid.
1945      * 
1946      * @return true if this object is valid according to the schema
1947      */
1948     public boolean isValid(
1949     ) {
1950         try {
1951             validate();
1952         } catch (org.exolab.castor.xml.ValidationException vex) {
1953             return false;
1954         }
1955         return true;
1956     }
1957
1958     /**
1959      * Returns the value of field 'wrapAlignment'.
1960      * 
1961      * @return the value of field 'WrapAlignment'.
1962      */
1963     public boolean isWrapAlignment(
1964     ) {
1965         return this._wrapAlignment;
1966     }
1967
1968     /**
1969      * 
1970      * 
1971      * @param out
1972      * @throws org.exolab.castor.xml.MarshalException if object is
1973      * null or if any SAXException is thrown during marshaling
1974      * @throws org.exolab.castor.xml.ValidationException if this
1975      * object is an invalid instance according to the schema
1976      */
1977     public void marshal(
1978             final java.io.Writer out)
1979     throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
1980         Marshaller.marshal(this, out);
1981     }
1982
1983     /**
1984      * 
1985      * 
1986      * @param handler
1987      * @throws java.io.IOException if an IOException occurs during
1988      * marshaling
1989      * @throws org.exolab.castor.xml.ValidationException if this
1990      * object is an invalid instance according to the schema
1991      * @throws org.exolab.castor.xml.MarshalException if object is
1992      * null or if any SAXException is thrown during marshaling
1993      */
1994     public void marshal(
1995             final org.xml.sax.ContentHandler handler)
1996     throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
1997         Marshaller.marshal(this, handler);
1998     }
1999
2000     /**
2001      */
2002     public void removeAllCalcIdParam(
2003     ) {
2004         this._calcIdParamList.clear();
2005     }
2006
2007     /**
2008      */
2009     public void removeAllHiddenColumns(
2010     ) {
2011         this._hiddenColumnsList.clear();
2012     }
2013
2014     /**
2015      * Method removeCalcIdParam.
2016      * 
2017      * @param vCalcIdParam
2018      * @return true if the object was removed from the collection.
2019      */
2020     public boolean removeCalcIdParam(
2021             final jalview.schemabinding.version2.CalcIdParam vCalcIdParam) {
2022         boolean removed = _calcIdParamList.remove(vCalcIdParam);
2023         return removed;
2024     }
2025
2026     /**
2027      * Method removeCalcIdParamAt.
2028      * 
2029      * @param index
2030      * @return the element removed from the collection
2031      */
2032     public jalview.schemabinding.version2.CalcIdParam removeCalcIdParamAt(
2033             final int index) {
2034         java.lang.Object obj = this._calcIdParamList.remove(index);
2035         return (jalview.schemabinding.version2.CalcIdParam) obj;
2036     }
2037
2038     /**
2039      * Method removeHiddenColumns.
2040      * 
2041      * @param vHiddenColumns
2042      * @return true if the object was removed from the collection.
2043      */
2044     public boolean removeHiddenColumns(
2045             final jalview.schemabinding.version2.HiddenColumns vHiddenColumns) {
2046         boolean removed = _hiddenColumnsList.remove(vHiddenColumns);
2047         return removed;
2048     }
2049
2050     /**
2051      * Method removeHiddenColumnsAt.
2052      * 
2053      * @param index
2054      * @return the element removed from the collection
2055      */
2056     public jalview.schemabinding.version2.HiddenColumns removeHiddenColumnsAt(
2057             final int index) {
2058         java.lang.Object obj = this._hiddenColumnsList.remove(index);
2059         return (jalview.schemabinding.version2.HiddenColumns) obj;
2060     }
2061
2062     /**
2063      * Sets the value of field 'annotationColours'.
2064      * 
2065      * @param annotationColours the value of field
2066      * 'annotationColours'.
2067      */
2068     public void setAnnotationColours(
2069             final jalview.schemabinding.version2.AnnotationColours annotationColours) {
2070         this._annotationColours = annotationColours;
2071     }
2072
2073     /**
2074      * Sets the value of field 'bgColour'.
2075      * 
2076      * @param bgColour the value of field 'bgColour'.
2077      */
2078     public void setBgColour(
2079             final java.lang.String bgColour) {
2080         this._bgColour = bgColour;
2081     }
2082
2083     /**
2084      * 
2085      * 
2086      * @param index
2087      * @param vCalcIdParam
2088      * @throws java.lang.IndexOutOfBoundsException if the index
2089      * given is outside the bounds of the collection
2090      */
2091     public void setCalcIdParam(
2092             final int index,
2093             final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
2094     throws java.lang.IndexOutOfBoundsException {
2095         // check bounds for index
2096         if (index < 0 || index >= this._calcIdParamList.size()) {
2097             throw new IndexOutOfBoundsException("setCalcIdParam: Index value '" + index + "' not in range [0.." + (this._calcIdParamList.size() - 1) + "]");
2098         }
2099         
2100         this._calcIdParamList.set(index, vCalcIdParam);
2101     }
2102
2103     /**
2104      * 
2105      * 
2106      * @param vCalcIdParamArray
2107      */
2108     public void setCalcIdParam(
2109             final jalview.schemabinding.version2.CalcIdParam[] vCalcIdParamArray) {
2110         //-- copy array
2111         _calcIdParamList.clear();
2112         
2113         for (int i = 0; i < vCalcIdParamArray.length; i++) {
2114                 this._calcIdParamList.add(vCalcIdParamArray[i]);
2115         }
2116     }
2117
2118     /**
2119      * Sets the value of field 'centreColumnLabels'.
2120      * 
2121      * @param centreColumnLabels the value of field
2122      * 'centreColumnLabels'.
2123      */
2124     public void setCentreColumnLabels(
2125             final boolean centreColumnLabels) {
2126         this._centreColumnLabels = centreColumnLabels;
2127         this._has_centreColumnLabels = true;
2128     }
2129
2130     /**
2131      * Sets the value of field 'consThreshold'.
2132      * 
2133      * @param consThreshold the value of field 'consThreshold'.
2134      */
2135     public void setConsThreshold(
2136             final int consThreshold) {
2137         this._consThreshold = consThreshold;
2138         this._has_consThreshold = true;
2139     }
2140
2141     /**
2142      * Sets the value of field 'conservationSelected'.
2143      * 
2144      * @param conservationSelected the value of field
2145      * 'conservationSelected'.
2146      */
2147     public void setConservationSelected(
2148             final boolean conservationSelected) {
2149         this._conservationSelected = conservationSelected;
2150         this._has_conservationSelected = true;
2151     }
2152
2153     /**
2154      * Sets the value of field 'followHighlight'.
2155      * 
2156      * @param followHighlight the value of field 'followHighlight'.
2157      */
2158     public void setFollowHighlight(
2159             final boolean followHighlight) {
2160         this._followHighlight = followHighlight;
2161         this._has_followHighlight = true;
2162     }
2163
2164     /**
2165      * Sets the value of field 'followSelection'.
2166      * 
2167      * @param followSelection the value of field 'followSelection'.
2168      */
2169     public void setFollowSelection(
2170             final boolean followSelection) {
2171         this._followSelection = followSelection;
2172         this._has_followSelection = true;
2173     }
2174
2175     /**
2176      * Sets the value of field 'fontName'.
2177      * 
2178      * @param fontName the value of field 'fontName'.
2179      */
2180     public void setFontName(
2181             final java.lang.String fontName) {
2182         this._fontName = fontName;
2183     }
2184
2185     /**
2186      * Sets the value of field 'fontSize'.
2187      * 
2188      * @param fontSize the value of field 'fontSize'.
2189      */
2190     public void setFontSize(
2191             final int fontSize) {
2192         this._fontSize = fontSize;
2193         this._has_fontSize = true;
2194     }
2195
2196     /**
2197      * Sets the value of field 'fontStyle'.
2198      * 
2199      * @param fontStyle the value of field 'fontStyle'.
2200      */
2201     public void setFontStyle(
2202             final int fontStyle) {
2203         this._fontStyle = fontStyle;
2204         this._has_fontStyle = true;
2205     }
2206
2207     /**
2208      * Sets the value of field 'gatheredViews'.
2209      * 
2210      * @param gatheredViews the value of field 'gatheredViews'.
2211      */
2212     public void setGatheredViews(
2213             final boolean gatheredViews) {
2214         this._gatheredViews = gatheredViews;
2215         this._has_gatheredViews = true;
2216     }
2217
2218     /**
2219      * Sets the value of field 'height'.
2220      * 
2221      * @param height the value of field 'height'.
2222      */
2223     public void setHeight(
2224             final int height) {
2225         this._height = height;
2226         this._has_height = true;
2227     }
2228
2229     /**
2230      * 
2231      * 
2232      * @param index
2233      * @param vHiddenColumns
2234      * @throws java.lang.IndexOutOfBoundsException if the index
2235      * given is outside the bounds of the collection
2236      */
2237     public void setHiddenColumns(
2238             final int index,
2239             final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
2240     throws java.lang.IndexOutOfBoundsException {
2241         // check bounds for index
2242         if (index < 0 || index >= this._hiddenColumnsList.size()) {
2243             throw new IndexOutOfBoundsException("setHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
2244         }
2245         
2246         this._hiddenColumnsList.set(index, vHiddenColumns);
2247     }
2248
2249     /**
2250      * 
2251      * 
2252      * @param vHiddenColumnsArray
2253      */
2254     public void setHiddenColumns(
2255             final jalview.schemabinding.version2.HiddenColumns[] vHiddenColumnsArray) {
2256         //-- copy array
2257         _hiddenColumnsList.clear();
2258         
2259         for (int i = 0; i < vHiddenColumnsArray.length; i++) {
2260                 this._hiddenColumnsList.add(vHiddenColumnsArray[i]);
2261         }
2262     }
2263
2264     /**
2265      * Sets the value of field 'id'. The field 'id' has the
2266      * following description: unique id used by jalview to
2267      *  synchronize between stored and
2268      *  instantiated views
2269      *  
2270      * 
2271      * @param id the value of field 'id'.
2272      */
2273     public void setId(
2274             final java.lang.String id) {
2275         this._id = id;
2276     }
2277
2278     /**
2279      * Sets the value of field 'ignoreGapsinConsensus'.
2280      * 
2281      * @param ignoreGapsinConsensus the value of field
2282      * 'ignoreGapsinConsensus'.
2283      */
2284     public void setIgnoreGapsinConsensus(
2285             final boolean ignoreGapsinConsensus) {
2286         this._ignoreGapsinConsensus = ignoreGapsinConsensus;
2287         this._has_ignoreGapsinConsensus = true;
2288     }
2289
2290     /**
2291      * Sets the value of field 'normaliseSequenceLogo'.
2292      * 
2293      * @param normaliseSequenceLogo the value of field
2294      * 'normaliseSequenceLogo'.
2295      */
2296     public void setNormaliseSequenceLogo(
2297             final boolean normaliseSequenceLogo) {
2298         this._normaliseSequenceLogo = normaliseSequenceLogo;
2299         this._has_normaliseSequenceLogo = true;
2300     }
2301
2302     /**
2303      * Sets the value of field 'pidSelected'.
2304      * 
2305      * @param pidSelected the value of field 'pidSelected'.
2306      */
2307     public void setPidSelected(
2308             final boolean pidSelected) {
2309         this._pidSelected = pidSelected;
2310         this._has_pidSelected = true;
2311     }
2312
2313     /**
2314      * Sets the value of field 'pidThreshold'.
2315      * 
2316      * @param pidThreshold the value of field 'pidThreshold'.
2317      */
2318     public void setPidThreshold(
2319             final int pidThreshold) {
2320         this._pidThreshold = pidThreshold;
2321         this._has_pidThreshold = true;
2322     }
2323
2324     /**
2325      * Sets the value of field 'renderGaps'.
2326      * 
2327      * @param renderGaps the value of field 'renderGaps'.
2328      */
2329     public void setRenderGaps(
2330             final boolean renderGaps) {
2331         this._renderGaps = renderGaps;
2332         this._has_renderGaps = true;
2333     }
2334
2335     /**
2336      * Sets the value of field 'rightAlignIds'.
2337      * 
2338      * @param rightAlignIds the value of field 'rightAlignIds'.
2339      */
2340     public void setRightAlignIds(
2341             final boolean rightAlignIds) {
2342         this._rightAlignIds = rightAlignIds;
2343         this._has_rightAlignIds = true;
2344     }
2345
2346     /**
2347      * Sets the value of field 'sequenceSetId'.
2348      * 
2349      * @param sequenceSetId the value of field 'sequenceSetId'.
2350      */
2351     public void setSequenceSetId(
2352             final java.lang.String sequenceSetId) {
2353         this._sequenceSetId = sequenceSetId;
2354     }
2355
2356     /**
2357      * Sets the value of field 'showAnnotation'.
2358      * 
2359      * @param showAnnotation the value of field 'showAnnotation'.
2360      */
2361     public void setShowAnnotation(
2362             final boolean showAnnotation) {
2363         this._showAnnotation = showAnnotation;
2364         this._has_showAnnotation = true;
2365     }
2366
2367     /**
2368      * Sets the value of field 'showBoxes'.
2369      * 
2370      * @param showBoxes the value of field 'showBoxes'.
2371      */
2372     public void setShowBoxes(
2373             final boolean showBoxes) {
2374         this._showBoxes = showBoxes;
2375         this._has_showBoxes = true;
2376     }
2377
2378     /**
2379      * Sets the value of field 'showColourText'.
2380      * 
2381      * @param showColourText the value of field 'showColourText'.
2382      */
2383     public void setShowColourText(
2384             final boolean showColourText) {
2385         this._showColourText = showColourText;
2386         this._has_showColourText = true;
2387     }
2388
2389     /**
2390      * Sets the value of field 'showConsensusHistogram'.
2391      * 
2392      * @param showConsensusHistogram the value of field
2393      * 'showConsensusHistogram'.
2394      */
2395     public void setShowConsensusHistogram(
2396             final boolean showConsensusHistogram) {
2397         this._showConsensusHistogram = showConsensusHistogram;
2398         this._has_showConsensusHistogram = true;
2399     }
2400
2401     /**
2402      * Sets the value of field 'showDbRefTooltip'.
2403      * 
2404      * @param showDbRefTooltip the value of field 'showDbRefTooltip'
2405      */
2406     public void setShowDbRefTooltip(
2407             final boolean showDbRefTooltip) {
2408         this._showDbRefTooltip = showDbRefTooltip;
2409         this._has_showDbRefTooltip = true;
2410     }
2411
2412     /**
2413      * Sets the value of field 'showFullId'.
2414      * 
2415      * @param showFullId the value of field 'showFullId'.
2416      */
2417     public void setShowFullId(
2418             final boolean showFullId) {
2419         this._showFullId = showFullId;
2420         this._has_showFullId = true;
2421     }
2422
2423     /**
2424      * Sets the value of field 'showGroupConsensus'.
2425      * 
2426      * @param showGroupConsensus the value of field
2427      * 'showGroupConsensus'.
2428      */
2429     public void setShowGroupConsensus(
2430             final boolean showGroupConsensus) {
2431         this._showGroupConsensus = showGroupConsensus;
2432         this._has_showGroupConsensus = true;
2433     }
2434
2435     /**
2436      * Sets the value of field 'showGroupConservation'.
2437      * 
2438      * @param showGroupConservation the value of field
2439      * 'showGroupConservation'.
2440      */
2441     public void setShowGroupConservation(
2442             final boolean showGroupConservation) {
2443         this._showGroupConservation = showGroupConservation;
2444         this._has_showGroupConservation = true;
2445     }
2446
2447     /**
2448      * Sets the value of field 'showNPfeatureTooltip'.
2449      * 
2450      * @param showNPfeatureTooltip the value of field
2451      * 'showNPfeatureTooltip'.
2452      */
2453     public void setShowNPfeatureTooltip(
2454             final boolean showNPfeatureTooltip) {
2455         this._showNPfeatureTooltip = showNPfeatureTooltip;
2456         this._has_showNPfeatureTooltip = true;
2457     }
2458
2459     /**
2460      * Sets the value of field 'showSequenceFeatures'.
2461      * 
2462      * @param showSequenceFeatures the value of field
2463      * 'showSequenceFeatures'.
2464      */
2465     public void setShowSequenceFeatures(
2466             final boolean showSequenceFeatures) {
2467         this._showSequenceFeatures = showSequenceFeatures;
2468         this._has_showSequenceFeatures = true;
2469     }
2470
2471     /**
2472      * Sets the value of field 'showSequenceLogo'.
2473      * 
2474      * @param showSequenceLogo the value of field 'showSequenceLogo'
2475      */
2476     public void setShowSequenceLogo(
2477             final boolean showSequenceLogo) {
2478         this._showSequenceLogo = showSequenceLogo;
2479         this._has_showSequenceLogo = true;
2480     }
2481
2482     /**
2483      * Sets the value of field 'showText'.
2484      * 
2485      * @param showText the value of field 'showText'.
2486      */
2487     public void setShowText(
2488             final boolean showText) {
2489         this._showText = showText;
2490         this._has_showText = true;
2491     }
2492
2493     /**
2494      * Sets the value of field 'showUnconserved'.
2495      * 
2496      * @param showUnconserved the value of field 'showUnconserved'.
2497      */
2498     public void setShowUnconserved(
2499             final boolean showUnconserved) {
2500         this._showUnconserved = showUnconserved;
2501         this._has_showUnconserved = true;
2502     }
2503
2504     /**
2505      * Sets the value of field 'startRes'.
2506      * 
2507      * @param startRes the value of field 'startRes'.
2508      */
2509     public void setStartRes(
2510             final int startRes) {
2511         this._startRes = startRes;
2512         this._has_startRes = true;
2513     }
2514
2515     /**
2516      * Sets the value of field 'startSeq'.
2517      * 
2518      * @param startSeq the value of field 'startSeq'.
2519      */
2520     public void setStartSeq(
2521             final int startSeq) {
2522         this._startSeq = startSeq;
2523         this._has_startSeq = true;
2524     }
2525
2526     /**
2527      * Sets the value of field 'textCol1'.
2528      * 
2529      * @param textCol1 the value of field 'textCol1'.
2530      */
2531     public void setTextCol1(
2532             final int textCol1) {
2533         this._textCol1 = textCol1;
2534         this._has_textCol1 = true;
2535     }
2536
2537     /**
2538      * Sets the value of field 'textCol2'.
2539      * 
2540      * @param textCol2 the value of field 'textCol2'.
2541      */
2542     public void setTextCol2(
2543             final int textCol2) {
2544         this._textCol2 = textCol2;
2545         this._has_textCol2 = true;
2546     }
2547
2548     /**
2549      * Sets the value of field 'textColThreshold'.
2550      * 
2551      * @param textColThreshold the value of field 'textColThreshold'
2552      */
2553     public void setTextColThreshold(
2554             final int textColThreshold) {
2555         this._textColThreshold = textColThreshold;
2556         this._has_textColThreshold = true;
2557     }
2558
2559     /**
2560      * Sets the value of field 'title'.
2561      * 
2562      * @param title the value of field 'title'.
2563      */
2564     public void setTitle(
2565             final java.lang.String title) {
2566         this._title = title;
2567     }
2568
2569     /**
2570      * Sets the value of field 'viewName'.
2571      * 
2572      * @param viewName the value of field 'viewName'.
2573      */
2574     public void setViewName(
2575             final java.lang.String viewName) {
2576         this._viewName = viewName;
2577     }
2578
2579     /**
2580      * Sets the value of field 'width'.
2581      * 
2582      * @param width the value of field 'width'.
2583      */
2584     public void setWidth(
2585             final int width) {
2586         this._width = width;
2587         this._has_width = true;
2588     }
2589
2590     /**
2591      * Sets the value of field 'wrapAlignment'.
2592      * 
2593      * @param wrapAlignment the value of field 'wrapAlignment'.
2594      */
2595     public void setWrapAlignment(
2596             final boolean wrapAlignment) {
2597         this._wrapAlignment = wrapAlignment;
2598         this._has_wrapAlignment = true;
2599     }
2600
2601     /**
2602      * Sets the value of field 'xpos'.
2603      * 
2604      * @param xpos the value of field 'xpos'.
2605      */
2606     public void setXpos(
2607             final int xpos) {
2608         this._xpos = xpos;
2609         this._has_xpos = true;
2610     }
2611
2612     /**
2613      * Sets the value of field 'ypos'.
2614      * 
2615      * @param ypos the value of field 'ypos'.
2616      */
2617     public void setYpos(
2618             final int ypos) {
2619         this._ypos = ypos;
2620         this._has_ypos = true;
2621     }
2622
2623     /**
2624      * Method unmarshal.
2625      * 
2626      * @param reader
2627      * @throws org.exolab.castor.xml.MarshalException if object is
2628      * null or if any SAXException is thrown during marshaling
2629      * @throws org.exolab.castor.xml.ValidationException if this
2630      * object is an invalid instance according to the schema
2631      * @return the unmarshaled
2632      * jalview.schemabinding.version2.Viewport
2633      */
2634     public static jalview.schemabinding.version2.Viewport unmarshal(
2635             final java.io.Reader reader)
2636     throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
2637         return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(jalview.schemabinding.version2.Viewport.class, reader);
2638     }
2639
2640     /**
2641      * 
2642      * 
2643      * @throws org.exolab.castor.xml.ValidationException if this
2644      * object is an invalid instance according to the schema
2645      */
2646     public void validate(
2647     )
2648     throws org.exolab.castor.xml.ValidationException {
2649         org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
2650         validator.validate(this);
2651     }
2652
2653 }