2 * This class was automatically generated with
\r
3 * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
\r
8 package jalview.schemabinding.version2;
\r
10 //---------------------------------/
\r
11 //- Imported classes and packages -/
\r
12 //---------------------------------/
\r
16 import org.exolab.castor.xml.*;
\r
21 * @version $Revision$ $Date$
\r
23 public class Viewport
\r
24 implements java.io.Serializable
\r
27 //--------------------------/
\r
28 //- Class/Member Variables -/
\r
29 //--------------------------/
\r
32 * Field _conservationSelected
\r
34 private boolean _conservationSelected;
\r
37 * keeps track of state for field: _conservationSelected
\r
39 private boolean _has_conservationSelected;
\r
42 * Field _pidSelected
\r
44 private boolean _pidSelected;
\r
47 * keeps track of state for field: _pidSelected
\r
49 private boolean _has_pidSelected;
\r
54 private java.lang.String _bgColour;
\r
57 * Field _consThreshold
\r
59 private int _consThreshold;
\r
62 * keeps track of state for field: _consThreshold
\r
64 private boolean _has_consThreshold;
\r
67 * Field _pidThreshold
\r
69 private int _pidThreshold;
\r
72 * keeps track of state for field: _pidThreshold
\r
74 private boolean _has_pidThreshold;
\r
79 private java.lang.String _title;
\r
84 private boolean _showFullId;
\r
87 * keeps track of state for field: _showFullId
\r
89 private boolean _has_showFullId;
\r
92 * Field _rightAlignIds
\r
94 private boolean _rightAlignIds;
\r
97 * keeps track of state for field: _rightAlignIds
\r
99 private boolean _has_rightAlignIds;
\r
104 private boolean _showText;
\r
107 * keeps track of state for field: _showText
\r
109 private boolean _has_showText;
\r
112 * Field _showColourText
\r
114 private boolean _showColourText;
\r
117 * keeps track of state for field: _showColourText
\r
119 private boolean _has_showColourText;
\r
124 private boolean _showBoxes;
\r
127 * keeps track of state for field: _showBoxes
\r
129 private boolean _has_showBoxes;
\r
132 * Field _wrapAlignment
\r
134 private boolean _wrapAlignment;
\r
137 * keeps track of state for field: _wrapAlignment
\r
139 private boolean _has_wrapAlignment;
\r
142 * Field _renderGaps
\r
144 private boolean _renderGaps;
\r
147 * keeps track of state for field: _renderGaps
\r
149 private boolean _has_renderGaps;
\r
152 * Field _showSequenceFeatures
\r
154 private boolean _showSequenceFeatures;
\r
157 * keeps track of state for field: _showSequenceFeatures
\r
159 private boolean _has_showSequenceFeatures;
\r
162 * Field _showAnnotation
\r
164 private boolean _showAnnotation;
\r
167 * keeps track of state for field: _showAnnotation
\r
169 private boolean _has_showAnnotation;
\r
177 * keeps track of state for field: _xpos
\r
179 private boolean _has_xpos;
\r
187 * keeps track of state for field: _ypos
\r
189 private boolean _has_ypos;
\r
194 private int _width;
\r
197 * keeps track of state for field: _width
\r
199 private boolean _has_width;
\r
204 private int _height;
\r
207 * keeps track of state for field: _height
\r
209 private boolean _has_height;
\r
214 private int _startRes;
\r
217 * keeps track of state for field: _startRes
\r
219 private boolean _has_startRes;
\r
224 private int _startSeq;
\r
227 * keeps track of state for field: _startSeq
\r
229 private boolean _has_startSeq;
\r
234 private java.lang.String _fontName;
\r
239 private int _fontSize;
\r
242 * keeps track of state for field: _fontSize
\r
244 private boolean _has_fontSize;
\r
249 private int _fontStyle;
\r
252 * keeps track of state for field: _fontStyle
\r
254 private boolean _has_fontStyle;
\r
259 private java.lang.String _viewName;
\r
262 * Field _sequenceSetId
\r
264 private java.lang.String _sequenceSetId;
\r
267 * Field _gatheredViews
\r
269 private boolean _gatheredViews;
\r
272 * keeps track of state for field: _gatheredViews
\r
274 private boolean _has_gatheredViews;
\r
279 private int _textCol1;
\r
282 * keeps track of state for field: _textCol1
\r
284 private boolean _has_textCol1;
\r
289 private int _textCol2;
\r
292 * keeps track of state for field: _textCol2
\r
294 private boolean _has_textCol2;
\r
297 * Field _textColThreshold
\r
299 private int _textColThreshold;
\r
302 * keeps track of state for field: _textColThreshold
\r
304 private boolean _has_textColThreshold;
\r
307 * Field _annotationColours
\r
309 private jalview.schemabinding.version2.AnnotationColours _annotationColours;
\r
312 * Field _hiddenColumnsList
\r
314 private java.util.Vector _hiddenColumnsList;
\r
316 //----------------/
\r
317 //- Constructors -/
\r
318 //----------------/
\r
323 _hiddenColumnsList = new Vector();
\r
324 } //-- jalview.schemabinding.version2.Viewport()
\r
331 * Method addHiddenColumns
\r
335 * @param vHiddenColumns
\r
337 public void addHiddenColumns(jalview.schemabinding.version2.HiddenColumns
\r
339 throws java.lang.IndexOutOfBoundsException
\r
341 _hiddenColumnsList.addElement(vHiddenColumns);
\r
342 } //-- void addHiddenColumns(jalview.schemabinding.version2.HiddenColumns)
\r
345 * Method addHiddenColumns
\r
350 * @param vHiddenColumns
\r
352 public void addHiddenColumns(int index,
\r
353 jalview.schemabinding.version2.HiddenColumns
\r
355 throws java.lang.IndexOutOfBoundsException
\r
357 _hiddenColumnsList.insertElementAt(vHiddenColumns, index);
\r
358 } //-- void addHiddenColumns(int, jalview.schemabinding.version2.HiddenColumns)
\r
361 * Method deleteConsThreshold
\r
364 public void deleteConsThreshold()
\r
366 this._has_consThreshold = false;
\r
367 } //-- void deleteConsThreshold()
\r
370 * Method deleteConservationSelected
\r
373 public void deleteConservationSelected()
\r
375 this._has_conservationSelected = false;
\r
376 } //-- void deleteConservationSelected()
\r
379 * Method deleteFontSize
\r
382 public void deleteFontSize()
\r
384 this._has_fontSize = false;
\r
385 } //-- void deleteFontSize()
\r
388 * Method deleteFontStyle
\r
391 public void deleteFontStyle()
\r
393 this._has_fontStyle = false;
\r
394 } //-- void deleteFontStyle()
\r
397 * Method deleteGatheredViews
\r
400 public void deleteGatheredViews()
\r
402 this._has_gatheredViews = false;
\r
403 } //-- void deleteGatheredViews()
\r
406 * Method deleteHeight
\r
409 public void deleteHeight()
\r
411 this._has_height = false;
\r
412 } //-- void deleteHeight()
\r
415 * Method deletePidSelected
\r
418 public void deletePidSelected()
\r
420 this._has_pidSelected = false;
\r
421 } //-- void deletePidSelected()
\r
424 * Method deletePidThreshold
\r
427 public void deletePidThreshold()
\r
429 this._has_pidThreshold = false;
\r
430 } //-- void deletePidThreshold()
\r
433 * Method deleteRenderGaps
\r
436 public void deleteRenderGaps()
\r
438 this._has_renderGaps = false;
\r
439 } //-- void deleteRenderGaps()
\r
442 * Method deleteRightAlignIds
\r
445 public void deleteRightAlignIds()
\r
447 this._has_rightAlignIds = false;
\r
448 } //-- void deleteRightAlignIds()
\r
451 * Method deleteShowAnnotation
\r
454 public void deleteShowAnnotation()
\r
456 this._has_showAnnotation = false;
\r
457 } //-- void deleteShowAnnotation()
\r
460 * Method deleteShowBoxes
\r
463 public void deleteShowBoxes()
\r
465 this._has_showBoxes = false;
\r
466 } //-- void deleteShowBoxes()
\r
469 * Method deleteShowColourText
\r
472 public void deleteShowColourText()
\r
474 this._has_showColourText = false;
\r
475 } //-- void deleteShowColourText()
\r
478 * Method deleteShowFullId
\r
481 public void deleteShowFullId()
\r
483 this._has_showFullId = false;
\r
484 } //-- void deleteShowFullId()
\r
487 * Method deleteShowSequenceFeatures
\r
490 public void deleteShowSequenceFeatures()
\r
492 this._has_showSequenceFeatures = false;
\r
493 } //-- void deleteShowSequenceFeatures()
\r
496 * Method deleteShowText
\r
499 public void deleteShowText()
\r
501 this._has_showText = false;
\r
502 } //-- void deleteShowText()
\r
505 * Method deleteStartRes
\r
508 public void deleteStartRes()
\r
510 this._has_startRes = false;
\r
511 } //-- void deleteStartRes()
\r
514 * Method deleteStartSeq
\r
517 public void deleteStartSeq()
\r
519 this._has_startSeq = false;
\r
520 } //-- void deleteStartSeq()
\r
523 * Method deleteTextCol1
\r
526 public void deleteTextCol1()
\r
528 this._has_textCol1 = false;
\r
529 } //-- void deleteTextCol1()
\r
532 * Method deleteTextCol2
\r
535 public void deleteTextCol2()
\r
537 this._has_textCol2 = false;
\r
538 } //-- void deleteTextCol2()
\r
541 * Method deleteTextColThreshold
\r
544 public void deleteTextColThreshold()
\r
546 this._has_textColThreshold = false;
\r
547 } //-- void deleteTextColThreshold()
\r
550 * Method deleteWidth
\r
553 public void deleteWidth()
\r
555 this._has_width = false;
\r
556 } //-- void deleteWidth()
\r
559 * Method deleteWrapAlignment
\r
562 public void deleteWrapAlignment()
\r
564 this._has_wrapAlignment = false;
\r
565 } //-- void deleteWrapAlignment()
\r
568 * Method deleteXpos
\r
571 public void deleteXpos()
\r
573 this._has_xpos = false;
\r
574 } //-- void deleteXpos()
\r
577 * Method deleteYpos
\r
580 public void deleteYpos()
\r
582 this._has_ypos = false;
\r
583 } //-- void deleteYpos()
\r
586 * Method enumerateHiddenColumns
\r
590 * @return Enumeration
\r
592 public java.util.Enumeration enumerateHiddenColumns()
\r
594 return _hiddenColumnsList.elements();
\r
595 } //-- java.util.Enumeration enumerateHiddenColumns()
\r
598 * Returns the value of field 'annotationColours'.
\r
600 * @return AnnotationColours
\r
601 * @return the value of field 'annotationColours'.
\r
603 public jalview.schemabinding.version2.AnnotationColours getAnnotationColours()
\r
605 return this._annotationColours;
\r
606 } //-- jalview.schemabinding.version2.AnnotationColours getAnnotationColours()
\r
609 * Returns the value of field 'bgColour'.
\r
612 * @return the value of field 'bgColour'.
\r
614 public java.lang.String getBgColour()
\r
616 return this._bgColour;
\r
617 } //-- java.lang.String getBgColour()
\r
620 * Returns the value of field 'consThreshold'.
\r
623 * @return the value of field 'consThreshold'.
\r
625 public int getConsThreshold()
\r
627 return this._consThreshold;
\r
628 } //-- int getConsThreshold()
\r
631 * Returns the value of field 'conservationSelected'.
\r
634 * @return the value of field 'conservationSelected'.
\r
636 public boolean getConservationSelected()
\r
638 return this._conservationSelected;
\r
639 } //-- boolean getConservationSelected()
\r
642 * Returns the value of field 'fontName'.
\r
645 * @return the value of field 'fontName'.
\r
647 public java.lang.String getFontName()
\r
649 return this._fontName;
\r
650 } //-- java.lang.String getFontName()
\r
653 * Returns the value of field 'fontSize'.
\r
656 * @return the value of field 'fontSize'.
\r
658 public int getFontSize()
\r
660 return this._fontSize;
\r
661 } //-- int getFontSize()
\r
664 * Returns the value of field 'fontStyle'.
\r
667 * @return the value of field 'fontStyle'.
\r
669 public int getFontStyle()
\r
671 return this._fontStyle;
\r
672 } //-- int getFontStyle()
\r
675 * Returns the value of field 'gatheredViews'.
\r
678 * @return the value of field 'gatheredViews'.
\r
680 public boolean getGatheredViews()
\r
682 return this._gatheredViews;
\r
683 } //-- boolean getGatheredViews()
\r
686 * Returns the value of field 'height'.
\r
689 * @return the value of field 'height'.
\r
691 public int getHeight()
\r
693 return this._height;
\r
694 } //-- int getHeight()
\r
697 * Method getHiddenColumns
\r
702 * @return HiddenColumns
\r
704 public jalview.schemabinding.version2.HiddenColumns getHiddenColumns(int
\r
706 throws java.lang.IndexOutOfBoundsException
\r
708 //-- check bounds for index
\r
709 if ( (index < 0) || (index > _hiddenColumnsList.size()))
\r
711 throw new IndexOutOfBoundsException();
\r
714 return (jalview.schemabinding.version2.HiddenColumns) _hiddenColumnsList.
\r
716 } //-- jalview.schemabinding.version2.HiddenColumns getHiddenColumns(int)
\r
719 * Method getHiddenColumns
\r
723 * @return HiddenColumns
\r
725 public jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns()
\r
727 int size = _hiddenColumnsList.size();
\r
728 jalview.schemabinding.version2.HiddenColumns[] mArray = new jalview.
\r
729 schemabinding.version2.HiddenColumns[size];
\r
730 for (int index = 0; index < size; index++)
\r
732 mArray[index] = (jalview.schemabinding.version2.HiddenColumns)
\r
733 _hiddenColumnsList.elementAt(index);
\r
736 } //-- jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns()
\r
739 * Method getHiddenColumnsCount
\r
745 public int getHiddenColumnsCount()
\r
747 return _hiddenColumnsList.size();
\r
748 } //-- int getHiddenColumnsCount()
\r
751 * Returns the value of field 'pidSelected'.
\r
754 * @return the value of field 'pidSelected'.
\r
756 public boolean getPidSelected()
\r
758 return this._pidSelected;
\r
759 } //-- boolean getPidSelected()
\r
762 * Returns the value of field 'pidThreshold'.
\r
765 * @return the value of field 'pidThreshold'.
\r
767 public int getPidThreshold()
\r
769 return this._pidThreshold;
\r
770 } //-- int getPidThreshold()
\r
773 * Returns the value of field 'renderGaps'.
\r
776 * @return the value of field 'renderGaps'.
\r
778 public boolean getRenderGaps()
\r
780 return this._renderGaps;
\r
781 } //-- boolean getRenderGaps()
\r
784 * Returns the value of field 'rightAlignIds'.
\r
787 * @return the value of field 'rightAlignIds'.
\r
789 public boolean getRightAlignIds()
\r
791 return this._rightAlignIds;
\r
792 } //-- boolean getRightAlignIds()
\r
795 * Returns the value of field 'sequenceSetId'.
\r
798 * @return the value of field 'sequenceSetId'.
\r
800 public java.lang.String getSequenceSetId()
\r
802 return this._sequenceSetId;
\r
803 } //-- java.lang.String getSequenceSetId()
\r
806 * Returns the value of field 'showAnnotation'.
\r
809 * @return the value of field 'showAnnotation'.
\r
811 public boolean getShowAnnotation()
\r
813 return this._showAnnotation;
\r
814 } //-- boolean getShowAnnotation()
\r
817 * Returns the value of field 'showBoxes'.
\r
820 * @return the value of field 'showBoxes'.
\r
822 public boolean getShowBoxes()
\r
824 return this._showBoxes;
\r
825 } //-- boolean getShowBoxes()
\r
828 * Returns the value of field 'showColourText'.
\r
831 * @return the value of field 'showColourText'.
\r
833 public boolean getShowColourText()
\r
835 return this._showColourText;
\r
836 } //-- boolean getShowColourText()
\r
839 * Returns the value of field 'showFullId'.
\r
842 * @return the value of field 'showFullId'.
\r
844 public boolean getShowFullId()
\r
846 return this._showFullId;
\r
847 } //-- boolean getShowFullId()
\r
850 * Returns the value of field 'showSequenceFeatures'.
\r
853 * @return the value of field 'showSequenceFeatures'.
\r
855 public boolean getShowSequenceFeatures()
\r
857 return this._showSequenceFeatures;
\r
858 } //-- boolean getShowSequenceFeatures()
\r
861 * Returns the value of field 'showText'.
\r
864 * @return the value of field 'showText'.
\r
866 public boolean getShowText()
\r
868 return this._showText;
\r
869 } //-- boolean getShowText()
\r
872 * Returns the value of field 'startRes'.
\r
875 * @return the value of field 'startRes'.
\r
877 public int getStartRes()
\r
879 return this._startRes;
\r
880 } //-- int getStartRes()
\r
883 * Returns the value of field 'startSeq'.
\r
886 * @return the value of field 'startSeq'.
\r
888 public int getStartSeq()
\r
890 return this._startSeq;
\r
891 } //-- int getStartSeq()
\r
894 * Returns the value of field 'textCol1'.
\r
897 * @return the value of field 'textCol1'.
\r
899 public int getTextCol1()
\r
901 return this._textCol1;
\r
902 } //-- int getTextCol1()
\r
905 * Returns the value of field 'textCol2'.
\r
908 * @return the value of field 'textCol2'.
\r
910 public int getTextCol2()
\r
912 return this._textCol2;
\r
913 } //-- int getTextCol2()
\r
916 * Returns the value of field 'textColThreshold'.
\r
919 * @return the value of field 'textColThreshold'.
\r
921 public int getTextColThreshold()
\r
923 return this._textColThreshold;
\r
924 } //-- int getTextColThreshold()
\r
927 * Returns the value of field 'title'.
\r
930 * @return the value of field 'title'.
\r
932 public java.lang.String getTitle()
\r
934 return this._title;
\r
935 } //-- java.lang.String getTitle()
\r
938 * Returns the value of field 'viewName'.
\r
941 * @return the value of field 'viewName'.
\r
943 public java.lang.String getViewName()
\r
945 return this._viewName;
\r
946 } //-- java.lang.String getViewName()
\r
949 * Returns the value of field 'width'.
\r
952 * @return the value of field 'width'.
\r
954 public int getWidth()
\r
956 return this._width;
\r
957 } //-- int getWidth()
\r
960 * Returns the value of field 'wrapAlignment'.
\r
963 * @return the value of field 'wrapAlignment'.
\r
965 public boolean getWrapAlignment()
\r
967 return this._wrapAlignment;
\r
968 } //-- boolean getWrapAlignment()
\r
971 * Returns the value of field 'xpos'.
\r
974 * @return the value of field 'xpos'.
\r
976 public int getXpos()
\r
979 } //-- int getXpos()
\r
982 * Returns the value of field 'ypos'.
\r
985 * @return the value of field 'ypos'.
\r
987 public int getYpos()
\r
990 } //-- int getYpos()
\r
993 * Method hasConsThreshold
\r
999 public boolean hasConsThreshold()
\r
1001 return this._has_consThreshold;
\r
1002 } //-- boolean hasConsThreshold()
\r
1005 * Method hasConservationSelected
\r
1011 public boolean hasConservationSelected()
\r
1013 return this._has_conservationSelected;
\r
1014 } //-- boolean hasConservationSelected()
\r
1017 * Method hasFontSize
\r
1023 public boolean hasFontSize()
\r
1025 return this._has_fontSize;
\r
1026 } //-- boolean hasFontSize()
\r
1029 * Method hasFontStyle
\r
1035 public boolean hasFontStyle()
\r
1037 return this._has_fontStyle;
\r
1038 } //-- boolean hasFontStyle()
\r
1041 * Method hasGatheredViews
\r
1047 public boolean hasGatheredViews()
\r
1049 return this._has_gatheredViews;
\r
1050 } //-- boolean hasGatheredViews()
\r
1053 * Method hasHeight
\r
1059 public boolean hasHeight()
\r
1061 return this._has_height;
\r
1062 } //-- boolean hasHeight()
\r
1065 * Method hasPidSelected
\r
1071 public boolean hasPidSelected()
\r
1073 return this._has_pidSelected;
\r
1074 } //-- boolean hasPidSelected()
\r
1077 * Method hasPidThreshold
\r
1083 public boolean hasPidThreshold()
\r
1085 return this._has_pidThreshold;
\r
1086 } //-- boolean hasPidThreshold()
\r
1089 * Method hasRenderGaps
\r
1095 public boolean hasRenderGaps()
\r
1097 return this._has_renderGaps;
\r
1098 } //-- boolean hasRenderGaps()
\r
1101 * Method hasRightAlignIds
\r
1107 public boolean hasRightAlignIds()
\r
1109 return this._has_rightAlignIds;
\r
1110 } //-- boolean hasRightAlignIds()
\r
1113 * Method hasShowAnnotation
\r
1119 public boolean hasShowAnnotation()
\r
1121 return this._has_showAnnotation;
\r
1122 } //-- boolean hasShowAnnotation()
\r
1125 * Method hasShowBoxes
\r
1131 public boolean hasShowBoxes()
\r
1133 return this._has_showBoxes;
\r
1134 } //-- boolean hasShowBoxes()
\r
1137 * Method hasShowColourText
\r
1143 public boolean hasShowColourText()
\r
1145 return this._has_showColourText;
\r
1146 } //-- boolean hasShowColourText()
\r
1149 * Method hasShowFullId
\r
1155 public boolean hasShowFullId()
\r
1157 return this._has_showFullId;
\r
1158 } //-- boolean hasShowFullId()
\r
1161 * Method hasShowSequenceFeatures
\r
1167 public boolean hasShowSequenceFeatures()
\r
1169 return this._has_showSequenceFeatures;
\r
1170 } //-- boolean hasShowSequenceFeatures()
\r
1173 * Method hasShowText
\r
1179 public boolean hasShowText()
\r
1181 return this._has_showText;
\r
1182 } //-- boolean hasShowText()
\r
1185 * Method hasStartRes
\r
1191 public boolean hasStartRes()
\r
1193 return this._has_startRes;
\r
1194 } //-- boolean hasStartRes()
\r
1197 * Method hasStartSeq
\r
1203 public boolean hasStartSeq()
\r
1205 return this._has_startSeq;
\r
1206 } //-- boolean hasStartSeq()
\r
1209 * Method hasTextCol1
\r
1215 public boolean hasTextCol1()
\r
1217 return this._has_textCol1;
\r
1218 } //-- boolean hasTextCol1()
\r
1221 * Method hasTextCol2
\r
1227 public boolean hasTextCol2()
\r
1229 return this._has_textCol2;
\r
1230 } //-- boolean hasTextCol2()
\r
1233 * Method hasTextColThreshold
\r
1239 public boolean hasTextColThreshold()
\r
1241 return this._has_textColThreshold;
\r
1242 } //-- boolean hasTextColThreshold()
\r
1251 public boolean hasWidth()
\r
1253 return this._has_width;
\r
1254 } //-- boolean hasWidth()
\r
1257 * Method hasWrapAlignment
\r
1263 public boolean hasWrapAlignment()
\r
1265 return this._has_wrapAlignment;
\r
1266 } //-- boolean hasWrapAlignment()
\r
1275 public boolean hasXpos()
\r
1277 return this._has_xpos;
\r
1278 } //-- boolean hasXpos()
\r
1287 public boolean hasYpos()
\r
1289 return this._has_ypos;
\r
1290 } //-- boolean hasYpos()
\r
1299 public boolean isValid()
\r
1305 catch (org.exolab.castor.xml.ValidationException vex)
\r
1310 } //-- boolean isValid()
\r
1319 public void marshal(java.io.Writer out)
\r
1320 throws org.exolab.castor.xml.MarshalException,
\r
1321 org.exolab.castor.xml.ValidationException
\r
1324 Marshaller.marshal(this, out);
\r
1325 } //-- void marshal(java.io.Writer)
\r
1334 public void marshal(org.xml.sax.ContentHandler handler)
\r
1335 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
1336 org.exolab.castor.xml.ValidationException
\r
1339 Marshaller.marshal(this, handler);
\r
1340 } //-- void marshal(org.xml.sax.ContentHandler)
\r
1343 * Method removeAllHiddenColumns
\r
1346 public void removeAllHiddenColumns()
\r
1348 _hiddenColumnsList.removeAllElements();
\r
1349 } //-- void removeAllHiddenColumns()
\r
1352 * Method removeHiddenColumns
\r
1357 * @return HiddenColumns
\r
1359 public jalview.schemabinding.version2.HiddenColumns removeHiddenColumns(int
\r
1362 java.lang.Object obj = _hiddenColumnsList.elementAt(index);
\r
1363 _hiddenColumnsList.removeElementAt(index);
\r
1364 return (jalview.schemabinding.version2.HiddenColumns) obj;
\r
1365 } //-- jalview.schemabinding.version2.HiddenColumns removeHiddenColumns(int)
\r
1368 * Sets the value of field 'annotationColours'.
\r
1370 * @param annotationColours the value of field
\r
1371 * 'annotationColours'.
\r
1373 public void setAnnotationColours(jalview.schemabinding.version2.
\r
1374 AnnotationColours annotationColours)
\r
1376 this._annotationColours = annotationColours;
\r
1377 } //-- void setAnnotationColours(jalview.schemabinding.version2.AnnotationColours)
\r
1380 * Sets the value of field 'bgColour'.
\r
1382 * @param bgColour the value of field 'bgColour'.
\r
1384 public void setBgColour(java.lang.String bgColour)
\r
1386 this._bgColour = bgColour;
\r
1387 } //-- void setBgColour(java.lang.String)
\r
1390 * Sets the value of field 'consThreshold'.
\r
1392 * @param consThreshold the value of field 'consThreshold'.
\r
1394 public void setConsThreshold(int consThreshold)
\r
1396 this._consThreshold = consThreshold;
\r
1397 this._has_consThreshold = true;
\r
1398 } //-- void setConsThreshold(int)
\r
1401 * Sets the value of field 'conservationSelected'.
\r
1403 * @param conservationSelected the value of field
\r
1404 * 'conservationSelected'.
\r
1406 public void setConservationSelected(boolean conservationSelected)
\r
1408 this._conservationSelected = conservationSelected;
\r
1409 this._has_conservationSelected = true;
\r
1410 } //-- void setConservationSelected(boolean)
\r
1413 * Sets the value of field 'fontName'.
\r
1415 * @param fontName the value of field 'fontName'.
\r
1417 public void setFontName(java.lang.String fontName)
\r
1419 this._fontName = fontName;
\r
1420 } //-- void setFontName(java.lang.String)
\r
1423 * Sets the value of field 'fontSize'.
\r
1425 * @param fontSize the value of field 'fontSize'.
\r
1427 public void setFontSize(int fontSize)
\r
1429 this._fontSize = fontSize;
\r
1430 this._has_fontSize = true;
\r
1431 } //-- void setFontSize(int)
\r
1434 * Sets the value of field 'fontStyle'.
\r
1436 * @param fontStyle the value of field 'fontStyle'.
\r
1438 public void setFontStyle(int fontStyle)
\r
1440 this._fontStyle = fontStyle;
\r
1441 this._has_fontStyle = true;
\r
1442 } //-- void setFontStyle(int)
\r
1445 * Sets the value of field 'gatheredViews'.
\r
1447 * @param gatheredViews the value of field 'gatheredViews'.
\r
1449 public void setGatheredViews(boolean gatheredViews)
\r
1451 this._gatheredViews = gatheredViews;
\r
1452 this._has_gatheredViews = true;
\r
1453 } //-- void setGatheredViews(boolean)
\r
1456 * Sets the value of field 'height'.
\r
1458 * @param height the value of field 'height'.
\r
1460 public void setHeight(int height)
\r
1462 this._height = height;
\r
1463 this._has_height = true;
\r
1464 } //-- void setHeight(int)
\r
1467 * Method setHiddenColumns
\r
1472 * @param vHiddenColumns
\r
1474 public void setHiddenColumns(int index,
\r
1475 jalview.schemabinding.version2.HiddenColumns
\r
1477 throws java.lang.IndexOutOfBoundsException
\r
1479 //-- check bounds for index
\r
1480 if ( (index < 0) || (index > _hiddenColumnsList.size()))
\r
1482 throw new IndexOutOfBoundsException();
\r
1484 _hiddenColumnsList.setElementAt(vHiddenColumns, index);
\r
1485 } //-- void setHiddenColumns(int, jalview.schemabinding.version2.HiddenColumns)
\r
1488 * Method setHiddenColumns
\r
1492 * @param hiddenColumnsArray
\r
1494 public void setHiddenColumns(jalview.schemabinding.version2.HiddenColumns[]
\r
1495 hiddenColumnsArray)
\r
1498 _hiddenColumnsList.removeAllElements();
\r
1499 for (int i = 0; i < hiddenColumnsArray.length; i++)
\r
1501 _hiddenColumnsList.addElement(hiddenColumnsArray[i]);
\r
1503 } //-- void setHiddenColumns(jalview.schemabinding.version2.HiddenColumns)
\r
1506 * Sets the value of field 'pidSelected'.
\r
1508 * @param pidSelected the value of field 'pidSelected'.
\r
1510 public void setPidSelected(boolean pidSelected)
\r
1512 this._pidSelected = pidSelected;
\r
1513 this._has_pidSelected = true;
\r
1514 } //-- void setPidSelected(boolean)
\r
1517 * Sets the value of field 'pidThreshold'.
\r
1519 * @param pidThreshold the value of field 'pidThreshold'.
\r
1521 public void setPidThreshold(int pidThreshold)
\r
1523 this._pidThreshold = pidThreshold;
\r
1524 this._has_pidThreshold = true;
\r
1525 } //-- void setPidThreshold(int)
\r
1528 * Sets the value of field 'renderGaps'.
\r
1530 * @param renderGaps the value of field 'renderGaps'.
\r
1532 public void setRenderGaps(boolean renderGaps)
\r
1534 this._renderGaps = renderGaps;
\r
1535 this._has_renderGaps = true;
\r
1536 } //-- void setRenderGaps(boolean)
\r
1539 * Sets the value of field 'rightAlignIds'.
\r
1541 * @param rightAlignIds the value of field 'rightAlignIds'.
\r
1543 public void setRightAlignIds(boolean rightAlignIds)
\r
1545 this._rightAlignIds = rightAlignIds;
\r
1546 this._has_rightAlignIds = true;
\r
1547 } //-- void setRightAlignIds(boolean)
\r
1550 * Sets the value of field 'sequenceSetId'.
\r
1552 * @param sequenceSetId the value of field 'sequenceSetId'.
\r
1554 public void setSequenceSetId(java.lang.String sequenceSetId)
\r
1556 this._sequenceSetId = sequenceSetId;
\r
1557 } //-- void setSequenceSetId(java.lang.String)
\r
1560 * Sets the value of field 'showAnnotation'.
\r
1562 * @param showAnnotation the value of field 'showAnnotation'.
\r
1564 public void setShowAnnotation(boolean showAnnotation)
\r
1566 this._showAnnotation = showAnnotation;
\r
1567 this._has_showAnnotation = true;
\r
1568 } //-- void setShowAnnotation(boolean)
\r
1571 * Sets the value of field 'showBoxes'.
\r
1573 * @param showBoxes the value of field 'showBoxes'.
\r
1575 public void setShowBoxes(boolean showBoxes)
\r
1577 this._showBoxes = showBoxes;
\r
1578 this._has_showBoxes = true;
\r
1579 } //-- void setShowBoxes(boolean)
\r
1582 * Sets the value of field 'showColourText'.
\r
1584 * @param showColourText the value of field 'showColourText'.
\r
1586 public void setShowColourText(boolean showColourText)
\r
1588 this._showColourText = showColourText;
\r
1589 this._has_showColourText = true;
\r
1590 } //-- void setShowColourText(boolean)
\r
1593 * Sets the value of field 'showFullId'.
\r
1595 * @param showFullId the value of field 'showFullId'.
\r
1597 public void setShowFullId(boolean showFullId)
\r
1599 this._showFullId = showFullId;
\r
1600 this._has_showFullId = true;
\r
1601 } //-- void setShowFullId(boolean)
\r
1604 * Sets the value of field 'showSequenceFeatures'.
\r
1606 * @param showSequenceFeatures the value of field
\r
1607 * 'showSequenceFeatures'.
\r
1609 public void setShowSequenceFeatures(boolean showSequenceFeatures)
\r
1611 this._showSequenceFeatures = showSequenceFeatures;
\r
1612 this._has_showSequenceFeatures = true;
\r
1613 } //-- void setShowSequenceFeatures(boolean)
\r
1616 * Sets the value of field 'showText'.
\r
1618 * @param showText the value of field 'showText'.
\r
1620 public void setShowText(boolean showText)
\r
1622 this._showText = showText;
\r
1623 this._has_showText = true;
\r
1624 } //-- void setShowText(boolean)
\r
1627 * Sets the value of field 'startRes'.
\r
1629 * @param startRes the value of field 'startRes'.
\r
1631 public void setStartRes(int startRes)
\r
1633 this._startRes = startRes;
\r
1634 this._has_startRes = true;
\r
1635 } //-- void setStartRes(int)
\r
1638 * Sets the value of field 'startSeq'.
\r
1640 * @param startSeq the value of field 'startSeq'.
\r
1642 public void setStartSeq(int startSeq)
\r
1644 this._startSeq = startSeq;
\r
1645 this._has_startSeq = true;
\r
1646 } //-- void setStartSeq(int)
\r
1649 * Sets the value of field 'textCol1'.
\r
1651 * @param textCol1 the value of field 'textCol1'.
\r
1653 public void setTextCol1(int textCol1)
\r
1655 this._textCol1 = textCol1;
\r
1656 this._has_textCol1 = true;
\r
1657 } //-- void setTextCol1(int)
\r
1660 * Sets the value of field 'textCol2'.
\r
1662 * @param textCol2 the value of field 'textCol2'.
\r
1664 public void setTextCol2(int textCol2)
\r
1666 this._textCol2 = textCol2;
\r
1667 this._has_textCol2 = true;
\r
1668 } //-- void setTextCol2(int)
\r
1671 * Sets the value of field 'textColThreshold'.
\r
1673 * @param textColThreshold the value of field 'textColThreshold'
\r
1675 public void setTextColThreshold(int textColThreshold)
\r
1677 this._textColThreshold = textColThreshold;
\r
1678 this._has_textColThreshold = true;
\r
1679 } //-- void setTextColThreshold(int)
\r
1682 * Sets the value of field 'title'.
\r
1684 * @param title the value of field 'title'.
\r
1686 public void setTitle(java.lang.String title)
\r
1688 this._title = title;
\r
1689 } //-- void setTitle(java.lang.String)
\r
1692 * Sets the value of field 'viewName'.
\r
1694 * @param viewName the value of field 'viewName'.
\r
1696 public void setViewName(java.lang.String viewName)
\r
1698 this._viewName = viewName;
\r
1699 } //-- void setViewName(java.lang.String)
\r
1702 * Sets the value of field 'width'.
\r
1704 * @param width the value of field 'width'.
\r
1706 public void setWidth(int width)
\r
1708 this._width = width;
\r
1709 this._has_width = true;
\r
1710 } //-- void setWidth(int)
\r
1713 * Sets the value of field 'wrapAlignment'.
\r
1715 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
1717 public void setWrapAlignment(boolean wrapAlignment)
\r
1719 this._wrapAlignment = wrapAlignment;
\r
1720 this._has_wrapAlignment = true;
\r
1721 } //-- void setWrapAlignment(boolean)
\r
1724 * Sets the value of field 'xpos'.
\r
1726 * @param xpos the value of field 'xpos'.
\r
1728 public void setXpos(int xpos)
\r
1730 this._xpos = xpos;
\r
1731 this._has_xpos = true;
\r
1732 } //-- void setXpos(int)
\r
1735 * Sets the value of field 'ypos'.
\r
1737 * @param ypos the value of field 'ypos'.
\r
1739 public void setYpos(int ypos)
\r
1741 this._ypos = ypos;
\r
1742 this._has_ypos = true;
\r
1743 } //-- void setYpos(int)
\r
1746 * Method unmarshal
\r
1753 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
1754 throws org.exolab.castor.xml.MarshalException,
\r
1755 org.exolab.castor.xml.ValidationException
\r
1757 return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(
\r
1758 jalview.schemabinding.version2.Viewport.class, reader);
\r
1759 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
1765 public void validate()
\r
1766 throws org.exolab.castor.xml.ValidationException
\r
1768 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.
\r
1770 validator.validate(this);
\r
1771 } //-- void validate()
\r