2 * This class was automatically generated with
\r
3 * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
\r
8 package jalview.schemabinding.version2;
\r
10 //---------------------------------/
\r
11 //- Imported classes and packages -/
\r
12 //---------------------------------/
\r
14 import java.io.IOException;
\r
15 import java.io.Reader;
\r
16 import java.io.Serializable;
\r
17 import java.io.Writer;
\r
18 import org.exolab.castor.xml.MarshalException;
\r
19 import org.exolab.castor.xml.Marshaller;
\r
20 import org.exolab.castor.xml.Unmarshaller;
\r
21 import org.exolab.castor.xml.ValidationException;
\r
22 import org.xml.sax.ContentHandler;
\r
27 * @version $Revision$ $Date$
\r
29 public class Viewport implements java.io.Serializable {
\r
32 //--------------------------/
\r
33 //- Class/Member Variables -/
\r
34 //--------------------------/
\r
37 * Field _conservationSelected
\r
39 private boolean _conservationSelected;
\r
42 * keeps track of state for field: _conservationSelected
\r
44 private boolean _has_conservationSelected;
\r
47 * Field _pidSelected
\r
49 private boolean _pidSelected;
\r
52 * keeps track of state for field: _pidSelected
\r
54 private boolean _has_pidSelected;
\r
59 private java.lang.String _bgColour;
\r
62 * Field _consThreshold
\r
64 private int _consThreshold;
\r
67 * keeps track of state for field: _consThreshold
\r
69 private boolean _has_consThreshold;
\r
72 * Field _pidThreshold
\r
74 private int _pidThreshold;
\r
77 * keeps track of state for field: _pidThreshold
\r
79 private boolean _has_pidThreshold;
\r
84 private java.lang.String _title;
\r
89 private boolean _showFullId;
\r
92 * keeps track of state for field: _showFullId
\r
94 private boolean _has_showFullId;
\r
99 private boolean _showText;
\r
102 * keeps track of state for field: _showText
\r
104 private boolean _has_showText;
\r
107 * Field _showColourText
\r
109 private boolean _showColourText;
\r
112 * keeps track of state for field: _showColourText
\r
114 private boolean _has_showColourText;
\r
119 private boolean _showBoxes;
\r
122 * keeps track of state for field: _showBoxes
\r
124 private boolean _has_showBoxes;
\r
127 * Field _wrapAlignment
\r
129 private boolean _wrapAlignment;
\r
132 * keeps track of state for field: _wrapAlignment
\r
134 private boolean _has_wrapAlignment;
\r
137 * Field _renderGaps
\r
139 private boolean _renderGaps;
\r
142 * keeps track of state for field: _renderGaps
\r
144 private boolean _has_renderGaps;
\r
147 * Field _showSequenceFeatures
\r
149 private boolean _showSequenceFeatures;
\r
152 * keeps track of state for field: _showSequenceFeatures
\r
154 private boolean _has_showSequenceFeatures;
\r
157 * Field _showAnnotation
\r
159 private boolean _showAnnotation;
\r
162 * keeps track of state for field: _showAnnotation
\r
164 private boolean _has_showAnnotation;
\r
167 * Field _showConservation
\r
169 private boolean _showConservation;
\r
172 * keeps track of state for field: _showConservation
\r
174 private boolean _has_showConservation;
\r
177 * Field _showQuality
\r
179 private boolean _showQuality;
\r
182 * keeps track of state for field: _showQuality
\r
184 private boolean _has_showQuality;
\r
187 * Field _showIdentity
\r
189 private boolean _showIdentity;
\r
192 * keeps track of state for field: _showIdentity
\r
194 private boolean _has_showIdentity;
\r
202 * keeps track of state for field: _xpos
\r
204 private boolean _has_xpos;
\r
212 * keeps track of state for field: _ypos
\r
214 private boolean _has_ypos;
\r
219 private int _width;
\r
222 * keeps track of state for field: _width
\r
224 private boolean _has_width;
\r
229 private int _height;
\r
232 * keeps track of state for field: _height
\r
234 private boolean _has_height;
\r
239 private int _startRes;
\r
242 * keeps track of state for field: _startRes
\r
244 private boolean _has_startRes;
\r
249 private int _startSeq;
\r
252 * keeps track of state for field: _startSeq
\r
254 private boolean _has_startSeq;
\r
259 private java.lang.String _fontName;
\r
264 private int _fontSize;
\r
267 * keeps track of state for field: _fontSize
\r
269 private boolean _has_fontSize;
\r
274 private int _fontStyle;
\r
277 * keeps track of state for field: _fontStyle
\r
279 private boolean _has_fontStyle;
\r
282 * Field _annotationColours
\r
284 private jalview.schemabinding.version2.AnnotationColours _annotationColours;
\r
287 //----------------/
\r
288 //- Constructors -/
\r
289 //----------------/
\r
291 public Viewport() {
\r
293 } //-- jalview.schemabinding.version2.Viewport()
\r
301 * Method deleteConsThreshold
\r
304 public void deleteConsThreshold()
\r
306 this._has_consThreshold= false;
\r
307 } //-- void deleteConsThreshold()
\r
310 * Method deleteConservationSelected
\r
313 public void deleteConservationSelected()
\r
315 this._has_conservationSelected= false;
\r
316 } //-- void deleteConservationSelected()
\r
319 * Method deleteFontSize
\r
322 public void deleteFontSize()
\r
324 this._has_fontSize= false;
\r
325 } //-- void deleteFontSize()
\r
328 * Method deleteFontStyle
\r
331 public void deleteFontStyle()
\r
333 this._has_fontStyle= false;
\r
334 } //-- void deleteFontStyle()
\r
337 * Method deleteHeight
\r
340 public void deleteHeight()
\r
342 this._has_height= false;
\r
343 } //-- void deleteHeight()
\r
346 * Method deletePidSelected
\r
349 public void deletePidSelected()
\r
351 this._has_pidSelected= false;
\r
352 } //-- void deletePidSelected()
\r
355 * Method deletePidThreshold
\r
358 public void deletePidThreshold()
\r
360 this._has_pidThreshold= false;
\r
361 } //-- void deletePidThreshold()
\r
364 * Method deleteRenderGaps
\r
367 public void deleteRenderGaps()
\r
369 this._has_renderGaps= false;
\r
370 } //-- void deleteRenderGaps()
\r
373 * Method deleteShowAnnotation
\r
376 public void deleteShowAnnotation()
\r
378 this._has_showAnnotation= false;
\r
379 } //-- void deleteShowAnnotation()
\r
382 * Method deleteShowBoxes
\r
385 public void deleteShowBoxes()
\r
387 this._has_showBoxes= false;
\r
388 } //-- void deleteShowBoxes()
\r
391 * Method deleteShowColourText
\r
394 public void deleteShowColourText()
\r
396 this._has_showColourText= false;
\r
397 } //-- void deleteShowColourText()
\r
400 * Method deleteShowConservation
\r
403 public void deleteShowConservation()
\r
405 this._has_showConservation= false;
\r
406 } //-- void deleteShowConservation()
\r
409 * Method deleteShowFullId
\r
412 public void deleteShowFullId()
\r
414 this._has_showFullId= false;
\r
415 } //-- void deleteShowFullId()
\r
418 * Method deleteShowIdentity
\r
421 public void deleteShowIdentity()
\r
423 this._has_showIdentity= false;
\r
424 } //-- void deleteShowIdentity()
\r
427 * Method deleteShowQuality
\r
430 public void deleteShowQuality()
\r
432 this._has_showQuality= false;
\r
433 } //-- void deleteShowQuality()
\r
436 * Method deleteShowSequenceFeatures
\r
439 public void deleteShowSequenceFeatures()
\r
441 this._has_showSequenceFeatures= false;
\r
442 } //-- void deleteShowSequenceFeatures()
\r
445 * Method deleteShowText
\r
448 public void deleteShowText()
\r
450 this._has_showText= false;
\r
451 } //-- void deleteShowText()
\r
454 * Method deleteStartRes
\r
457 public void deleteStartRes()
\r
459 this._has_startRes= false;
\r
460 } //-- void deleteStartRes()
\r
463 * Method deleteStartSeq
\r
466 public void deleteStartSeq()
\r
468 this._has_startSeq= false;
\r
469 } //-- void deleteStartSeq()
\r
472 * Method deleteWidth
\r
475 public void deleteWidth()
\r
477 this._has_width= false;
\r
478 } //-- void deleteWidth()
\r
481 * Method deleteWrapAlignment
\r
484 public void deleteWrapAlignment()
\r
486 this._has_wrapAlignment= false;
\r
487 } //-- void deleteWrapAlignment()
\r
490 * Method deleteXpos
\r
493 public void deleteXpos()
\r
495 this._has_xpos= false;
\r
496 } //-- void deleteXpos()
\r
499 * Method deleteYpos
\r
502 public void deleteYpos()
\r
504 this._has_ypos= false;
\r
505 } //-- void deleteYpos()
\r
508 * Returns the value of field 'annotationColours'.
\r
510 * @return AnnotationColours
\r
511 * @return the value of field 'annotationColours'.
\r
513 public jalview.schemabinding.version2.AnnotationColours getAnnotationColours()
\r
515 return this._annotationColours;
\r
516 } //-- jalview.schemabinding.version2.AnnotationColours getAnnotationColours()
\r
519 * Returns the value of field 'bgColour'.
\r
522 * @return the value of field 'bgColour'.
\r
524 public java.lang.String getBgColour()
\r
526 return this._bgColour;
\r
527 } //-- java.lang.String getBgColour()
\r
530 * Returns the value of field 'consThreshold'.
\r
533 * @return the value of field 'consThreshold'.
\r
535 public int getConsThreshold()
\r
537 return this._consThreshold;
\r
538 } //-- int getConsThreshold()
\r
541 * Returns the value of field 'conservationSelected'.
\r
544 * @return the value of field 'conservationSelected'.
\r
546 public boolean getConservationSelected()
\r
548 return this._conservationSelected;
\r
549 } //-- boolean getConservationSelected()
\r
552 * Returns the value of field 'fontName'.
\r
555 * @return the value of field 'fontName'.
\r
557 public java.lang.String getFontName()
\r
559 return this._fontName;
\r
560 } //-- java.lang.String getFontName()
\r
563 * Returns the value of field 'fontSize'.
\r
566 * @return the value of field 'fontSize'.
\r
568 public int getFontSize()
\r
570 return this._fontSize;
\r
571 } //-- int getFontSize()
\r
574 * Returns the value of field 'fontStyle'.
\r
577 * @return the value of field 'fontStyle'.
\r
579 public int getFontStyle()
\r
581 return this._fontStyle;
\r
582 } //-- int getFontStyle()
\r
585 * Returns the value of field 'height'.
\r
588 * @return the value of field 'height'.
\r
590 public int getHeight()
\r
592 return this._height;
\r
593 } //-- int getHeight()
\r
596 * Returns the value of field 'pidSelected'.
\r
599 * @return the value of field 'pidSelected'.
\r
601 public boolean getPidSelected()
\r
603 return this._pidSelected;
\r
604 } //-- boolean getPidSelected()
\r
607 * Returns the value of field 'pidThreshold'.
\r
610 * @return the value of field 'pidThreshold'.
\r
612 public int getPidThreshold()
\r
614 return this._pidThreshold;
\r
615 } //-- int getPidThreshold()
\r
618 * Returns the value of field 'renderGaps'.
\r
621 * @return the value of field 'renderGaps'.
\r
623 public boolean getRenderGaps()
\r
625 return this._renderGaps;
\r
626 } //-- boolean getRenderGaps()
\r
629 * Returns the value of field 'showAnnotation'.
\r
632 * @return the value of field 'showAnnotation'.
\r
634 public boolean getShowAnnotation()
\r
636 return this._showAnnotation;
\r
637 } //-- boolean getShowAnnotation()
\r
640 * Returns the value of field 'showBoxes'.
\r
643 * @return the value of field 'showBoxes'.
\r
645 public boolean getShowBoxes()
\r
647 return this._showBoxes;
\r
648 } //-- boolean getShowBoxes()
\r
651 * Returns the value of field 'showColourText'.
\r
654 * @return the value of field 'showColourText'.
\r
656 public boolean getShowColourText()
\r
658 return this._showColourText;
\r
659 } //-- boolean getShowColourText()
\r
662 * Returns the value of field 'showConservation'.
\r
665 * @return the value of field 'showConservation'.
\r
667 public boolean getShowConservation()
\r
669 return this._showConservation;
\r
670 } //-- boolean getShowConservation()
\r
673 * Returns the value of field 'showFullId'.
\r
676 * @return the value of field 'showFullId'.
\r
678 public boolean getShowFullId()
\r
680 return this._showFullId;
\r
681 } //-- boolean getShowFullId()
\r
684 * Returns the value of field 'showIdentity'.
\r
687 * @return the value of field 'showIdentity'.
\r
689 public boolean getShowIdentity()
\r
691 return this._showIdentity;
\r
692 } //-- boolean getShowIdentity()
\r
695 * Returns the value of field 'showQuality'.
\r
698 * @return the value of field 'showQuality'.
\r
700 public boolean getShowQuality()
\r
702 return this._showQuality;
\r
703 } //-- boolean getShowQuality()
\r
706 * Returns the value of field 'showSequenceFeatures'.
\r
709 * @return the value of field 'showSequenceFeatures'.
\r
711 public boolean getShowSequenceFeatures()
\r
713 return this._showSequenceFeatures;
\r
714 } //-- boolean getShowSequenceFeatures()
\r
717 * Returns the value of field 'showText'.
\r
720 * @return the value of field 'showText'.
\r
722 public boolean getShowText()
\r
724 return this._showText;
\r
725 } //-- boolean getShowText()
\r
728 * Returns the value of field 'startRes'.
\r
731 * @return the value of field 'startRes'.
\r
733 public int getStartRes()
\r
735 return this._startRes;
\r
736 } //-- int getStartRes()
\r
739 * Returns the value of field 'startSeq'.
\r
742 * @return the value of field 'startSeq'.
\r
744 public int getStartSeq()
\r
746 return this._startSeq;
\r
747 } //-- int getStartSeq()
\r
750 * Returns the value of field 'title'.
\r
753 * @return the value of field 'title'.
\r
755 public java.lang.String getTitle()
\r
757 return this._title;
\r
758 } //-- java.lang.String getTitle()
\r
761 * Returns the value of field 'width'.
\r
764 * @return the value of field 'width'.
\r
766 public int getWidth()
\r
768 return this._width;
\r
769 } //-- int getWidth()
\r
772 * Returns the value of field 'wrapAlignment'.
\r
775 * @return the value of field 'wrapAlignment'.
\r
777 public boolean getWrapAlignment()
\r
779 return this._wrapAlignment;
\r
780 } //-- boolean getWrapAlignment()
\r
783 * Returns the value of field 'xpos'.
\r
786 * @return the value of field 'xpos'.
\r
788 public int getXpos()
\r
791 } //-- int getXpos()
\r
794 * Returns the value of field 'ypos'.
\r
797 * @return the value of field 'ypos'.
\r
799 public int getYpos()
\r
802 } //-- int getYpos()
\r
805 * Method hasConsThreshold
\r
811 public boolean hasConsThreshold()
\r
813 return this._has_consThreshold;
\r
814 } //-- boolean hasConsThreshold()
\r
817 * Method hasConservationSelected
\r
823 public boolean hasConservationSelected()
\r
825 return this._has_conservationSelected;
\r
826 } //-- boolean hasConservationSelected()
\r
829 * Method hasFontSize
\r
835 public boolean hasFontSize()
\r
837 return this._has_fontSize;
\r
838 } //-- boolean hasFontSize()
\r
841 * Method hasFontStyle
\r
847 public boolean hasFontStyle()
\r
849 return this._has_fontStyle;
\r
850 } //-- boolean hasFontStyle()
\r
859 public boolean hasHeight()
\r
861 return this._has_height;
\r
862 } //-- boolean hasHeight()
\r
865 * Method hasPidSelected
\r
871 public boolean hasPidSelected()
\r
873 return this._has_pidSelected;
\r
874 } //-- boolean hasPidSelected()
\r
877 * Method hasPidThreshold
\r
883 public boolean hasPidThreshold()
\r
885 return this._has_pidThreshold;
\r
886 } //-- boolean hasPidThreshold()
\r
889 * Method hasRenderGaps
\r
895 public boolean hasRenderGaps()
\r
897 return this._has_renderGaps;
\r
898 } //-- boolean hasRenderGaps()
\r
901 * Method hasShowAnnotation
\r
907 public boolean hasShowAnnotation()
\r
909 return this._has_showAnnotation;
\r
910 } //-- boolean hasShowAnnotation()
\r
913 * Method hasShowBoxes
\r
919 public boolean hasShowBoxes()
\r
921 return this._has_showBoxes;
\r
922 } //-- boolean hasShowBoxes()
\r
925 * Method hasShowColourText
\r
931 public boolean hasShowColourText()
\r
933 return this._has_showColourText;
\r
934 } //-- boolean hasShowColourText()
\r
937 * Method hasShowConservation
\r
943 public boolean hasShowConservation()
\r
945 return this._has_showConservation;
\r
946 } //-- boolean hasShowConservation()
\r
949 * Method hasShowFullId
\r
955 public boolean hasShowFullId()
\r
957 return this._has_showFullId;
\r
958 } //-- boolean hasShowFullId()
\r
961 * Method hasShowIdentity
\r
967 public boolean hasShowIdentity()
\r
969 return this._has_showIdentity;
\r
970 } //-- boolean hasShowIdentity()
\r
973 * Method hasShowQuality
\r
979 public boolean hasShowQuality()
\r
981 return this._has_showQuality;
\r
982 } //-- boolean hasShowQuality()
\r
985 * Method hasShowSequenceFeatures
\r
991 public boolean hasShowSequenceFeatures()
\r
993 return this._has_showSequenceFeatures;
\r
994 } //-- boolean hasShowSequenceFeatures()
\r
997 * Method hasShowText
\r
1003 public boolean hasShowText()
\r
1005 return this._has_showText;
\r
1006 } //-- boolean hasShowText()
\r
1009 * Method hasStartRes
\r
1015 public boolean hasStartRes()
\r
1017 return this._has_startRes;
\r
1018 } //-- boolean hasStartRes()
\r
1021 * Method hasStartSeq
\r
1027 public boolean hasStartSeq()
\r
1029 return this._has_startSeq;
\r
1030 } //-- boolean hasStartSeq()
\r
1039 public boolean hasWidth()
\r
1041 return this._has_width;
\r
1042 } //-- boolean hasWidth()
\r
1045 * Method hasWrapAlignment
\r
1051 public boolean hasWrapAlignment()
\r
1053 return this._has_wrapAlignment;
\r
1054 } //-- boolean hasWrapAlignment()
\r
1063 public boolean hasXpos()
\r
1065 return this._has_xpos;
\r
1066 } //-- boolean hasXpos()
\r
1075 public boolean hasYpos()
\r
1077 return this._has_ypos;
\r
1078 } //-- boolean hasYpos()
\r
1087 public boolean isValid()
\r
1092 catch (org.exolab.castor.xml.ValidationException vex) {
\r
1096 } //-- boolean isValid()
\r
1105 public void marshal(java.io.Writer out)
\r
1106 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1109 Marshaller.marshal(this, out);
\r
1110 } //-- void marshal(java.io.Writer)
\r
1119 public void marshal(org.xml.sax.ContentHandler handler)
\r
1120 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1123 Marshaller.marshal(this, handler);
\r
1124 } //-- void marshal(org.xml.sax.ContentHandler)
\r
1127 * Sets the value of field 'annotationColours'.
\r
1129 * @param annotationColours the value of field
\r
1130 * 'annotationColours'.
\r
1132 public void setAnnotationColours(jalview.schemabinding.version2.AnnotationColours annotationColours)
\r
1134 this._annotationColours = annotationColours;
\r
1135 } //-- void setAnnotationColours(jalview.schemabinding.version2.AnnotationColours)
\r
1138 * Sets the value of field 'bgColour'.
\r
1140 * @param bgColour the value of field 'bgColour'.
\r
1142 public void setBgColour(java.lang.String bgColour)
\r
1144 this._bgColour = bgColour;
\r
1145 } //-- void setBgColour(java.lang.String)
\r
1148 * Sets the value of field 'consThreshold'.
\r
1150 * @param consThreshold the value of field 'consThreshold'.
\r
1152 public void setConsThreshold(int consThreshold)
\r
1154 this._consThreshold = consThreshold;
\r
1155 this._has_consThreshold = true;
\r
1156 } //-- void setConsThreshold(int)
\r
1159 * Sets the value of field 'conservationSelected'.
\r
1161 * @param conservationSelected the value of field
\r
1162 * 'conservationSelected'.
\r
1164 public void setConservationSelected(boolean conservationSelected)
\r
1166 this._conservationSelected = conservationSelected;
\r
1167 this._has_conservationSelected = true;
\r
1168 } //-- void setConservationSelected(boolean)
\r
1171 * Sets the value of field 'fontName'.
\r
1173 * @param fontName the value of field 'fontName'.
\r
1175 public void setFontName(java.lang.String fontName)
\r
1177 this._fontName = fontName;
\r
1178 } //-- void setFontName(java.lang.String)
\r
1181 * Sets the value of field 'fontSize'.
\r
1183 * @param fontSize the value of field 'fontSize'.
\r
1185 public void setFontSize(int fontSize)
\r
1187 this._fontSize = fontSize;
\r
1188 this._has_fontSize = true;
\r
1189 } //-- void setFontSize(int)
\r
1192 * Sets the value of field 'fontStyle'.
\r
1194 * @param fontStyle the value of field 'fontStyle'.
\r
1196 public void setFontStyle(int fontStyle)
\r
1198 this._fontStyle = fontStyle;
\r
1199 this._has_fontStyle = true;
\r
1200 } //-- void setFontStyle(int)
\r
1203 * Sets the value of field 'height'.
\r
1205 * @param height the value of field 'height'.
\r
1207 public void setHeight(int height)
\r
1209 this._height = height;
\r
1210 this._has_height = true;
\r
1211 } //-- void setHeight(int)
\r
1214 * Sets the value of field 'pidSelected'.
\r
1216 * @param pidSelected the value of field 'pidSelected'.
\r
1218 public void setPidSelected(boolean pidSelected)
\r
1220 this._pidSelected = pidSelected;
\r
1221 this._has_pidSelected = true;
\r
1222 } //-- void setPidSelected(boolean)
\r
1225 * Sets the value of field 'pidThreshold'.
\r
1227 * @param pidThreshold the value of field 'pidThreshold'.
\r
1229 public void setPidThreshold(int pidThreshold)
\r
1231 this._pidThreshold = pidThreshold;
\r
1232 this._has_pidThreshold = true;
\r
1233 } //-- void setPidThreshold(int)
\r
1236 * Sets the value of field 'renderGaps'.
\r
1238 * @param renderGaps the value of field 'renderGaps'.
\r
1240 public void setRenderGaps(boolean renderGaps)
\r
1242 this._renderGaps = renderGaps;
\r
1243 this._has_renderGaps = true;
\r
1244 } //-- void setRenderGaps(boolean)
\r
1247 * Sets the value of field 'showAnnotation'.
\r
1249 * @param showAnnotation the value of field 'showAnnotation'.
\r
1251 public void setShowAnnotation(boolean showAnnotation)
\r
1253 this._showAnnotation = showAnnotation;
\r
1254 this._has_showAnnotation = true;
\r
1255 } //-- void setShowAnnotation(boolean)
\r
1258 * Sets the value of field 'showBoxes'.
\r
1260 * @param showBoxes the value of field 'showBoxes'.
\r
1262 public void setShowBoxes(boolean showBoxes)
\r
1264 this._showBoxes = showBoxes;
\r
1265 this._has_showBoxes = true;
\r
1266 } //-- void setShowBoxes(boolean)
\r
1269 * Sets the value of field 'showColourText'.
\r
1271 * @param showColourText the value of field 'showColourText'.
\r
1273 public void setShowColourText(boolean showColourText)
\r
1275 this._showColourText = showColourText;
\r
1276 this._has_showColourText = true;
\r
1277 } //-- void setShowColourText(boolean)
\r
1280 * Sets the value of field 'showConservation'.
\r
1282 * @param showConservation the value of field 'showConservation'
\r
1284 public void setShowConservation(boolean showConservation)
\r
1286 this._showConservation = showConservation;
\r
1287 this._has_showConservation = true;
\r
1288 } //-- void setShowConservation(boolean)
\r
1291 * Sets the value of field 'showFullId'.
\r
1293 * @param showFullId the value of field 'showFullId'.
\r
1295 public void setShowFullId(boolean showFullId)
\r
1297 this._showFullId = showFullId;
\r
1298 this._has_showFullId = true;
\r
1299 } //-- void setShowFullId(boolean)
\r
1302 * Sets the value of field 'showIdentity'.
\r
1304 * @param showIdentity the value of field 'showIdentity'.
\r
1306 public void setShowIdentity(boolean showIdentity)
\r
1308 this._showIdentity = showIdentity;
\r
1309 this._has_showIdentity = true;
\r
1310 } //-- void setShowIdentity(boolean)
\r
1313 * Sets the value of field 'showQuality'.
\r
1315 * @param showQuality the value of field 'showQuality'.
\r
1317 public void setShowQuality(boolean showQuality)
\r
1319 this._showQuality = showQuality;
\r
1320 this._has_showQuality = true;
\r
1321 } //-- void setShowQuality(boolean)
\r
1324 * Sets the value of field 'showSequenceFeatures'.
\r
1326 * @param showSequenceFeatures the value of field
\r
1327 * 'showSequenceFeatures'.
\r
1329 public void setShowSequenceFeatures(boolean showSequenceFeatures)
\r
1331 this._showSequenceFeatures = showSequenceFeatures;
\r
1332 this._has_showSequenceFeatures = true;
\r
1333 } //-- void setShowSequenceFeatures(boolean)
\r
1336 * Sets the value of field 'showText'.
\r
1338 * @param showText the value of field 'showText'.
\r
1340 public void setShowText(boolean showText)
\r
1342 this._showText = showText;
\r
1343 this._has_showText = true;
\r
1344 } //-- void setShowText(boolean)
\r
1347 * Sets the value of field 'startRes'.
\r
1349 * @param startRes the value of field 'startRes'.
\r
1351 public void setStartRes(int startRes)
\r
1353 this._startRes = startRes;
\r
1354 this._has_startRes = true;
\r
1355 } //-- void setStartRes(int)
\r
1358 * Sets the value of field 'startSeq'.
\r
1360 * @param startSeq the value of field 'startSeq'.
\r
1362 public void setStartSeq(int startSeq)
\r
1364 this._startSeq = startSeq;
\r
1365 this._has_startSeq = true;
\r
1366 } //-- void setStartSeq(int)
\r
1369 * Sets the value of field 'title'.
\r
1371 * @param title the value of field 'title'.
\r
1373 public void setTitle(java.lang.String title)
\r
1375 this._title = title;
\r
1376 } //-- void setTitle(java.lang.String)
\r
1379 * Sets the value of field 'width'.
\r
1381 * @param width the value of field 'width'.
\r
1383 public void setWidth(int width)
\r
1385 this._width = width;
\r
1386 this._has_width = true;
\r
1387 } //-- void setWidth(int)
\r
1390 * Sets the value of field 'wrapAlignment'.
\r
1392 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
1394 public void setWrapAlignment(boolean wrapAlignment)
\r
1396 this._wrapAlignment = wrapAlignment;
\r
1397 this._has_wrapAlignment = true;
\r
1398 } //-- void setWrapAlignment(boolean)
\r
1401 * Sets the value of field 'xpos'.
\r
1403 * @param xpos the value of field 'xpos'.
\r
1405 public void setXpos(int xpos)
\r
1407 this._xpos = xpos;
\r
1408 this._has_xpos = true;
\r
1409 } //-- void setXpos(int)
\r
1412 * Sets the value of field 'ypos'.
\r
1414 * @param ypos the value of field 'ypos'.
\r
1416 public void setYpos(int ypos)
\r
1418 this._ypos = ypos;
\r
1419 this._has_ypos = true;
\r
1420 } //-- void setYpos(int)
\r
1423 * Method unmarshal
\r
1430 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
1431 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1433 return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(jalview.schemabinding.version2.Viewport.class, reader);
\r
1434 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
1440 public void validate()
\r
1441 throws org.exolab.castor.xml.ValidationException
\r
1443 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
1444 validator.validate(this);
\r
1445 } //-- void validate()
\r