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