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;
393 * The viewport id of this viewport's (cdna/protein) coding
397 private java.lang.String _complementId;
405 * keeps track of state for field: _width
407 private boolean _has_width;
415 * keeps track of state for field: _height
417 private boolean _has_height;
425 * keeps track of state for field: _xpos
427 private boolean _has_xpos;
435 * keeps track of state for field: _ypos
437 private boolean _has_ypos;
440 * Field _annotationColours.
442 private jalview.schemabinding.version2.AnnotationColours _annotationColours;
445 * Field _hiddenColumnsList.
447 private java.util.Vector _hiddenColumnsList;
450 * Field _calcIdParamList.
452 private java.util.Vector _calcIdParamList;
461 this._hiddenColumnsList = new java.util.Vector();
462 this._calcIdParamList = new java.util.Vector();
473 * @param vCalcIdParam
474 * @throws java.lang.IndexOutOfBoundsException if the index
475 * given is outside the bounds of the collection
477 public void addCalcIdParam(
478 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
479 throws java.lang.IndexOutOfBoundsException {
480 this._calcIdParamList.addElement(vCalcIdParam);
487 * @param vCalcIdParam
488 * @throws java.lang.IndexOutOfBoundsException if the index
489 * given is outside the bounds of the collection
491 public void addCalcIdParam(
493 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
494 throws java.lang.IndexOutOfBoundsException {
495 this._calcIdParamList.add(index, vCalcIdParam);
501 * @param vHiddenColumns
502 * @throws java.lang.IndexOutOfBoundsException if the index
503 * given is outside the bounds of the collection
505 public void addHiddenColumns(
506 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
507 throws java.lang.IndexOutOfBoundsException {
508 this._hiddenColumnsList.addElement(vHiddenColumns);
515 * @param vHiddenColumns
516 * @throws java.lang.IndexOutOfBoundsException if the index
517 * given is outside the bounds of the collection
519 public void addHiddenColumns(
521 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
522 throws java.lang.IndexOutOfBoundsException {
523 this._hiddenColumnsList.add(index, vHiddenColumns);
528 public void deleteCentreColumnLabels(
530 this._has_centreColumnLabels= false;
535 public void deleteConsThreshold(
537 this._has_consThreshold= false;
542 public void deleteConservationSelected(
544 this._has_conservationSelected= false;
549 public void deleteFollowHighlight(
551 this._has_followHighlight= false;
556 public void deleteFollowSelection(
558 this._has_followSelection= false;
563 public void deleteFontSize(
565 this._has_fontSize= false;
570 public void deleteFontStyle(
572 this._has_fontStyle= false;
577 public void deleteGatheredViews(
579 this._has_gatheredViews= false;
584 public void deleteHeight(
586 this._has_height= false;
591 public void deleteIgnoreGapsinConsensus(
593 this._has_ignoreGapsinConsensus= false;
598 public void deleteNormaliseSequenceLogo(
600 this._has_normaliseSequenceLogo= false;
605 public void deletePidSelected(
607 this._has_pidSelected= false;
612 public void deletePidThreshold(
614 this._has_pidThreshold= false;
619 public void deleteRenderGaps(
621 this._has_renderGaps= false;
626 public void deleteRightAlignIds(
628 this._has_rightAlignIds= false;
633 public void deleteShowAnnotation(
635 this._has_showAnnotation= false;
640 public void deleteShowBoxes(
642 this._has_showBoxes= false;
647 public void deleteShowColourText(
649 this._has_showColourText= false;
654 public void deleteShowConsensusHistogram(
656 this._has_showConsensusHistogram= false;
661 public void deleteShowDbRefTooltip(
663 this._has_showDbRefTooltip= false;
668 public void deleteShowFullId(
670 this._has_showFullId= false;
675 public void deleteShowGroupConsensus(
677 this._has_showGroupConsensus= false;
682 public void deleteShowGroupConservation(
684 this._has_showGroupConservation= false;
689 public void deleteShowNPfeatureTooltip(
691 this._has_showNPfeatureTooltip= false;
696 public void deleteShowSequenceFeatures(
698 this._has_showSequenceFeatures= false;
703 public void deleteShowSequenceLogo(
705 this._has_showSequenceLogo= false;
710 public void deleteShowText(
712 this._has_showText= false;
717 public void deleteShowUnconserved(
719 this._has_showUnconserved= false;
724 public void deleteStartRes(
726 this._has_startRes= false;
731 public void deleteStartSeq(
733 this._has_startSeq= false;
738 public void deleteTextCol1(
740 this._has_textCol1= false;
745 public void deleteTextCol2(
747 this._has_textCol2= false;
752 public void deleteTextColThreshold(
754 this._has_textColThreshold= false;
759 public void deleteWidth(
761 this._has_width= false;
766 public void deleteWrapAlignment(
768 this._has_wrapAlignment= false;
773 public void deleteXpos(
775 this._has_xpos= false;
780 public void deleteYpos(
782 this._has_ypos= false;
786 * Method enumerateCalcIdParam.
788 * @return an Enumeration over all
789 * jalview.schemabinding.version2.CalcIdParam elements
791 public java.util.Enumeration enumerateCalcIdParam(
793 return this._calcIdParamList.elements();
797 * Method enumerateHiddenColumns.
799 * @return an Enumeration over all
800 * jalview.schemabinding.version2.HiddenColumns elements
802 public java.util.Enumeration enumerateHiddenColumns(
804 return this._hiddenColumnsList.elements();
808 * Returns the value of field 'annotationColours'.
810 * @return the value of field 'AnnotationColours'.
812 public jalview.schemabinding.version2.AnnotationColours getAnnotationColours(
814 return this._annotationColours;
818 * Returns the value of field 'bgColour'.
820 * @return the value of field 'BgColour'.
822 public java.lang.String getBgColour(
824 return this._bgColour;
828 * Method getCalcIdParam.
831 * @throws java.lang.IndexOutOfBoundsException if the index
832 * given is outside the bounds of the collection
833 * @return the value of the
834 * jalview.schemabinding.version2.CalcIdParam at the given index
836 public jalview.schemabinding.version2.CalcIdParam getCalcIdParam(
838 throws java.lang.IndexOutOfBoundsException {
839 // check bounds for index
840 if (index < 0 || index >= this._calcIdParamList.size()) {
841 throw new IndexOutOfBoundsException("getCalcIdParam: Index value '" + index + "' not in range [0.." + (this._calcIdParamList.size() - 1) + "]");
844 return (jalview.schemabinding.version2.CalcIdParam) _calcIdParamList.get(index);
848 * Method getCalcIdParam.Returns the contents of the collection
849 * in an Array. <p>Note: Just in case the collection contents
850 * are changing in another thread, we pass a 0-length Array of
851 * the correct type into the API call. This way we <i>know</i>
852 * that the Array returned is of exactly the correct length.
854 * @return this collection as an Array
856 public jalview.schemabinding.version2.CalcIdParam[] getCalcIdParam(
858 jalview.schemabinding.version2.CalcIdParam[] array = new jalview.schemabinding.version2.CalcIdParam[0];
859 return (jalview.schemabinding.version2.CalcIdParam[]) this._calcIdParamList.toArray(array);
863 * Method getCalcIdParamCount.
865 * @return the size of this collection
867 public int getCalcIdParamCount(
869 return this._calcIdParamList.size();
873 * Returns the value of field 'centreColumnLabels'.
875 * @return the value of field 'CentreColumnLabels'.
877 public boolean getCentreColumnLabels(
879 return this._centreColumnLabels;
883 * Returns the value of field 'complementId'. The field
884 * 'complementId' has the following description: The viewport
885 * id of this viewport's (cdna/protein) coding complement, if
889 * @return the value of field 'ComplementId'.
891 public java.lang.String getComplementId(
893 return this._complementId;
897 * Returns the value of field 'consThreshold'.
899 * @return the value of field 'ConsThreshold'.
901 public int getConsThreshold(
903 return this._consThreshold;
907 * Returns the value of field 'conservationSelected'.
909 * @return the value of field 'ConservationSelected'.
911 public boolean getConservationSelected(
913 return this._conservationSelected;
917 * Returns the value of field 'followHighlight'.
919 * @return the value of field 'FollowHighlight'.
921 public boolean getFollowHighlight(
923 return this._followHighlight;
927 * Returns the value of field 'followSelection'.
929 * @return the value of field 'FollowSelection'.
931 public boolean getFollowSelection(
933 return this._followSelection;
937 * Returns the value of field 'fontName'.
939 * @return the value of field 'FontName'.
941 public java.lang.String getFontName(
943 return this._fontName;
947 * Returns the value of field 'fontSize'.
949 * @return the value of field 'FontSize'.
951 public int getFontSize(
953 return this._fontSize;
957 * Returns the value of field 'fontStyle'.
959 * @return the value of field 'FontStyle'.
961 public int getFontStyle(
963 return this._fontStyle;
967 * Returns the value of field 'gatheredViews'.
969 * @return the value of field 'GatheredViews'.
971 public boolean getGatheredViews(
973 return this._gatheredViews;
977 * Returns the value of field 'height'.
979 * @return the value of field 'Height'.
981 public int getHeight(
987 * Method getHiddenColumns.
990 * @throws java.lang.IndexOutOfBoundsException if the index
991 * given is outside the bounds of the collection
992 * @return the value of the
993 * jalview.schemabinding.version2.HiddenColumns at the given
996 public jalview.schemabinding.version2.HiddenColumns getHiddenColumns(
998 throws java.lang.IndexOutOfBoundsException {
999 // check bounds for index
1000 if (index < 0 || index >= this._hiddenColumnsList.size()) {
1001 throw new IndexOutOfBoundsException("getHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
1004 return (jalview.schemabinding.version2.HiddenColumns) _hiddenColumnsList.get(index);
1008 * Method getHiddenColumns.Returns the contents of the
1009 * collection in an Array. <p>Note: Just in case the
1010 * collection contents are changing in another thread, we pass
1011 * a 0-length Array of the correct type into the API call.
1012 * This way we <i>know</i> that the Array returned is of
1013 * exactly the correct length.
1015 * @return this collection as an Array
1017 public jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns(
1019 jalview.schemabinding.version2.HiddenColumns[] array = new jalview.schemabinding.version2.HiddenColumns[0];
1020 return (jalview.schemabinding.version2.HiddenColumns[]) this._hiddenColumnsList.toArray(array);
1024 * Method getHiddenColumnsCount.
1026 * @return the size of this collection
1028 public int getHiddenColumnsCount(
1030 return this._hiddenColumnsList.size();
1034 * Returns the value of field 'id'. The field 'id' has the
1035 * following description: unique id used by jalview to
1036 * synchronize between stored and
1037 * instantiated views
1040 * @return the value of field 'Id'.
1042 public java.lang.String getId(
1048 * Returns the value of field 'ignoreGapsinConsensus'.
1050 * @return the value of field 'IgnoreGapsinConsensus'.
1052 public boolean getIgnoreGapsinConsensus(
1054 return this._ignoreGapsinConsensus;
1058 * Returns the value of field 'normaliseSequenceLogo'.
1060 * @return the value of field 'NormaliseSequenceLogo'.
1062 public boolean getNormaliseSequenceLogo(
1064 return this._normaliseSequenceLogo;
1068 * Returns the value of field 'pidSelected'.
1070 * @return the value of field 'PidSelected'.
1072 public boolean getPidSelected(
1074 return this._pidSelected;
1078 * Returns the value of field 'pidThreshold'.
1080 * @return the value of field 'PidThreshold'.
1082 public int getPidThreshold(
1084 return this._pidThreshold;
1088 * Returns the value of field 'renderGaps'.
1090 * @return the value of field 'RenderGaps'.
1092 public boolean getRenderGaps(
1094 return this._renderGaps;
1098 * Returns the value of field 'rightAlignIds'.
1100 * @return the value of field 'RightAlignIds'.
1102 public boolean getRightAlignIds(
1104 return this._rightAlignIds;
1108 * Returns the value of field 'sequenceSetId'.
1110 * @return the value of field 'SequenceSetId'.
1112 public java.lang.String getSequenceSetId(
1114 return this._sequenceSetId;
1118 * Returns the value of field 'showAnnotation'.
1120 * @return the value of field 'ShowAnnotation'.
1122 public boolean getShowAnnotation(
1124 return this._showAnnotation;
1128 * Returns the value of field 'showBoxes'.
1130 * @return the value of field 'ShowBoxes'.
1132 public boolean getShowBoxes(
1134 return this._showBoxes;
1138 * Returns the value of field 'showColourText'.
1140 * @return the value of field 'ShowColourText'.
1142 public boolean getShowColourText(
1144 return this._showColourText;
1148 * Returns the value of field 'showConsensusHistogram'.
1150 * @return the value of field 'ShowConsensusHistogram'.
1152 public boolean getShowConsensusHistogram(
1154 return this._showConsensusHistogram;
1158 * Returns the value of field 'showDbRefTooltip'.
1160 * @return the value of field 'ShowDbRefTooltip'.
1162 public boolean getShowDbRefTooltip(
1164 return this._showDbRefTooltip;
1168 * Returns the value of field 'showFullId'.
1170 * @return the value of field 'ShowFullId'.
1172 public boolean getShowFullId(
1174 return this._showFullId;
1178 * Returns the value of field 'showGroupConsensus'.
1180 * @return the value of field 'ShowGroupConsensus'.
1182 public boolean getShowGroupConsensus(
1184 return this._showGroupConsensus;
1188 * Returns the value of field 'showGroupConservation'.
1190 * @return the value of field 'ShowGroupConservation'.
1192 public boolean getShowGroupConservation(
1194 return this._showGroupConservation;
1198 * Returns the value of field 'showNPfeatureTooltip'.
1200 * @return the value of field 'ShowNPfeatureTooltip'.
1202 public boolean getShowNPfeatureTooltip(
1204 return this._showNPfeatureTooltip;
1208 * Returns the value of field 'showSequenceFeatures'.
1210 * @return the value of field 'ShowSequenceFeatures'.
1212 public boolean getShowSequenceFeatures(
1214 return this._showSequenceFeatures;
1218 * Returns the value of field 'showSequenceLogo'.
1220 * @return the value of field 'ShowSequenceLogo'.
1222 public boolean getShowSequenceLogo(
1224 return this._showSequenceLogo;
1228 * Returns the value of field 'showText'.
1230 * @return the value of field 'ShowText'.
1232 public boolean getShowText(
1234 return this._showText;
1238 * Returns the value of field 'showUnconserved'.
1240 * @return the value of field 'ShowUnconserved'.
1242 public boolean getShowUnconserved(
1244 return this._showUnconserved;
1248 * Returns the value of field 'startRes'.
1250 * @return the value of field 'StartRes'.
1252 public int getStartRes(
1254 return this._startRes;
1258 * Returns the value of field 'startSeq'.
1260 * @return the value of field 'StartSeq'.
1262 public int getStartSeq(
1264 return this._startSeq;
1268 * Returns the value of field 'textCol1'.
1270 * @return the value of field 'TextCol1'.
1272 public int getTextCol1(
1274 return this._textCol1;
1278 * Returns the value of field 'textCol2'.
1280 * @return the value of field 'TextCol2'.
1282 public int getTextCol2(
1284 return this._textCol2;
1288 * Returns the value of field 'textColThreshold'.
1290 * @return the value of field 'TextColThreshold'.
1292 public int getTextColThreshold(
1294 return this._textColThreshold;
1298 * Returns the value of field 'title'.
1300 * @return the value of field 'Title'.
1302 public java.lang.String getTitle(
1308 * Returns the value of field 'viewName'.
1310 * @return the value of field 'ViewName'.
1312 public java.lang.String getViewName(
1314 return this._viewName;
1318 * Returns the value of field 'width'.
1320 * @return the value of field 'Width'.
1322 public int getWidth(
1328 * Returns the value of field 'wrapAlignment'.
1330 * @return the value of field 'WrapAlignment'.
1332 public boolean getWrapAlignment(
1334 return this._wrapAlignment;
1338 * Returns the value of field 'xpos'.
1340 * @return the value of field 'Xpos'.
1348 * Returns the value of field 'ypos'.
1350 * @return the value of field 'Ypos'.
1358 * Method hasCentreColumnLabels.
1360 * @return true if at least one CentreColumnLabels has been adde
1362 public boolean hasCentreColumnLabels(
1364 return this._has_centreColumnLabels;
1368 * Method hasConsThreshold.
1370 * @return true if at least one ConsThreshold has been added
1372 public boolean hasConsThreshold(
1374 return this._has_consThreshold;
1378 * Method hasConservationSelected.
1380 * @return true if at least one ConservationSelected has been
1383 public boolean hasConservationSelected(
1385 return this._has_conservationSelected;
1389 * Method hasFollowHighlight.
1391 * @return true if at least one FollowHighlight has been added
1393 public boolean hasFollowHighlight(
1395 return this._has_followHighlight;
1399 * Method hasFollowSelection.
1401 * @return true if at least one FollowSelection has been added
1403 public boolean hasFollowSelection(
1405 return this._has_followSelection;
1409 * Method hasFontSize.
1411 * @return true if at least one FontSize has been added
1413 public boolean hasFontSize(
1415 return this._has_fontSize;
1419 * Method hasFontStyle.
1421 * @return true if at least one FontStyle has been added
1423 public boolean hasFontStyle(
1425 return this._has_fontStyle;
1429 * Method hasGatheredViews.
1431 * @return true if at least one GatheredViews has been added
1433 public boolean hasGatheredViews(
1435 return this._has_gatheredViews;
1441 * @return true if at least one Height has been added
1443 public boolean hasHeight(
1445 return this._has_height;
1449 * Method hasIgnoreGapsinConsensus.
1451 * @return true if at least one IgnoreGapsinConsensus has been
1454 public boolean hasIgnoreGapsinConsensus(
1456 return this._has_ignoreGapsinConsensus;
1460 * Method hasNormaliseSequenceLogo.
1462 * @return true if at least one NormaliseSequenceLogo has been
1465 public boolean hasNormaliseSequenceLogo(
1467 return this._has_normaliseSequenceLogo;
1471 * Method hasPidSelected.
1473 * @return true if at least one PidSelected has been added
1475 public boolean hasPidSelected(
1477 return this._has_pidSelected;
1481 * Method hasPidThreshold.
1483 * @return true if at least one PidThreshold has been added
1485 public boolean hasPidThreshold(
1487 return this._has_pidThreshold;
1491 * Method hasRenderGaps.
1493 * @return true if at least one RenderGaps has been added
1495 public boolean hasRenderGaps(
1497 return this._has_renderGaps;
1501 * Method hasRightAlignIds.
1503 * @return true if at least one RightAlignIds has been added
1505 public boolean hasRightAlignIds(
1507 return this._has_rightAlignIds;
1511 * Method hasShowAnnotation.
1513 * @return true if at least one ShowAnnotation has been added
1515 public boolean hasShowAnnotation(
1517 return this._has_showAnnotation;
1521 * Method hasShowBoxes.
1523 * @return true if at least one ShowBoxes has been added
1525 public boolean hasShowBoxes(
1527 return this._has_showBoxes;
1531 * Method hasShowColourText.
1533 * @return true if at least one ShowColourText has been added
1535 public boolean hasShowColourText(
1537 return this._has_showColourText;
1541 * Method hasShowConsensusHistogram.
1543 * @return true if at least one ShowConsensusHistogram has been
1546 public boolean hasShowConsensusHistogram(
1548 return this._has_showConsensusHistogram;
1552 * Method hasShowDbRefTooltip.
1554 * @return true if at least one ShowDbRefTooltip has been added
1556 public boolean hasShowDbRefTooltip(
1558 return this._has_showDbRefTooltip;
1562 * Method hasShowFullId.
1564 * @return true if at least one ShowFullId has been added
1566 public boolean hasShowFullId(
1568 return this._has_showFullId;
1572 * Method hasShowGroupConsensus.
1574 * @return true if at least one ShowGroupConsensus has been adde
1576 public boolean hasShowGroupConsensus(
1578 return this._has_showGroupConsensus;
1582 * Method hasShowGroupConservation.
1584 * @return true if at least one ShowGroupConservation has been
1587 public boolean hasShowGroupConservation(
1589 return this._has_showGroupConservation;
1593 * Method hasShowNPfeatureTooltip.
1595 * @return true if at least one ShowNPfeatureTooltip has been
1598 public boolean hasShowNPfeatureTooltip(
1600 return this._has_showNPfeatureTooltip;
1604 * Method hasShowSequenceFeatures.
1606 * @return true if at least one ShowSequenceFeatures has been
1609 public boolean hasShowSequenceFeatures(
1611 return this._has_showSequenceFeatures;
1615 * Method hasShowSequenceLogo.
1617 * @return true if at least one ShowSequenceLogo has been added
1619 public boolean hasShowSequenceLogo(
1621 return this._has_showSequenceLogo;
1625 * Method hasShowText.
1627 * @return true if at least one ShowText has been added
1629 public boolean hasShowText(
1631 return this._has_showText;
1635 * Method hasShowUnconserved.
1637 * @return true if at least one ShowUnconserved has been added
1639 public boolean hasShowUnconserved(
1641 return this._has_showUnconserved;
1645 * Method hasStartRes.
1647 * @return true if at least one StartRes has been added
1649 public boolean hasStartRes(
1651 return this._has_startRes;
1655 * Method hasStartSeq.
1657 * @return true if at least one StartSeq has been added
1659 public boolean hasStartSeq(
1661 return this._has_startSeq;
1665 * Method hasTextCol1.
1667 * @return true if at least one TextCol1 has been added
1669 public boolean hasTextCol1(
1671 return this._has_textCol1;
1675 * Method hasTextCol2.
1677 * @return true if at least one TextCol2 has been added
1679 public boolean hasTextCol2(
1681 return this._has_textCol2;
1685 * Method hasTextColThreshold.
1687 * @return true if at least one TextColThreshold has been added
1689 public boolean hasTextColThreshold(
1691 return this._has_textColThreshold;
1697 * @return true if at least one Width has been added
1699 public boolean hasWidth(
1701 return this._has_width;
1705 * Method hasWrapAlignment.
1707 * @return true if at least one WrapAlignment has been added
1709 public boolean hasWrapAlignment(
1711 return this._has_wrapAlignment;
1717 * @return true if at least one Xpos has been added
1719 public boolean hasXpos(
1721 return this._has_xpos;
1727 * @return true if at least one Ypos has been added
1729 public boolean hasYpos(
1731 return this._has_ypos;
1735 * Returns the value of field 'centreColumnLabels'.
1737 * @return the value of field 'CentreColumnLabels'.
1739 public boolean isCentreColumnLabels(
1741 return this._centreColumnLabels;
1745 * Returns the value of field 'conservationSelected'.
1747 * @return the value of field 'ConservationSelected'.
1749 public boolean isConservationSelected(
1751 return this._conservationSelected;
1755 * Returns the value of field 'followHighlight'.
1757 * @return the value of field 'FollowHighlight'.
1759 public boolean isFollowHighlight(
1761 return this._followHighlight;
1765 * Returns the value of field 'followSelection'.
1767 * @return the value of field 'FollowSelection'.
1769 public boolean isFollowSelection(
1771 return this._followSelection;
1775 * Returns the value of field 'gatheredViews'.
1777 * @return the value of field 'GatheredViews'.
1779 public boolean isGatheredViews(
1781 return this._gatheredViews;
1785 * Returns the value of field 'ignoreGapsinConsensus'.
1787 * @return the value of field 'IgnoreGapsinConsensus'.
1789 public boolean isIgnoreGapsinConsensus(
1791 return this._ignoreGapsinConsensus;
1795 * Returns the value of field 'normaliseSequenceLogo'.
1797 * @return the value of field 'NormaliseSequenceLogo'.
1799 public boolean isNormaliseSequenceLogo(
1801 return this._normaliseSequenceLogo;
1805 * Returns the value of field 'pidSelected'.
1807 * @return the value of field 'PidSelected'.
1809 public boolean isPidSelected(
1811 return this._pidSelected;
1815 * Returns the value of field 'renderGaps'.
1817 * @return the value of field 'RenderGaps'.
1819 public boolean isRenderGaps(
1821 return this._renderGaps;
1825 * Returns the value of field 'rightAlignIds'.
1827 * @return the value of field 'RightAlignIds'.
1829 public boolean isRightAlignIds(
1831 return this._rightAlignIds;
1835 * Returns the value of field 'showAnnotation'.
1837 * @return the value of field 'ShowAnnotation'.
1839 public boolean isShowAnnotation(
1841 return this._showAnnotation;
1845 * Returns the value of field 'showBoxes'.
1847 * @return the value of field 'ShowBoxes'.
1849 public boolean isShowBoxes(
1851 return this._showBoxes;
1855 * Returns the value of field 'showColourText'.
1857 * @return the value of field 'ShowColourText'.
1859 public boolean isShowColourText(
1861 return this._showColourText;
1865 * Returns the value of field 'showConsensusHistogram'.
1867 * @return the value of field 'ShowConsensusHistogram'.
1869 public boolean isShowConsensusHistogram(
1871 return this._showConsensusHistogram;
1875 * Returns the value of field 'showDbRefTooltip'.
1877 * @return the value of field 'ShowDbRefTooltip'.
1879 public boolean isShowDbRefTooltip(
1881 return this._showDbRefTooltip;
1885 * Returns the value of field 'showFullId'.
1887 * @return the value of field 'ShowFullId'.
1889 public boolean isShowFullId(
1891 return this._showFullId;
1895 * Returns the value of field 'showGroupConsensus'.
1897 * @return the value of field 'ShowGroupConsensus'.
1899 public boolean isShowGroupConsensus(
1901 return this._showGroupConsensus;
1905 * Returns the value of field 'showGroupConservation'.
1907 * @return the value of field 'ShowGroupConservation'.
1909 public boolean isShowGroupConservation(
1911 return this._showGroupConservation;
1915 * Returns the value of field 'showNPfeatureTooltip'.
1917 * @return the value of field 'ShowNPfeatureTooltip'.
1919 public boolean isShowNPfeatureTooltip(
1921 return this._showNPfeatureTooltip;
1925 * Returns the value of field 'showSequenceFeatures'.
1927 * @return the value of field 'ShowSequenceFeatures'.
1929 public boolean isShowSequenceFeatures(
1931 return this._showSequenceFeatures;
1935 * Returns the value of field 'showSequenceLogo'.
1937 * @return the value of field 'ShowSequenceLogo'.
1939 public boolean isShowSequenceLogo(
1941 return this._showSequenceLogo;
1945 * Returns the value of field 'showText'.
1947 * @return the value of field 'ShowText'.
1949 public boolean isShowText(
1951 return this._showText;
1955 * Returns the value of field 'showUnconserved'.
1957 * @return the value of field 'ShowUnconserved'.
1959 public boolean isShowUnconserved(
1961 return this._showUnconserved;
1967 * @return true if this object is valid according to the schema
1969 public boolean isValid(
1973 } catch (org.exolab.castor.xml.ValidationException vex) {
1980 * Returns the value of field 'wrapAlignment'.
1982 * @return the value of field 'WrapAlignment'.
1984 public boolean isWrapAlignment(
1986 return this._wrapAlignment;
1993 * @throws org.exolab.castor.xml.MarshalException if object is
1994 * null or if any SAXException is thrown during marshaling
1995 * @throws org.exolab.castor.xml.ValidationException if this
1996 * object is an invalid instance according to the schema
1998 public void marshal(
1999 final java.io.Writer out)
2000 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
2001 Marshaller.marshal(this, out);
2008 * @throws java.io.IOException if an IOException occurs during
2010 * @throws org.exolab.castor.xml.ValidationException if this
2011 * object is an invalid instance according to the schema
2012 * @throws org.exolab.castor.xml.MarshalException if object is
2013 * null or if any SAXException is thrown during marshaling
2015 public void marshal(
2016 final org.xml.sax.ContentHandler handler)
2017 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
2018 Marshaller.marshal(this, handler);
2023 public void removeAllCalcIdParam(
2025 this._calcIdParamList.clear();
2030 public void removeAllHiddenColumns(
2032 this._hiddenColumnsList.clear();
2036 * Method removeCalcIdParam.
2038 * @param vCalcIdParam
2039 * @return true if the object was removed from the collection.
2041 public boolean removeCalcIdParam(
2042 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam) {
2043 boolean removed = _calcIdParamList.remove(vCalcIdParam);
2048 * Method removeCalcIdParamAt.
2051 * @return the element removed from the collection
2053 public jalview.schemabinding.version2.CalcIdParam removeCalcIdParamAt(
2055 java.lang.Object obj = this._calcIdParamList.remove(index);
2056 return (jalview.schemabinding.version2.CalcIdParam) obj;
2060 * Method removeHiddenColumns.
2062 * @param vHiddenColumns
2063 * @return true if the object was removed from the collection.
2065 public boolean removeHiddenColumns(
2066 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns) {
2067 boolean removed = _hiddenColumnsList.remove(vHiddenColumns);
2072 * Method removeHiddenColumnsAt.
2075 * @return the element removed from the collection
2077 public jalview.schemabinding.version2.HiddenColumns removeHiddenColumnsAt(
2079 java.lang.Object obj = this._hiddenColumnsList.remove(index);
2080 return (jalview.schemabinding.version2.HiddenColumns) obj;
2084 * Sets the value of field 'annotationColours'.
2086 * @param annotationColours the value of field
2087 * 'annotationColours'.
2089 public void setAnnotationColours(
2090 final jalview.schemabinding.version2.AnnotationColours annotationColours) {
2091 this._annotationColours = annotationColours;
2095 * Sets the value of field 'bgColour'.
2097 * @param bgColour the value of field 'bgColour'.
2099 public void setBgColour(
2100 final java.lang.String bgColour) {
2101 this._bgColour = bgColour;
2108 * @param vCalcIdParam
2109 * @throws java.lang.IndexOutOfBoundsException if the index
2110 * given is outside the bounds of the collection
2112 public void setCalcIdParam(
2114 final jalview.schemabinding.version2.CalcIdParam vCalcIdParam)
2115 throws java.lang.IndexOutOfBoundsException {
2116 // check bounds for index
2117 if (index < 0 || index >= this._calcIdParamList.size()) {
2118 throw new IndexOutOfBoundsException("setCalcIdParam: Index value '" + index + "' not in range [0.." + (this._calcIdParamList.size() - 1) + "]");
2121 this._calcIdParamList.set(index, vCalcIdParam);
2127 * @param vCalcIdParamArray
2129 public void setCalcIdParam(
2130 final jalview.schemabinding.version2.CalcIdParam[] vCalcIdParamArray) {
2132 _calcIdParamList.clear();
2134 for (int i = 0; i < vCalcIdParamArray.length; i++) {
2135 this._calcIdParamList.add(vCalcIdParamArray[i]);
2140 * Sets the value of field 'centreColumnLabels'.
2142 * @param centreColumnLabels the value of field
2143 * 'centreColumnLabels'.
2145 public void setCentreColumnLabels(
2146 final boolean centreColumnLabels) {
2147 this._centreColumnLabels = centreColumnLabels;
2148 this._has_centreColumnLabels = true;
2152 * Sets the value of field 'complementId'. The field
2153 * 'complementId' has the following description: The viewport
2154 * id of this viewport's (cdna/protein) coding complement, if
2158 * @param complementId the value of field 'complementId'.
2160 public void setComplementId(
2161 final java.lang.String complementId) {
2162 this._complementId = complementId;
2166 * Sets the value of field 'consThreshold'.
2168 * @param consThreshold the value of field 'consThreshold'.
2170 public void setConsThreshold(
2171 final int consThreshold) {
2172 this._consThreshold = consThreshold;
2173 this._has_consThreshold = true;
2177 * Sets the value of field 'conservationSelected'.
2179 * @param conservationSelected the value of field
2180 * 'conservationSelected'.
2182 public void setConservationSelected(
2183 final boolean conservationSelected) {
2184 this._conservationSelected = conservationSelected;
2185 this._has_conservationSelected = true;
2189 * Sets the value of field 'followHighlight'.
2191 * @param followHighlight the value of field 'followHighlight'.
2193 public void setFollowHighlight(
2194 final boolean followHighlight) {
2195 this._followHighlight = followHighlight;
2196 this._has_followHighlight = true;
2200 * Sets the value of field 'followSelection'.
2202 * @param followSelection the value of field 'followSelection'.
2204 public void setFollowSelection(
2205 final boolean followSelection) {
2206 this._followSelection = followSelection;
2207 this._has_followSelection = true;
2211 * Sets the value of field 'fontName'.
2213 * @param fontName the value of field 'fontName'.
2215 public void setFontName(
2216 final java.lang.String fontName) {
2217 this._fontName = fontName;
2221 * Sets the value of field 'fontSize'.
2223 * @param fontSize the value of field 'fontSize'.
2225 public void setFontSize(
2226 final int fontSize) {
2227 this._fontSize = fontSize;
2228 this._has_fontSize = true;
2232 * Sets the value of field 'fontStyle'.
2234 * @param fontStyle the value of field 'fontStyle'.
2236 public void setFontStyle(
2237 final int fontStyle) {
2238 this._fontStyle = fontStyle;
2239 this._has_fontStyle = true;
2243 * Sets the value of field 'gatheredViews'.
2245 * @param gatheredViews the value of field 'gatheredViews'.
2247 public void setGatheredViews(
2248 final boolean gatheredViews) {
2249 this._gatheredViews = gatheredViews;
2250 this._has_gatheredViews = true;
2254 * Sets the value of field 'height'.
2256 * @param height the value of field 'height'.
2258 public void setHeight(
2260 this._height = height;
2261 this._has_height = true;
2268 * @param vHiddenColumns
2269 * @throws java.lang.IndexOutOfBoundsException if the index
2270 * given is outside the bounds of the collection
2272 public void setHiddenColumns(
2274 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
2275 throws java.lang.IndexOutOfBoundsException {
2276 // check bounds for index
2277 if (index < 0 || index >= this._hiddenColumnsList.size()) {
2278 throw new IndexOutOfBoundsException("setHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
2281 this._hiddenColumnsList.set(index, vHiddenColumns);
2287 * @param vHiddenColumnsArray
2289 public void setHiddenColumns(
2290 final jalview.schemabinding.version2.HiddenColumns[] vHiddenColumnsArray) {
2292 _hiddenColumnsList.clear();
2294 for (int i = 0; i < vHiddenColumnsArray.length; i++) {
2295 this._hiddenColumnsList.add(vHiddenColumnsArray[i]);
2300 * Sets the value of field 'id'. The field 'id' has the
2301 * following description: unique id used by jalview to
2302 * synchronize between stored and
2303 * instantiated views
2306 * @param id the value of field 'id'.
2309 final java.lang.String id) {
2314 * Sets the value of field 'ignoreGapsinConsensus'.
2316 * @param ignoreGapsinConsensus the value of field
2317 * 'ignoreGapsinConsensus'.
2319 public void setIgnoreGapsinConsensus(
2320 final boolean ignoreGapsinConsensus) {
2321 this._ignoreGapsinConsensus = ignoreGapsinConsensus;
2322 this._has_ignoreGapsinConsensus = true;
2326 * Sets the value of field 'normaliseSequenceLogo'.
2328 * @param normaliseSequenceLogo the value of field
2329 * 'normaliseSequenceLogo'.
2331 public void setNormaliseSequenceLogo(
2332 final boolean normaliseSequenceLogo) {
2333 this._normaliseSequenceLogo = normaliseSequenceLogo;
2334 this._has_normaliseSequenceLogo = true;
2338 * Sets the value of field 'pidSelected'.
2340 * @param pidSelected the value of field 'pidSelected'.
2342 public void setPidSelected(
2343 final boolean pidSelected) {
2344 this._pidSelected = pidSelected;
2345 this._has_pidSelected = true;
2349 * Sets the value of field 'pidThreshold'.
2351 * @param pidThreshold the value of field 'pidThreshold'.
2353 public void setPidThreshold(
2354 final int pidThreshold) {
2355 this._pidThreshold = pidThreshold;
2356 this._has_pidThreshold = true;
2360 * Sets the value of field 'renderGaps'.
2362 * @param renderGaps the value of field 'renderGaps'.
2364 public void setRenderGaps(
2365 final boolean renderGaps) {
2366 this._renderGaps = renderGaps;
2367 this._has_renderGaps = true;
2371 * Sets the value of field 'rightAlignIds'.
2373 * @param rightAlignIds the value of field 'rightAlignIds'.
2375 public void setRightAlignIds(
2376 final boolean rightAlignIds) {
2377 this._rightAlignIds = rightAlignIds;
2378 this._has_rightAlignIds = true;
2382 * Sets the value of field 'sequenceSetId'.
2384 * @param sequenceSetId the value of field 'sequenceSetId'.
2386 public void setSequenceSetId(
2387 final java.lang.String sequenceSetId) {
2388 this._sequenceSetId = sequenceSetId;
2392 * Sets the value of field 'showAnnotation'.
2394 * @param showAnnotation the value of field 'showAnnotation'.
2396 public void setShowAnnotation(
2397 final boolean showAnnotation) {
2398 this._showAnnotation = showAnnotation;
2399 this._has_showAnnotation = true;
2403 * Sets the value of field 'showBoxes'.
2405 * @param showBoxes the value of field 'showBoxes'.
2407 public void setShowBoxes(
2408 final boolean showBoxes) {
2409 this._showBoxes = showBoxes;
2410 this._has_showBoxes = true;
2414 * Sets the value of field 'showColourText'.
2416 * @param showColourText the value of field 'showColourText'.
2418 public void setShowColourText(
2419 final boolean showColourText) {
2420 this._showColourText = showColourText;
2421 this._has_showColourText = true;
2425 * Sets the value of field 'showConsensusHistogram'.
2427 * @param showConsensusHistogram the value of field
2428 * 'showConsensusHistogram'.
2430 public void setShowConsensusHistogram(
2431 final boolean showConsensusHistogram) {
2432 this._showConsensusHistogram = showConsensusHistogram;
2433 this._has_showConsensusHistogram = true;
2437 * Sets the value of field 'showDbRefTooltip'.
2439 * @param showDbRefTooltip the value of field 'showDbRefTooltip'
2441 public void setShowDbRefTooltip(
2442 final boolean showDbRefTooltip) {
2443 this._showDbRefTooltip = showDbRefTooltip;
2444 this._has_showDbRefTooltip = true;
2448 * Sets the value of field 'showFullId'.
2450 * @param showFullId the value of field 'showFullId'.
2452 public void setShowFullId(
2453 final boolean showFullId) {
2454 this._showFullId = showFullId;
2455 this._has_showFullId = true;
2459 * Sets the value of field 'showGroupConsensus'.
2461 * @param showGroupConsensus the value of field
2462 * 'showGroupConsensus'.
2464 public void setShowGroupConsensus(
2465 final boolean showGroupConsensus) {
2466 this._showGroupConsensus = showGroupConsensus;
2467 this._has_showGroupConsensus = true;
2471 * Sets the value of field 'showGroupConservation'.
2473 * @param showGroupConservation the value of field
2474 * 'showGroupConservation'.
2476 public void setShowGroupConservation(
2477 final boolean showGroupConservation) {
2478 this._showGroupConservation = showGroupConservation;
2479 this._has_showGroupConservation = true;
2483 * Sets the value of field 'showNPfeatureTooltip'.
2485 * @param showNPfeatureTooltip the value of field
2486 * 'showNPfeatureTooltip'.
2488 public void setShowNPfeatureTooltip(
2489 final boolean showNPfeatureTooltip) {
2490 this._showNPfeatureTooltip = showNPfeatureTooltip;
2491 this._has_showNPfeatureTooltip = true;
2495 * Sets the value of field 'showSequenceFeatures'.
2497 * @param showSequenceFeatures the value of field
2498 * 'showSequenceFeatures'.
2500 public void setShowSequenceFeatures(
2501 final boolean showSequenceFeatures) {
2502 this._showSequenceFeatures = showSequenceFeatures;
2503 this._has_showSequenceFeatures = true;
2507 * Sets the value of field 'showSequenceLogo'.
2509 * @param showSequenceLogo the value of field 'showSequenceLogo'
2511 public void setShowSequenceLogo(
2512 final boolean showSequenceLogo) {
2513 this._showSequenceLogo = showSequenceLogo;
2514 this._has_showSequenceLogo = true;
2518 * Sets the value of field 'showText'.
2520 * @param showText the value of field 'showText'.
2522 public void setShowText(
2523 final boolean showText) {
2524 this._showText = showText;
2525 this._has_showText = true;
2529 * Sets the value of field 'showUnconserved'.
2531 * @param showUnconserved the value of field 'showUnconserved'.
2533 public void setShowUnconserved(
2534 final boolean showUnconserved) {
2535 this._showUnconserved = showUnconserved;
2536 this._has_showUnconserved = true;
2540 * Sets the value of field 'startRes'.
2542 * @param startRes the value of field 'startRes'.
2544 public void setStartRes(
2545 final int startRes) {
2546 this._startRes = startRes;
2547 this._has_startRes = true;
2551 * Sets the value of field 'startSeq'.
2553 * @param startSeq the value of field 'startSeq'.
2555 public void setStartSeq(
2556 final int startSeq) {
2557 this._startSeq = startSeq;
2558 this._has_startSeq = true;
2562 * Sets the value of field 'textCol1'.
2564 * @param textCol1 the value of field 'textCol1'.
2566 public void setTextCol1(
2567 final int textCol1) {
2568 this._textCol1 = textCol1;
2569 this._has_textCol1 = true;
2573 * Sets the value of field 'textCol2'.
2575 * @param textCol2 the value of field 'textCol2'.
2577 public void setTextCol2(
2578 final int textCol2) {
2579 this._textCol2 = textCol2;
2580 this._has_textCol2 = true;
2584 * Sets the value of field 'textColThreshold'.
2586 * @param textColThreshold the value of field 'textColThreshold'
2588 public void setTextColThreshold(
2589 final int textColThreshold) {
2590 this._textColThreshold = textColThreshold;
2591 this._has_textColThreshold = true;
2595 * Sets the value of field 'title'.
2597 * @param title the value of field 'title'.
2599 public void setTitle(
2600 final java.lang.String title) {
2601 this._title = title;
2605 * Sets the value of field 'viewName'.
2607 * @param viewName the value of field 'viewName'.
2609 public void setViewName(
2610 final java.lang.String viewName) {
2611 this._viewName = viewName;
2615 * Sets the value of field 'width'.
2617 * @param width the value of field 'width'.
2619 public void setWidth(
2621 this._width = width;
2622 this._has_width = true;
2626 * Sets the value of field 'wrapAlignment'.
2628 * @param wrapAlignment the value of field 'wrapAlignment'.
2630 public void setWrapAlignment(
2631 final boolean wrapAlignment) {
2632 this._wrapAlignment = wrapAlignment;
2633 this._has_wrapAlignment = true;
2637 * Sets the value of field 'xpos'.
2639 * @param xpos the value of field 'xpos'.
2641 public void setXpos(
2644 this._has_xpos = true;
2648 * Sets the value of field 'ypos'.
2650 * @param ypos the value of field 'ypos'.
2652 public void setYpos(
2655 this._has_ypos = true;
2662 * @throws org.exolab.castor.xml.MarshalException if object is
2663 * null or if any SAXException is thrown during marshaling
2664 * @throws org.exolab.castor.xml.ValidationException if this
2665 * object is an invalid instance according to the schema
2666 * @return the unmarshaled
2667 * jalview.schemabinding.version2.Viewport
2669 public static jalview.schemabinding.version2.Viewport unmarshal(
2670 final java.io.Reader reader)
2671 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
2672 return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(jalview.schemabinding.version2.Viewport.class, reader);
2678 * @throws org.exolab.castor.xml.ValidationException if this
2679 * object is an invalid instance according to the schema
2681 public void validate(
2683 throws org.exolab.castor.xml.ValidationException {
2684 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
2685 validator.validate(this);