2 * This class was automatically generated with
3 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
8 package jalview.schemabinding.version2;
10 //---------------------------------/
11 //- Imported classes and packages -/
12 //---------------------------------/
14 import org.exolab.castor.xml.Marshaller;
15 import org.exolab.castor.xml.Unmarshaller;
20 * @version $Revision$ $Date$
22 public class Viewport implements java.io.Serializable {
25 //--------------------------/
26 //- Class/Member Variables -/
27 //--------------------------/
30 * Field _conservationSelected.
32 private boolean _conservationSelected;
35 * keeps track of state for field: _conservationSelected
37 private boolean _has_conservationSelected;
42 private boolean _pidSelected;
45 * keeps track of state for field: _pidSelected
47 private boolean _has_pidSelected;
52 private java.lang.String _bgColour;
55 * Field _consThreshold.
57 private int _consThreshold;
60 * keeps track of state for field: _consThreshold
62 private boolean _has_consThreshold;
65 * Field _pidThreshold.
67 private int _pidThreshold;
70 * keeps track of state for field: _pidThreshold
72 private boolean _has_pidThreshold;
77 private java.lang.String _title;
82 private boolean _showFullId;
85 * keeps track of state for field: _showFullId
87 private boolean _has_showFullId;
90 * Field _rightAlignIds.
92 private boolean _rightAlignIds;
95 * keeps track of state for field: _rightAlignIds
97 private boolean _has_rightAlignIds;
102 private boolean _showText;
105 * keeps track of state for field: _showText
107 private boolean _has_showText;
110 * Field _showColourText.
112 private boolean _showColourText;
115 * keeps track of state for field: _showColourText
117 private boolean _has_showColourText;
120 * Field _showUnconserved.
122 private boolean _showUnconserved = false;
125 * keeps track of state for field: _showUnconserved
127 private boolean _has_showUnconserved;
132 private boolean _showBoxes;
135 * keeps track of state for field: _showBoxes
137 private boolean _has_showBoxes;
140 * Field _wrapAlignment.
142 private boolean _wrapAlignment;
145 * keeps track of state for field: _wrapAlignment
147 private boolean _has_wrapAlignment;
152 private boolean _renderGaps;
155 * keeps track of state for field: _renderGaps
157 private boolean _has_renderGaps;
160 * Field _showSequenceFeatures.
162 private boolean _showSequenceFeatures;
165 * keeps track of state for field: _showSequenceFeatures
167 private boolean _has_showSequenceFeatures;
170 * Field _showNPfeatureTooltip.
172 private boolean _showNPfeatureTooltip;
175 * keeps track of state for field: _showNPfeatureTooltip
177 private boolean _has_showNPfeatureTooltip;
180 * Field _showDbRefTooltip.
182 private boolean _showDbRefTooltip;
185 * keeps track of state for field: _showDbRefTooltip
187 private boolean _has_showDbRefTooltip;
190 * Field _followHighlight.
192 private boolean _followHighlight = true;
195 * keeps track of state for field: _followHighlight
197 private boolean _has_followHighlight;
200 * Field _followSelection.
202 private boolean _followSelection = true;
205 * keeps track of state for field: _followSelection
207 private boolean _has_followSelection;
210 * Field _showAnnotation.
212 private boolean _showAnnotation;
215 * keeps track of state for field: _showAnnotation
217 private boolean _has_showAnnotation;
220 * Field _centreColumnLabels.
222 private boolean _centreColumnLabels = false;
225 * keeps track of state for field: _centreColumnLabels
227 private boolean _has_centreColumnLabels;
230 * Field _showGroupConservation.
232 private boolean _showGroupConservation = false;
235 * keeps track of state for field: _showGroupConservation
237 private boolean _has_showGroupConservation;
240 * Field _showGroupConsensus.
242 private boolean _showGroupConsensus = false;
245 * keeps track of state for field: _showGroupConsensus
247 private boolean _has_showGroupConsensus;
250 * Field _showConsensusHistogram.
252 private boolean _showConsensusHistogram = true;
255 * keeps track of state for field: _showConsensusHistogram
257 private boolean _has_showConsensusHistogram;
260 * Field _showSequenceLogo.
262 private boolean _showSequenceLogo = false;
265 * keeps track of state for field: _showSequenceLogo
267 private boolean _has_showSequenceLogo;
270 * Field _normaliseSequenceLogo.
272 private boolean _normaliseSequenceLogo = false;
275 * keeps track of state for field: _normaliseSequenceLogo
277 private boolean _has_normaliseSequenceLogo;
280 * Field _ignoreGapsinConsensus.
282 private boolean _ignoreGapsinConsensus = true;
285 * keeps track of state for field: _ignoreGapsinConsensus
287 private boolean _has_ignoreGapsinConsensus;
292 private int _startRes;
295 * keeps track of state for field: _startRes
297 private boolean _has_startRes;
302 private int _startSeq;
305 * keeps track of state for field: _startSeq
307 private boolean _has_startSeq;
312 private java.lang.String _fontName;
317 private int _fontSize;
320 * keeps track of state for field: _fontSize
322 private boolean _has_fontSize;
327 private int _fontStyle;
330 * keeps track of state for field: _fontStyle
332 private boolean _has_fontStyle;
337 private java.lang.String _viewName;
340 * Field _sequenceSetId.
342 private java.lang.String _sequenceSetId;
345 * Field _gatheredViews.
347 private boolean _gatheredViews;
350 * keeps track of state for field: _gatheredViews
352 private boolean _has_gatheredViews;
357 private int _textCol1;
360 * keeps track of state for field: _textCol1
362 private boolean _has_textCol1;
367 private int _textCol2;
370 * keeps track of state for field: _textCol2
372 private boolean _has_textCol2;
375 * Field _textColThreshold.
377 private int _textColThreshold;
380 * keeps track of state for field: _textColThreshold
382 private boolean _has_textColThreshold;
385 * unique id used by jalview to
386 * synchronize between stored and
390 private java.lang.String _id;
398 * keeps track of state for field: _width
400 private boolean _has_width;
408 * keeps track of state for field: _height
410 private boolean _has_height;
418 * keeps track of state for field: _xpos
420 private boolean _has_xpos;
428 * keeps track of state for field: _ypos
430 private boolean _has_ypos;
433 * Field _annotationColours.
435 private jalview.schemabinding.version2.AnnotationColours _annotationColours;
438 * Field _hiddenColumnsList.
440 private java.util.Vector _hiddenColumnsList;
443 * Field _calcIdParamList.
445 private java.util.Vector _calcIdParamList;
454 this._hiddenColumnsList = new java.util.Vector();
455 this._calcIdParamList = new java.util.Vector();
466 * @param vCalcIdParam
467 * @throws java.lang.IndexOutOfBoundsException if the index
468 * given is outside the bounds of the collection
470 public void addCalcIdParam(
471 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
472 throws java.lang.IndexOutOfBoundsException {
473 this._calcIdParamList.addElement(vCalcIdParam);
480 * @param vCalcIdParam
481 * @throws java.lang.IndexOutOfBoundsException if the index
482 * given is outside the bounds of the collection
484 public void addCalcIdParam(
486 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
487 throws java.lang.IndexOutOfBoundsException {
488 this._calcIdParamList.add(index, vCalcIdParam);
494 * @param vHiddenColumns
495 * @throws java.lang.IndexOutOfBoundsException if the index
496 * given is outside the bounds of the collection
498 public void addHiddenColumns(
499 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
500 throws java.lang.IndexOutOfBoundsException {
501 this._hiddenColumnsList.addElement(vHiddenColumns);
508 * @param vHiddenColumns
509 * @throws java.lang.IndexOutOfBoundsException if the index
510 * given is outside the bounds of the collection
512 public void addHiddenColumns(
514 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
515 throws java.lang.IndexOutOfBoundsException {
516 this._hiddenColumnsList.add(index, vHiddenColumns);
521 public void deleteCentreColumnLabels(
523 this._has_centreColumnLabels= false;
528 public void deleteConsThreshold(
530 this._has_consThreshold= false;
535 public void deleteConservationSelected(
537 this._has_conservationSelected= false;
542 public void deleteFollowHighlight(
544 this._has_followHighlight= false;
549 public void deleteFollowSelection(
551 this._has_followSelection= false;
556 public void deleteFontSize(
558 this._has_fontSize= false;
563 public void deleteFontStyle(
565 this._has_fontStyle= false;
570 public void deleteGatheredViews(
572 this._has_gatheredViews= false;
577 public void deleteHeight(
579 this._has_height= false;
584 public void deleteIgnoreGapsinConsensus(
586 this._has_ignoreGapsinConsensus= false;
591 public void deleteNormaliseSequenceLogo(
593 this._has_normaliseSequenceLogo= false;
598 public void deletePidSelected(
600 this._has_pidSelected= false;
605 public void deletePidThreshold(
607 this._has_pidThreshold= false;
612 public void deleteRenderGaps(
614 this._has_renderGaps= false;
619 public void deleteRightAlignIds(
621 this._has_rightAlignIds= false;
626 public void deleteShowAnnotation(
628 this._has_showAnnotation= false;
633 public void deleteShowBoxes(
635 this._has_showBoxes= false;
640 public void deleteShowColourText(
642 this._has_showColourText= false;
647 public void deleteShowConsensusHistogram(
649 this._has_showConsensusHistogram= false;
654 public void deleteShowDbRefTooltip(
656 this._has_showDbRefTooltip= false;
661 public void deleteShowFullId(
663 this._has_showFullId= false;
668 public void deleteShowGroupConsensus(
670 this._has_showGroupConsensus= false;
675 public void deleteShowGroupConservation(
677 this._has_showGroupConservation= false;
682 public void deleteShowNPfeatureTooltip(
684 this._has_showNPfeatureTooltip= false;
689 public void deleteShowSequenceFeatures(
691 this._has_showSequenceFeatures= false;
696 public void deleteShowSequenceLogo(
698 this._has_showSequenceLogo= false;
703 public void deleteShowText(
705 this._has_showText= false;
710 public void deleteShowUnconserved(
712 this._has_showUnconserved= false;
717 public void deleteStartRes(
719 this._has_startRes= false;
724 public void deleteStartSeq(
726 this._has_startSeq= false;
731 public void deleteTextCol1(
733 this._has_textCol1= false;
738 public void deleteTextCol2(
740 this._has_textCol2= false;
745 public void deleteTextColThreshold(
747 this._has_textColThreshold= false;
752 public void deleteWidth(
754 this._has_width= false;
759 public void deleteWrapAlignment(
761 this._has_wrapAlignment= false;
766 public void deleteXpos(
768 this._has_xpos= false;
773 public void deleteYpos(
775 this._has_ypos= false;
779 * Method enumerateCalcIdParam.
781 * @return an Enumeration over all
782 * jalview.schemabinding.version2.CalcIdParam elements
784 public java.util.Enumeration enumerateCalcIdParam(
786 return this._calcIdParamList.elements();
790 * Method enumerateHiddenColumns.
792 * @return an Enumeration over all
793 * jalview.schemabinding.version2.HiddenColumns elements
795 public java.util.Enumeration enumerateHiddenColumns(
797 return this._hiddenColumnsList.elements();
801 * Returns the value of field 'annotationColours'.
803 * @return the value of field 'AnnotationColours'.
805 public jalview.schemabinding.version2.AnnotationColours getAnnotationColours(
807 return this._annotationColours;
811 * Returns the value of field 'bgColour'.
813 * @return the value of field 'BgColour'.
815 public java.lang.String getBgColour(
817 return this._bgColour;
821 * Method getCalcIdParam.
824 * @throws java.lang.IndexOutOfBoundsException if the index
825 * given is outside the bounds of the collection
826 * @return the value of the
827 * jalview.schemabinding.version2.CalcIdParam at the given index
829 public jalview.schemabinding.version2.CalcIdParam getCalcIdParam(
831 throws java.lang.IndexOutOfBoundsException {
832 // check bounds for index
833 if (index < 0 || index >= this._calcIdParamList.size()) {
834 throw new IndexOutOfBoundsException("getCalcIdParam: Index value '" + index + "' not in range [0.." + (this._calcIdParamList.size() - 1) + "]");
837 return (jalview.schemabinding.version2.CalcIdParam) _calcIdParamList.get(index);
841 * Method getCalcIdParam.Returns the contents of the collection
842 * in an Array. <p>Note: Just in case the collection contents
843 * are changing in another thread, we pass a 0-length Array of
844 * the correct type into the API call. This way we <i>know</i>
845 * that the Array returned is of exactly the correct length.
847 * @return this collection as an Array
849 public jalview.schemabinding.version2.CalcIdParam[] getCalcIdParam(
851 jalview.schemabinding.version2.CalcIdParam[] array = new jalview.schemabinding.version2.CalcIdParam[0];
852 return (jalview.schemabinding.version2.CalcIdParam[]) this._calcIdParamList.toArray(array);
856 * Method getCalcIdParamCount.
858 * @return the size of this collection
860 public int getCalcIdParamCount(
862 return this._calcIdParamList.size();
866 * Returns the value of field 'centreColumnLabels'.
868 * @return the value of field 'CentreColumnLabels'.
870 public boolean getCentreColumnLabels(
872 return this._centreColumnLabels;
876 * Returns the value of field 'consThreshold'.
878 * @return the value of field 'ConsThreshold'.
880 public int getConsThreshold(
882 return this._consThreshold;
886 * Returns the value of field 'conservationSelected'.
888 * @return the value of field 'ConservationSelected'.
890 public boolean getConservationSelected(
892 return this._conservationSelected;
896 * Returns the value of field 'followHighlight'.
898 * @return the value of field 'FollowHighlight'.
900 public boolean getFollowHighlight(
902 return this._followHighlight;
906 * Returns the value of field 'followSelection'.
908 * @return the value of field 'FollowSelection'.
910 public boolean getFollowSelection(
912 return this._followSelection;
916 * Returns the value of field 'fontName'.
918 * @return the value of field 'FontName'.
920 public java.lang.String getFontName(
922 return this._fontName;
926 * Returns the value of field 'fontSize'.
928 * @return the value of field 'FontSize'.
930 public int getFontSize(
932 return this._fontSize;
936 * Returns the value of field 'fontStyle'.
938 * @return the value of field 'FontStyle'.
940 public int getFontStyle(
942 return this._fontStyle;
946 * Returns the value of field 'gatheredViews'.
948 * @return the value of field 'GatheredViews'.
950 public boolean getGatheredViews(
952 return this._gatheredViews;
956 * Returns the value of field 'height'.
958 * @return the value of field 'Height'.
960 public int getHeight(
966 * Method getHiddenColumns.
969 * @throws java.lang.IndexOutOfBoundsException if the index
970 * given is outside the bounds of the collection
971 * @return the value of the
972 * jalview.schemabinding.version2.HiddenColumns at the given
975 public jalview.schemabinding.version2.HiddenColumns getHiddenColumns(
977 throws java.lang.IndexOutOfBoundsException {
978 // check bounds for index
979 if (index < 0 || index >= this._hiddenColumnsList.size()) {
980 throw new IndexOutOfBoundsException("getHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
983 return (jalview.schemabinding.version2.HiddenColumns) _hiddenColumnsList.get(index);
987 * Method getHiddenColumns.Returns the contents of the
988 * collection in an Array. <p>Note: Just in case the
989 * collection contents are changing in another thread, we pass
990 * a 0-length Array of the correct type into the API call.
991 * This way we <i>know</i> that the Array returned is of
992 * exactly the correct length.
994 * @return this collection as an Array
996 public jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns(
998 jalview.schemabinding.version2.HiddenColumns[] array = new jalview.schemabinding.version2.HiddenColumns[0];
999 return (jalview.schemabinding.version2.HiddenColumns[]) this._hiddenColumnsList.toArray(array);
1003 * Method getHiddenColumnsCount.
1005 * @return the size of this collection
1007 public int getHiddenColumnsCount(
1009 return this._hiddenColumnsList.size();
1013 * Returns the value of field 'id'. The field 'id' has the
1014 * following description: unique id used by jalview to
1015 * synchronize between stored and
1016 * instantiated views
1019 * @return the value of field 'Id'.
1021 public java.lang.String getId(
1027 * Returns the value of field 'ignoreGapsinConsensus'.
1029 * @return the value of field 'IgnoreGapsinConsensus'.
1031 public boolean getIgnoreGapsinConsensus(
1033 return this._ignoreGapsinConsensus;
1037 * Returns the value of field 'normaliseSequenceLogo'.
1039 * @return the value of field 'NormaliseSequenceLogo'.
1041 public boolean getNormaliseSequenceLogo(
1043 return this._normaliseSequenceLogo;
1047 * Returns the value of field 'pidSelected'.
1049 * @return the value of field 'PidSelected'.
1051 public boolean getPidSelected(
1053 return this._pidSelected;
1057 * Returns the value of field 'pidThreshold'.
1059 * @return the value of field 'PidThreshold'.
1061 public int getPidThreshold(
1063 return this._pidThreshold;
1067 * Returns the value of field 'renderGaps'.
1069 * @return the value of field 'RenderGaps'.
1071 public boolean getRenderGaps(
1073 return this._renderGaps;
1077 * Returns the value of field 'rightAlignIds'.
1079 * @return the value of field 'RightAlignIds'.
1081 public boolean getRightAlignIds(
1083 return this._rightAlignIds;
1087 * Returns the value of field 'sequenceSetId'.
1089 * @return the value of field 'SequenceSetId'.
1091 public java.lang.String getSequenceSetId(
1093 return this._sequenceSetId;
1097 * Returns the value of field 'showAnnotation'.
1099 * @return the value of field 'ShowAnnotation'.
1101 public boolean getShowAnnotation(
1103 return this._showAnnotation;
1107 * Returns the value of field 'showBoxes'.
1109 * @return the value of field 'ShowBoxes'.
1111 public boolean getShowBoxes(
1113 return this._showBoxes;
1117 * Returns the value of field 'showColourText'.
1119 * @return the value of field 'ShowColourText'.
1121 public boolean getShowColourText(
1123 return this._showColourText;
1127 * Returns the value of field 'showConsensusHistogram'.
1129 * @return the value of field 'ShowConsensusHistogram'.
1131 public boolean getShowConsensusHistogram(
1133 return this._showConsensusHistogram;
1137 * Returns the value of field 'showDbRefTooltip'.
1139 * @return the value of field 'ShowDbRefTooltip'.
1141 public boolean getShowDbRefTooltip(
1143 return this._showDbRefTooltip;
1147 * Returns the value of field 'showFullId'.
1149 * @return the value of field 'ShowFullId'.
1151 public boolean getShowFullId(
1153 return this._showFullId;
1157 * Returns the value of field 'showGroupConsensus'.
1159 * @return the value of field 'ShowGroupConsensus'.
1161 public boolean getShowGroupConsensus(
1163 return this._showGroupConsensus;
1167 * Returns the value of field 'showGroupConservation'.
1169 * @return the value of field 'ShowGroupConservation'.
1171 public boolean getShowGroupConservation(
1173 return this._showGroupConservation;
1177 * Returns the value of field 'showNPfeatureTooltip'.
1179 * @return the value of field 'ShowNPfeatureTooltip'.
1181 public boolean getShowNPfeatureTooltip(
1183 return this._showNPfeatureTooltip;
1187 * Returns the value of field 'showSequenceFeatures'.
1189 * @return the value of field 'ShowSequenceFeatures'.
1191 public boolean getShowSequenceFeatures(
1193 return this._showSequenceFeatures;
1197 * Returns the value of field 'showSequenceLogo'.
1199 * @return the value of field 'ShowSequenceLogo'.
1201 public boolean getShowSequenceLogo(
1203 return this._showSequenceLogo;
1207 * Returns the value of field 'showText'.
1209 * @return the value of field 'ShowText'.
1211 public boolean getShowText(
1213 return this._showText;
1217 * Returns the value of field 'showUnconserved'.
1219 * @return the value of field 'ShowUnconserved'.
1221 public boolean getShowUnconserved(
1223 return this._showUnconserved;
1227 * Returns the value of field 'startRes'.
1229 * @return the value of field 'StartRes'.
1231 public int getStartRes(
1233 return this._startRes;
1237 * Returns the value of field 'startSeq'.
1239 * @return the value of field 'StartSeq'.
1241 public int getStartSeq(
1243 return this._startSeq;
1247 * Returns the value of field 'textCol1'.
1249 * @return the value of field 'TextCol1'.
1251 public int getTextCol1(
1253 return this._textCol1;
1257 * Returns the value of field 'textCol2'.
1259 * @return the value of field 'TextCol2'.
1261 public int getTextCol2(
1263 return this._textCol2;
1267 * Returns the value of field 'textColThreshold'.
1269 * @return the value of field 'TextColThreshold'.
1271 public int getTextColThreshold(
1273 return this._textColThreshold;
1277 * Returns the value of field 'title'.
1279 * @return the value of field 'Title'.
1281 public java.lang.String getTitle(
1287 * Returns the value of field 'viewName'.
1289 * @return the value of field 'ViewName'.
1291 public java.lang.String getViewName(
1293 return this._viewName;
1297 * Returns the value of field 'width'.
1299 * @return the value of field 'Width'.
1301 public int getWidth(
1307 * Returns the value of field 'wrapAlignment'.
1309 * @return the value of field 'WrapAlignment'.
1311 public boolean getWrapAlignment(
1313 return this._wrapAlignment;
1317 * Returns the value of field 'xpos'.
1319 * @return the value of field 'Xpos'.
1327 * Returns the value of field 'ypos'.
1329 * @return the value of field 'Ypos'.
1337 * Method hasCentreColumnLabels.
1339 * @return true if at least one CentreColumnLabels has been adde
1341 public boolean hasCentreColumnLabels(
1343 return this._has_centreColumnLabels;
1347 * Method hasConsThreshold.
1349 * @return true if at least one ConsThreshold has been added
1351 public boolean hasConsThreshold(
1353 return this._has_consThreshold;
1357 * Method hasConservationSelected.
1359 * @return true if at least one ConservationSelected has been
1362 public boolean hasConservationSelected(
1364 return this._has_conservationSelected;
1368 * Method hasFollowHighlight.
1370 * @return true if at least one FollowHighlight has been added
1372 public boolean hasFollowHighlight(
1374 return this._has_followHighlight;
1378 * Method hasFollowSelection.
1380 * @return true if at least one FollowSelection has been added
1382 public boolean hasFollowSelection(
1384 return this._has_followSelection;
1388 * Method hasFontSize.
1390 * @return true if at least one FontSize has been added
1392 public boolean hasFontSize(
1394 return this._has_fontSize;
1398 * Method hasFontStyle.
1400 * @return true if at least one FontStyle has been added
1402 public boolean hasFontStyle(
1404 return this._has_fontStyle;
1408 * Method hasGatheredViews.
1410 * @return true if at least one GatheredViews has been added
1412 public boolean hasGatheredViews(
1414 return this._has_gatheredViews;
1420 * @return true if at least one Height has been added
1422 public boolean hasHeight(
1424 return this._has_height;
1428 * Method hasIgnoreGapsinConsensus.
1430 * @return true if at least one IgnoreGapsinConsensus has been
1433 public boolean hasIgnoreGapsinConsensus(
1435 return this._has_ignoreGapsinConsensus;
1439 * Method hasNormaliseSequenceLogo.
1441 * @return true if at least one NormaliseSequenceLogo has been
1444 public boolean hasNormaliseSequenceLogo(
1446 return this._has_normaliseSequenceLogo;
1450 * Method hasPidSelected.
1452 * @return true if at least one PidSelected has been added
1454 public boolean hasPidSelected(
1456 return this._has_pidSelected;
1460 * Method hasPidThreshold.
1462 * @return true if at least one PidThreshold has been added
1464 public boolean hasPidThreshold(
1466 return this._has_pidThreshold;
1470 * Method hasRenderGaps.
1472 * @return true if at least one RenderGaps has been added
1474 public boolean hasRenderGaps(
1476 return this._has_renderGaps;
1480 * Method hasRightAlignIds.
1482 * @return true if at least one RightAlignIds has been added
1484 public boolean hasRightAlignIds(
1486 return this._has_rightAlignIds;
1490 * Method hasShowAnnotation.
1492 * @return true if at least one ShowAnnotation has been added
1494 public boolean hasShowAnnotation(
1496 return this._has_showAnnotation;
1500 * Method hasShowBoxes.
1502 * @return true if at least one ShowBoxes has been added
1504 public boolean hasShowBoxes(
1506 return this._has_showBoxes;
1510 * Method hasShowColourText.
1512 * @return true if at least one ShowColourText has been added
1514 public boolean hasShowColourText(
1516 return this._has_showColourText;
1520 * Method hasShowConsensusHistogram.
1522 * @return true if at least one ShowConsensusHistogram has been
1525 public boolean hasShowConsensusHistogram(
1527 return this._has_showConsensusHistogram;
1531 * Method hasShowDbRefTooltip.
1533 * @return true if at least one ShowDbRefTooltip has been added
1535 public boolean hasShowDbRefTooltip(
1537 return this._has_showDbRefTooltip;
1541 * Method hasShowFullId.
1543 * @return true if at least one ShowFullId has been added
1545 public boolean hasShowFullId(
1547 return this._has_showFullId;
1551 * Method hasShowGroupConsensus.
1553 * @return true if at least one ShowGroupConsensus has been adde
1555 public boolean hasShowGroupConsensus(
1557 return this._has_showGroupConsensus;
1561 * Method hasShowGroupConservation.
1563 * @return true if at least one ShowGroupConservation has been
1566 public boolean hasShowGroupConservation(
1568 return this._has_showGroupConservation;
1572 * Method hasShowNPfeatureTooltip.
1574 * @return true if at least one ShowNPfeatureTooltip has been
1577 public boolean hasShowNPfeatureTooltip(
1579 return this._has_showNPfeatureTooltip;
1583 * Method hasShowSequenceFeatures.
1585 * @return true if at least one ShowSequenceFeatures has been
1588 public boolean hasShowSequenceFeatures(
1590 return this._has_showSequenceFeatures;
1594 * Method hasShowSequenceLogo.
1596 * @return true if at least one ShowSequenceLogo has been added
1598 public boolean hasShowSequenceLogo(
1600 return this._has_showSequenceLogo;
1604 * Method hasShowText.
1606 * @return true if at least one ShowText has been added
1608 public boolean hasShowText(
1610 return this._has_showText;
1614 * Method hasShowUnconserved.
1616 * @return true if at least one ShowUnconserved has been added
1618 public boolean hasShowUnconserved(
1620 return this._has_showUnconserved;
1624 * Method hasStartRes.
1626 * @return true if at least one StartRes has been added
1628 public boolean hasStartRes(
1630 return this._has_startRes;
1634 * Method hasStartSeq.
1636 * @return true if at least one StartSeq has been added
1638 public boolean hasStartSeq(
1640 return this._has_startSeq;
1644 * Method hasTextCol1.
1646 * @return true if at least one TextCol1 has been added
1648 public boolean hasTextCol1(
1650 return this._has_textCol1;
1654 * Method hasTextCol2.
1656 * @return true if at least one TextCol2 has been added
1658 public boolean hasTextCol2(
1660 return this._has_textCol2;
1664 * Method hasTextColThreshold.
1666 * @return true if at least one TextColThreshold has been added
1668 public boolean hasTextColThreshold(
1670 return this._has_textColThreshold;
1676 * @return true if at least one Width has been added
1678 public boolean hasWidth(
1680 return this._has_width;
1684 * Method hasWrapAlignment.
1686 * @return true if at least one WrapAlignment has been added
1688 public boolean hasWrapAlignment(
1690 return this._has_wrapAlignment;
1696 * @return true if at least one Xpos has been added
1698 public boolean hasXpos(
1700 return this._has_xpos;
1706 * @return true if at least one Ypos has been added
1708 public boolean hasYpos(
1710 return this._has_ypos;
1714 * Returns the value of field 'centreColumnLabels'.
1716 * @return the value of field 'CentreColumnLabels'.
1718 public boolean isCentreColumnLabels(
1720 return this._centreColumnLabels;
1724 * Returns the value of field 'conservationSelected'.
1726 * @return the value of field 'ConservationSelected'.
1728 public boolean isConservationSelected(
1730 return this._conservationSelected;
1734 * Returns the value of field 'followHighlight'.
1736 * @return the value of field 'FollowHighlight'.
1738 public boolean isFollowHighlight(
1740 return this._followHighlight;
1744 * Returns the value of field 'followSelection'.
1746 * @return the value of field 'FollowSelection'.
1748 public boolean isFollowSelection(
1750 return this._followSelection;
1754 * Returns the value of field 'gatheredViews'.
1756 * @return the value of field 'GatheredViews'.
1758 public boolean isGatheredViews(
1760 return this._gatheredViews;
1764 * Returns the value of field 'ignoreGapsinConsensus'.
1766 * @return the value of field 'IgnoreGapsinConsensus'.
1768 public boolean isIgnoreGapsinConsensus(
1770 return this._ignoreGapsinConsensus;
1774 * Returns the value of field 'normaliseSequenceLogo'.
1776 * @return the value of field 'NormaliseSequenceLogo'.
1778 public boolean isNormaliseSequenceLogo(
1780 return this._normaliseSequenceLogo;
1784 * Returns the value of field 'pidSelected'.
1786 * @return the value of field 'PidSelected'.
1788 public boolean isPidSelected(
1790 return this._pidSelected;
1794 * Returns the value of field 'renderGaps'.
1796 * @return the value of field 'RenderGaps'.
1798 public boolean isRenderGaps(
1800 return this._renderGaps;
1804 * Returns the value of field 'rightAlignIds'.
1806 * @return the value of field 'RightAlignIds'.
1808 public boolean isRightAlignIds(
1810 return this._rightAlignIds;
1814 * Returns the value of field 'showAnnotation'.
1816 * @return the value of field 'ShowAnnotation'.
1818 public boolean isShowAnnotation(
1820 return this._showAnnotation;
1824 * Returns the value of field 'showBoxes'.
1826 * @return the value of field 'ShowBoxes'.
1828 public boolean isShowBoxes(
1830 return this._showBoxes;
1834 * Returns the value of field 'showColourText'.
1836 * @return the value of field 'ShowColourText'.
1838 public boolean isShowColourText(
1840 return this._showColourText;
1844 * Returns the value of field 'showConsensusHistogram'.
1846 * @return the value of field 'ShowConsensusHistogram'.
1848 public boolean isShowConsensusHistogram(
1850 return this._showConsensusHistogram;
1854 * Returns the value of field 'showDbRefTooltip'.
1856 * @return the value of field 'ShowDbRefTooltip'.
1858 public boolean isShowDbRefTooltip(
1860 return this._showDbRefTooltip;
1864 * Returns the value of field 'showFullId'.
1866 * @return the value of field 'ShowFullId'.
1868 public boolean isShowFullId(
1870 return this._showFullId;
1874 * Returns the value of field 'showGroupConsensus'.
1876 * @return the value of field 'ShowGroupConsensus'.
1878 public boolean isShowGroupConsensus(
1880 return this._showGroupConsensus;
1884 * Returns the value of field 'showGroupConservation'.
1886 * @return the value of field 'ShowGroupConservation'.
1888 public boolean isShowGroupConservation(
1890 return this._showGroupConservation;
1894 * Returns the value of field 'showNPfeatureTooltip'.
1896 * @return the value of field 'ShowNPfeatureTooltip'.
1898 public boolean isShowNPfeatureTooltip(
1900 return this._showNPfeatureTooltip;
1904 * Returns the value of field 'showSequenceFeatures'.
1906 * @return the value of field 'ShowSequenceFeatures'.
1908 public boolean isShowSequenceFeatures(
1910 return this._showSequenceFeatures;
1914 * Returns the value of field 'showSequenceLogo'.
1916 * @return the value of field 'ShowSequenceLogo'.
1918 public boolean isShowSequenceLogo(
1920 return this._showSequenceLogo;
1924 * Returns the value of field 'showText'.
1926 * @return the value of field 'ShowText'.
1928 public boolean isShowText(
1930 return this._showText;
1934 * Returns the value of field 'showUnconserved'.
1936 * @return the value of field 'ShowUnconserved'.
1938 public boolean isShowUnconserved(
1940 return this._showUnconserved;
1946 * @return true if this object is valid according to the schema
1948 public boolean isValid(
1952 } catch (org.exolab.castor.xml.ValidationException vex) {
1959 * Returns the value of field 'wrapAlignment'.
1961 * @return the value of field 'WrapAlignment'.
1963 public boolean isWrapAlignment(
1965 return this._wrapAlignment;
1972 * @throws org.exolab.castor.xml.MarshalException if object is
1973 * null or if any SAXException is thrown during marshaling
1974 * @throws org.exolab.castor.xml.ValidationException if this
1975 * object is an invalid instance according to the schema
1977 public void marshal(
1978 final java.io.Writer out)
1979 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
1980 Marshaller.marshal(this, out);
1987 * @throws java.io.IOException if an IOException occurs during
1989 * @throws org.exolab.castor.xml.ValidationException if this
1990 * object is an invalid instance according to the schema
1991 * @throws org.exolab.castor.xml.MarshalException if object is
1992 * null or if any SAXException is thrown during marshaling
1994 public void marshal(
1995 final org.xml.sax.ContentHandler handler)
1996 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
1997 Marshaller.marshal(this, handler);
2002 public void removeAllCalcIdParam(
2004 this._calcIdParamList.clear();
2009 public void removeAllHiddenColumns(
2011 this._hiddenColumnsList.clear();
2015 * Method removeCalcIdParam.
2017 * @param vCalcIdParam
2018 * @return true if the object was removed from the collection.
2020 public boolean removeCalcIdParam(
2021 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam) {
2022 boolean removed = _calcIdParamList.remove(vCalcIdParam);
2027 * Method removeCalcIdParamAt.
2030 * @return the element removed from the collection
2032 public jalview.schemabinding.version2.CalcIdParam removeCalcIdParamAt(
2034 java.lang.Object obj = this._calcIdParamList.remove(index);
2035 return (jalview.schemabinding.version2.CalcIdParam) obj;
2039 * Method removeHiddenColumns.
2041 * @param vHiddenColumns
2042 * @return true if the object was removed from the collection.
2044 public boolean removeHiddenColumns(
2045 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns) {
2046 boolean removed = _hiddenColumnsList.remove(vHiddenColumns);
2051 * Method removeHiddenColumnsAt.
2054 * @return the element removed from the collection
2056 public jalview.schemabinding.version2.HiddenColumns removeHiddenColumnsAt(
2058 java.lang.Object obj = this._hiddenColumnsList.remove(index);
2059 return (jalview.schemabinding.version2.HiddenColumns) obj;
2063 * Sets the value of field 'annotationColours'.
2065 * @param annotationColours the value of field
2066 * 'annotationColours'.
2068 public void setAnnotationColours(
2069 final jalview.schemabinding.version2.AnnotationColours annotationColours) {
2070 this._annotationColours = annotationColours;
2074 * Sets the value of field 'bgColour'.
2076 * @param bgColour the value of field 'bgColour'.
2078 public void setBgColour(
2079 final java.lang.String bgColour) {
2080 this._bgColour = bgColour;
2087 * @param vCalcIdParam
2088 * @throws java.lang.IndexOutOfBoundsException if the index
2089 * given is outside the bounds of the collection
2091 public void setCalcIdParam(
2093 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
2094 throws java.lang.IndexOutOfBoundsException {
2095 // check bounds for index
2096 if (index < 0 || index >= this._calcIdParamList.size()) {
2097 throw new IndexOutOfBoundsException("setCalcIdParam: Index value '" + index + "' not in range [0.." + (this._calcIdParamList.size() - 1) + "]");
2100 this._calcIdParamList.set(index, vCalcIdParam);
2106 * @param vCalcIdParamArray
2108 public void setCalcIdParam(
2109 final jalview.schemabinding.version2.CalcIdParam[] vCalcIdParamArray) {
2111 _calcIdParamList.clear();
2113 for (int i = 0; i < vCalcIdParamArray.length; i++) {
2114 this._calcIdParamList.add(vCalcIdParamArray[i]);
2119 * Sets the value of field 'centreColumnLabels'.
2121 * @param centreColumnLabels the value of field
2122 * 'centreColumnLabels'.
2124 public void setCentreColumnLabels(
2125 final boolean centreColumnLabels) {
2126 this._centreColumnLabels = centreColumnLabels;
2127 this._has_centreColumnLabels = true;
2131 * Sets the value of field 'consThreshold'.
2133 * @param consThreshold the value of field 'consThreshold'.
2135 public void setConsThreshold(
2136 final int consThreshold) {
2137 this._consThreshold = consThreshold;
2138 this._has_consThreshold = true;
2142 * Sets the value of field 'conservationSelected'.
2144 * @param conservationSelected the value of field
2145 * 'conservationSelected'.
2147 public void setConservationSelected(
2148 final boolean conservationSelected) {
2149 this._conservationSelected = conservationSelected;
2150 this._has_conservationSelected = true;
2154 * Sets the value of field 'followHighlight'.
2156 * @param followHighlight the value of field 'followHighlight'.
2158 public void setFollowHighlight(
2159 final boolean followHighlight) {
2160 this._followHighlight = followHighlight;
2161 this._has_followHighlight = true;
2165 * Sets the value of field 'followSelection'.
2167 * @param followSelection the value of field 'followSelection'.
2169 public void setFollowSelection(
2170 final boolean followSelection) {
2171 this._followSelection = followSelection;
2172 this._has_followSelection = true;
2176 * Sets the value of field 'fontName'.
2178 * @param fontName the value of field 'fontName'.
2180 public void setFontName(
2181 final java.lang.String fontName) {
2182 this._fontName = fontName;
2186 * Sets the value of field 'fontSize'.
2188 * @param fontSize the value of field 'fontSize'.
2190 public void setFontSize(
2191 final int fontSize) {
2192 this._fontSize = fontSize;
2193 this._has_fontSize = true;
2197 * Sets the value of field 'fontStyle'.
2199 * @param fontStyle the value of field 'fontStyle'.
2201 public void setFontStyle(
2202 final int fontStyle) {
2203 this._fontStyle = fontStyle;
2204 this._has_fontStyle = true;
2208 * Sets the value of field 'gatheredViews'.
2210 * @param gatheredViews the value of field 'gatheredViews'.
2212 public void setGatheredViews(
2213 final boolean gatheredViews) {
2214 this._gatheredViews = gatheredViews;
2215 this._has_gatheredViews = true;
2219 * Sets the value of field 'height'.
2221 * @param height the value of field 'height'.
2223 public void setHeight(
2225 this._height = height;
2226 this._has_height = true;
2233 * @param vHiddenColumns
2234 * @throws java.lang.IndexOutOfBoundsException if the index
2235 * given is outside the bounds of the collection
2237 public void setHiddenColumns(
2239 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
2240 throws java.lang.IndexOutOfBoundsException {
2241 // check bounds for index
2242 if (index < 0 || index >= this._hiddenColumnsList.size()) {
2243 throw new IndexOutOfBoundsException("setHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
2246 this._hiddenColumnsList.set(index, vHiddenColumns);
2252 * @param vHiddenColumnsArray
2254 public void setHiddenColumns(
2255 final jalview.schemabinding.version2.HiddenColumns[] vHiddenColumnsArray) {
2257 _hiddenColumnsList.clear();
2259 for (int i = 0; i < vHiddenColumnsArray.length; i++) {
2260 this._hiddenColumnsList.add(vHiddenColumnsArray[i]);
2265 * Sets the value of field 'id'. The field 'id' has the
2266 * following description: unique id used by jalview to
2267 * synchronize between stored and
2268 * instantiated views
2271 * @param id the value of field 'id'.
2274 final java.lang.String id) {
2279 * Sets the value of field 'ignoreGapsinConsensus'.
2281 * @param ignoreGapsinConsensus the value of field
2282 * 'ignoreGapsinConsensus'.
2284 public void setIgnoreGapsinConsensus(
2285 final boolean ignoreGapsinConsensus) {
2286 this._ignoreGapsinConsensus = ignoreGapsinConsensus;
2287 this._has_ignoreGapsinConsensus = true;
2291 * Sets the value of field 'normaliseSequenceLogo'.
2293 * @param normaliseSequenceLogo the value of field
2294 * 'normaliseSequenceLogo'.
2296 public void setNormaliseSequenceLogo(
2297 final boolean normaliseSequenceLogo) {
2298 this._normaliseSequenceLogo = normaliseSequenceLogo;
2299 this._has_normaliseSequenceLogo = true;
2303 * Sets the value of field 'pidSelected'.
2305 * @param pidSelected the value of field 'pidSelected'.
2307 public void setPidSelected(
2308 final boolean pidSelected) {
2309 this._pidSelected = pidSelected;
2310 this._has_pidSelected = true;
2314 * Sets the value of field 'pidThreshold'.
2316 * @param pidThreshold the value of field 'pidThreshold'.
2318 public void setPidThreshold(
2319 final int pidThreshold) {
2320 this._pidThreshold = pidThreshold;
2321 this._has_pidThreshold = true;
2325 * Sets the value of field 'renderGaps'.
2327 * @param renderGaps the value of field 'renderGaps'.
2329 public void setRenderGaps(
2330 final boolean renderGaps) {
2331 this._renderGaps = renderGaps;
2332 this._has_renderGaps = true;
2336 * Sets the value of field 'rightAlignIds'.
2338 * @param rightAlignIds the value of field 'rightAlignIds'.
2340 public void setRightAlignIds(
2341 final boolean rightAlignIds) {
2342 this._rightAlignIds = rightAlignIds;
2343 this._has_rightAlignIds = true;
2347 * Sets the value of field 'sequenceSetId'.
2349 * @param sequenceSetId the value of field 'sequenceSetId'.
2351 public void setSequenceSetId(
2352 final java.lang.String sequenceSetId) {
2353 this._sequenceSetId = sequenceSetId;
2357 * Sets the value of field 'showAnnotation'.
2359 * @param showAnnotation the value of field 'showAnnotation'.
2361 public void setShowAnnotation(
2362 final boolean showAnnotation) {
2363 this._showAnnotation = showAnnotation;
2364 this._has_showAnnotation = true;
2368 * Sets the value of field 'showBoxes'.
2370 * @param showBoxes the value of field 'showBoxes'.
2372 public void setShowBoxes(
2373 final boolean showBoxes) {
2374 this._showBoxes = showBoxes;
2375 this._has_showBoxes = true;
2379 * Sets the value of field 'showColourText'.
2381 * @param showColourText the value of field 'showColourText'.
2383 public void setShowColourText(
2384 final boolean showColourText) {
2385 this._showColourText = showColourText;
2386 this._has_showColourText = true;
2390 * Sets the value of field 'showConsensusHistogram'.
2392 * @param showConsensusHistogram the value of field
2393 * 'showConsensusHistogram'.
2395 public void setShowConsensusHistogram(
2396 final boolean showConsensusHistogram) {
2397 this._showConsensusHistogram = showConsensusHistogram;
2398 this._has_showConsensusHistogram = true;
2402 * Sets the value of field 'showDbRefTooltip'.
2404 * @param showDbRefTooltip the value of field 'showDbRefTooltip'
2406 public void setShowDbRefTooltip(
2407 final boolean showDbRefTooltip) {
2408 this._showDbRefTooltip = showDbRefTooltip;
2409 this._has_showDbRefTooltip = true;
2413 * Sets the value of field 'showFullId'.
2415 * @param showFullId the value of field 'showFullId'.
2417 public void setShowFullId(
2418 final boolean showFullId) {
2419 this._showFullId = showFullId;
2420 this._has_showFullId = true;
2424 * Sets the value of field 'showGroupConsensus'.
2426 * @param showGroupConsensus the value of field
2427 * 'showGroupConsensus'.
2429 public void setShowGroupConsensus(
2430 final boolean showGroupConsensus) {
2431 this._showGroupConsensus = showGroupConsensus;
2432 this._has_showGroupConsensus = true;
2436 * Sets the value of field 'showGroupConservation'.
2438 * @param showGroupConservation the value of field
2439 * 'showGroupConservation'.
2441 public void setShowGroupConservation(
2442 final boolean showGroupConservation) {
2443 this._showGroupConservation = showGroupConservation;
2444 this._has_showGroupConservation = true;
2448 * Sets the value of field 'showNPfeatureTooltip'.
2450 * @param showNPfeatureTooltip the value of field
2451 * 'showNPfeatureTooltip'.
2453 public void setShowNPfeatureTooltip(
2454 final boolean showNPfeatureTooltip) {
2455 this._showNPfeatureTooltip = showNPfeatureTooltip;
2456 this._has_showNPfeatureTooltip = true;
2460 * Sets the value of field 'showSequenceFeatures'.
2462 * @param showSequenceFeatures the value of field
2463 * 'showSequenceFeatures'.
2465 public void setShowSequenceFeatures(
2466 final boolean showSequenceFeatures) {
2467 this._showSequenceFeatures = showSequenceFeatures;
2468 this._has_showSequenceFeatures = true;
2472 * Sets the value of field 'showSequenceLogo'.
2474 * @param showSequenceLogo the value of field 'showSequenceLogo'
2476 public void setShowSequenceLogo(
2477 final boolean showSequenceLogo) {
2478 this._showSequenceLogo = showSequenceLogo;
2479 this._has_showSequenceLogo = true;
2483 * Sets the value of field 'showText'.
2485 * @param showText the value of field 'showText'.
2487 public void setShowText(
2488 final boolean showText) {
2489 this._showText = showText;
2490 this._has_showText = true;
2494 * Sets the value of field 'showUnconserved'.
2496 * @param showUnconserved the value of field 'showUnconserved'.
2498 public void setShowUnconserved(
2499 final boolean showUnconserved) {
2500 this._showUnconserved = showUnconserved;
2501 this._has_showUnconserved = true;
2505 * Sets the value of field 'startRes'.
2507 * @param startRes the value of field 'startRes'.
2509 public void setStartRes(
2510 final int startRes) {
2511 this._startRes = startRes;
2512 this._has_startRes = true;
2516 * Sets the value of field 'startSeq'.
2518 * @param startSeq the value of field 'startSeq'.
2520 public void setStartSeq(
2521 final int startSeq) {
2522 this._startSeq = startSeq;
2523 this._has_startSeq = true;
2527 * Sets the value of field 'textCol1'.
2529 * @param textCol1 the value of field 'textCol1'.
2531 public void setTextCol1(
2532 final int textCol1) {
2533 this._textCol1 = textCol1;
2534 this._has_textCol1 = true;
2538 * Sets the value of field 'textCol2'.
2540 * @param textCol2 the value of field 'textCol2'.
2542 public void setTextCol2(
2543 final int textCol2) {
2544 this._textCol2 = textCol2;
2545 this._has_textCol2 = true;
2549 * Sets the value of field 'textColThreshold'.
2551 * @param textColThreshold the value of field 'textColThreshold'
2553 public void setTextColThreshold(
2554 final int textColThreshold) {
2555 this._textColThreshold = textColThreshold;
2556 this._has_textColThreshold = true;
2560 * Sets the value of field 'title'.
2562 * @param title the value of field 'title'.
2564 public void setTitle(
2565 final java.lang.String title) {
2566 this._title = title;
2570 * Sets the value of field 'viewName'.
2572 * @param viewName the value of field 'viewName'.
2574 public void setViewName(
2575 final java.lang.String viewName) {
2576 this._viewName = viewName;
2580 * Sets the value of field 'width'.
2582 * @param width the value of field 'width'.
2584 public void setWidth(
2586 this._width = width;
2587 this._has_width = true;
2591 * Sets the value of field 'wrapAlignment'.
2593 * @param wrapAlignment the value of field 'wrapAlignment'.
2595 public void setWrapAlignment(
2596 final boolean wrapAlignment) {
2597 this._wrapAlignment = wrapAlignment;
2598 this._has_wrapAlignment = true;
2602 * Sets the value of field 'xpos'.
2604 * @param xpos the value of field 'xpos'.
2606 public void setXpos(
2609 this._has_xpos = true;
2613 * Sets the value of field 'ypos'.
2615 * @param ypos the value of field 'ypos'.
2617 public void setYpos(
2620 this._has_ypos = true;
2627 * @throws org.exolab.castor.xml.MarshalException if object is
2628 * null or if any SAXException is thrown during marshaling
2629 * @throws org.exolab.castor.xml.ValidationException if this
2630 * object is an invalid instance according to the schema
2631 * @return the unmarshaled
2632 * jalview.schemabinding.version2.Viewport
2634 public static jalview.schemabinding.version2.Viewport unmarshal(
2635 final java.io.Reader reader)
2636 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
2637 return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(jalview.schemabinding.version2.Viewport.class, reader);
2643 * @throws org.exolab.castor.xml.ValidationException if this
2644 * object is an invalid instance according to the schema
2646 public void validate(
2648 throws org.exolab.castor.xml.ValidationException {
2649 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
2650 validator.validate(this);