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.binding;
\r
10 //---------------------------------/
\r
11 //- Imported classes and packages -/
\r
12 //---------------------------------/
\r
14 import org.exolab.castor.xml.*;
\r
19 * @version $Revision$ $Date$
\r
21 public class Viewport
\r
22 implements java.io.Serializable
\r
25 //--------------------------/
\r
26 //- Class/Member Variables -/
\r
27 //--------------------------/
\r
30 * Field _conservationSelected
\r
32 private boolean _conservationSelected;
\r
35 * keeps track of state for field: _conservationSelected
\r
37 private boolean _has_conservationSelected;
\r
40 * Field _pidSelected
\r
42 private boolean _pidSelected;
\r
45 * keeps track of state for field: _pidSelected
\r
47 private boolean _has_pidSelected;
\r
52 private java.lang.String _bgColour;
\r
55 * Field _consThreshold
\r
57 private int _consThreshold;
\r
60 * keeps track of state for field: _consThreshold
\r
62 private boolean _has_consThreshold;
\r
65 * Field _pidThreshold
\r
67 private int _pidThreshold;
\r
70 * keeps track of state for field: _pidThreshold
\r
72 private boolean _has_pidThreshold;
\r
77 private java.lang.String _title;
\r
82 private boolean _showFullId;
\r
85 * keeps track of state for field: _showFullId
\r
87 private boolean _has_showFullId;
\r
92 private boolean _showText;
\r
95 * keeps track of state for field: _showText
\r
97 private boolean _has_showText;
\r
100 * Field _showColourText
\r
102 private boolean _showColourText;
\r
105 * keeps track of state for field: _showColourText
\r
107 private boolean _has_showColourText;
\r
112 private boolean _showBoxes;
\r
115 * keeps track of state for field: _showBoxes
\r
117 private boolean _has_showBoxes;
\r
120 * Field _wrapAlignment
\r
122 private boolean _wrapAlignment;
\r
125 * keeps track of state for field: _wrapAlignment
\r
127 private boolean _has_wrapAlignment;
\r
130 * Field _renderGaps
\r
132 private boolean _renderGaps;
\r
135 * keeps track of state for field: _renderGaps
\r
137 private boolean _has_renderGaps;
\r
140 * Field _showSequenceFeatures
\r
142 private boolean _showSequenceFeatures;
\r
145 * keeps track of state for field: _showSequenceFeatures
\r
147 private boolean _has_showSequenceFeatures;
\r
150 * Field _showAnnotation
\r
152 private boolean _showAnnotation;
\r
155 * keeps track of state for field: _showAnnotation
\r
157 private boolean _has_showAnnotation;
\r
160 * Field _showConservation
\r
162 private boolean _showConservation;
\r
165 * keeps track of state for field: _showConservation
\r
167 private boolean _has_showConservation;
\r
170 * Field _showQuality
\r
172 private boolean _showQuality;
\r
175 * keeps track of state for field: _showQuality
\r
177 private boolean _has_showQuality;
\r
180 * Field _showIdentity
\r
182 private boolean _showIdentity;
\r
185 * keeps track of state for field: _showIdentity
\r
187 private boolean _has_showIdentity;
\r
195 * keeps track of state for field: _xpos
\r
197 private boolean _has_xpos;
\r
205 * keeps track of state for field: _ypos
\r
207 private boolean _has_ypos;
\r
212 private int _width;
\r
215 * keeps track of state for field: _width
\r
217 private boolean _has_width;
\r
222 private int _height;
\r
225 * keeps track of state for field: _height
\r
227 private boolean _has_height;
\r
232 private int _startRes;
\r
235 * keeps track of state for field: _startRes
\r
237 private boolean _has_startRes;
\r
242 private int _startSeq;
\r
245 * keeps track of state for field: _startSeq
\r
247 private boolean _has_startSeq;
\r
252 private java.lang.String _fontName;
\r
257 private int _fontSize;
\r
260 * keeps track of state for field: _fontSize
\r
262 private boolean _has_fontSize;
\r
267 private int _fontStyle;
\r
270 * keeps track of state for field: _fontStyle
\r
272 private boolean _has_fontStyle;
\r
274 //----------------/
\r
275 //- Constructors -/
\r
276 //----------------/
\r
281 } //-- jalview.binding.Viewport()
\r
288 * Method deleteConsThreshold
\r
291 public void deleteConsThreshold()
\r
293 this._has_consThreshold = false;
\r
294 } //-- void deleteConsThreshold()
\r
297 * Method deleteConservationSelected
\r
300 public void deleteConservationSelected()
\r
302 this._has_conservationSelected = false;
\r
303 } //-- void deleteConservationSelected()
\r
306 * Method deleteFontSize
\r
309 public void deleteFontSize()
\r
311 this._has_fontSize = false;
\r
312 } //-- void deleteFontSize()
\r
315 * Method deleteFontStyle
\r
318 public void deleteFontStyle()
\r
320 this._has_fontStyle = false;
\r
321 } //-- void deleteFontStyle()
\r
324 * Method deleteHeight
\r
327 public void deleteHeight()
\r
329 this._has_height = false;
\r
330 } //-- void deleteHeight()
\r
333 * Method deletePidSelected
\r
336 public void deletePidSelected()
\r
338 this._has_pidSelected = false;
\r
339 } //-- void deletePidSelected()
\r
342 * Method deletePidThreshold
\r
345 public void deletePidThreshold()
\r
347 this._has_pidThreshold = false;
\r
348 } //-- void deletePidThreshold()
\r
351 * Method deleteRenderGaps
\r
354 public void deleteRenderGaps()
\r
356 this._has_renderGaps = false;
\r
357 } //-- void deleteRenderGaps()
\r
360 * Method deleteShowAnnotation
\r
363 public void deleteShowAnnotation()
\r
365 this._has_showAnnotation = false;
\r
366 } //-- void deleteShowAnnotation()
\r
369 * Method deleteShowBoxes
\r
372 public void deleteShowBoxes()
\r
374 this._has_showBoxes = false;
\r
375 } //-- void deleteShowBoxes()
\r
378 * Method deleteShowColourText
\r
381 public void deleteShowColourText()
\r
383 this._has_showColourText = false;
\r
384 } //-- void deleteShowColourText()
\r
387 * Method deleteShowConservation
\r
390 public void deleteShowConservation()
\r
392 this._has_showConservation = false;
\r
393 } //-- void deleteShowConservation()
\r
396 * Method deleteShowFullId
\r
399 public void deleteShowFullId()
\r
401 this._has_showFullId = false;
\r
402 } //-- void deleteShowFullId()
\r
405 * Method deleteShowIdentity
\r
408 public void deleteShowIdentity()
\r
410 this._has_showIdentity = false;
\r
411 } //-- void deleteShowIdentity()
\r
414 * Method deleteShowQuality
\r
417 public void deleteShowQuality()
\r
419 this._has_showQuality = false;
\r
420 } //-- void deleteShowQuality()
\r
423 * Method deleteShowSequenceFeatures
\r
426 public void deleteShowSequenceFeatures()
\r
428 this._has_showSequenceFeatures = false;
\r
429 } //-- void deleteShowSequenceFeatures()
\r
432 * Method deleteShowText
\r
435 public void deleteShowText()
\r
437 this._has_showText = false;
\r
438 } //-- void deleteShowText()
\r
441 * Method deleteStartRes
\r
444 public void deleteStartRes()
\r
446 this._has_startRes = false;
\r
447 } //-- void deleteStartRes()
\r
450 * Method deleteStartSeq
\r
453 public void deleteStartSeq()
\r
455 this._has_startSeq = false;
\r
456 } //-- void deleteStartSeq()
\r
459 * Method deleteWidth
\r
462 public void deleteWidth()
\r
464 this._has_width = false;
\r
465 } //-- void deleteWidth()
\r
468 * Method deleteWrapAlignment
\r
471 public void deleteWrapAlignment()
\r
473 this._has_wrapAlignment = false;
\r
474 } //-- void deleteWrapAlignment()
\r
477 * Method deleteXpos
\r
480 public void deleteXpos()
\r
482 this._has_xpos = false;
\r
483 } //-- void deleteXpos()
\r
486 * Method deleteYpos
\r
489 public void deleteYpos()
\r
491 this._has_ypos = false;
\r
492 } //-- void deleteYpos()
\r
495 * Returns the value of field 'bgColour'.
\r
498 * @return the value of field 'bgColour'.
\r
500 public java.lang.String getBgColour()
\r
502 return this._bgColour;
\r
503 } //-- java.lang.String getBgColour()
\r
506 * Returns the value of field 'consThreshold'.
\r
509 * @return the value of field 'consThreshold'.
\r
511 public int getConsThreshold()
\r
513 return this._consThreshold;
\r
514 } //-- int getConsThreshold()
\r
517 * Returns the value of field 'conservationSelected'.
\r
520 * @return the value of field 'conservationSelected'.
\r
522 public boolean getConservationSelected()
\r
524 return this._conservationSelected;
\r
525 } //-- boolean getConservationSelected()
\r
528 * Returns the value of field 'fontName'.
\r
531 * @return the value of field 'fontName'.
\r
533 public java.lang.String getFontName()
\r
535 return this._fontName;
\r
536 } //-- java.lang.String getFontName()
\r
539 * Returns the value of field 'fontSize'.
\r
542 * @return the value of field 'fontSize'.
\r
544 public int getFontSize()
\r
546 return this._fontSize;
\r
547 } //-- int getFontSize()
\r
550 * Returns the value of field 'fontStyle'.
\r
553 * @return the value of field 'fontStyle'.
\r
555 public int getFontStyle()
\r
557 return this._fontStyle;
\r
558 } //-- int getFontStyle()
\r
561 * Returns the value of field 'height'.
\r
564 * @return the value of field 'height'.
\r
566 public int getHeight()
\r
568 return this._height;
\r
569 } //-- int getHeight()
\r
572 * Returns the value of field 'pidSelected'.
\r
575 * @return the value of field 'pidSelected'.
\r
577 public boolean getPidSelected()
\r
579 return this._pidSelected;
\r
580 } //-- boolean getPidSelected()
\r
583 * Returns the value of field 'pidThreshold'.
\r
586 * @return the value of field 'pidThreshold'.
\r
588 public int getPidThreshold()
\r
590 return this._pidThreshold;
\r
591 } //-- int getPidThreshold()
\r
594 * Returns the value of field 'renderGaps'.
\r
597 * @return the value of field 'renderGaps'.
\r
599 public boolean getRenderGaps()
\r
601 return this._renderGaps;
\r
602 } //-- boolean getRenderGaps()
\r
605 * Returns the value of field 'showAnnotation'.
\r
608 * @return the value of field 'showAnnotation'.
\r
610 public boolean getShowAnnotation()
\r
612 return this._showAnnotation;
\r
613 } //-- boolean getShowAnnotation()
\r
616 * Returns the value of field 'showBoxes'.
\r
619 * @return the value of field 'showBoxes'.
\r
621 public boolean getShowBoxes()
\r
623 return this._showBoxes;
\r
624 } //-- boolean getShowBoxes()
\r
627 * Returns the value of field 'showColourText'.
\r
630 * @return the value of field 'showColourText'.
\r
632 public boolean getShowColourText()
\r
634 return this._showColourText;
\r
635 } //-- boolean getShowColourText()
\r
638 * Returns the value of field 'showConservation'.
\r
641 * @return the value of field 'showConservation'.
\r
643 public boolean getShowConservation()
\r
645 return this._showConservation;
\r
646 } //-- boolean getShowConservation()
\r
649 * Returns the value of field 'showFullId'.
\r
652 * @return the value of field 'showFullId'.
\r
654 public boolean getShowFullId()
\r
656 return this._showFullId;
\r
657 } //-- boolean getShowFullId()
\r
660 * Returns the value of field 'showIdentity'.
\r
663 * @return the value of field 'showIdentity'.
\r
665 public boolean getShowIdentity()
\r
667 return this._showIdentity;
\r
668 } //-- boolean getShowIdentity()
\r
671 * Returns the value of field 'showQuality'.
\r
674 * @return the value of field 'showQuality'.
\r
676 public boolean getShowQuality()
\r
678 return this._showQuality;
\r
679 } //-- boolean getShowQuality()
\r
682 * Returns the value of field 'showSequenceFeatures'.
\r
685 * @return the value of field 'showSequenceFeatures'.
\r
687 public boolean getShowSequenceFeatures()
\r
689 return this._showSequenceFeatures;
\r
690 } //-- boolean getShowSequenceFeatures()
\r
693 * Returns the value of field 'showText'.
\r
696 * @return the value of field 'showText'.
\r
698 public boolean getShowText()
\r
700 return this._showText;
\r
701 } //-- boolean getShowText()
\r
704 * Returns the value of field 'startRes'.
\r
707 * @return the value of field 'startRes'.
\r
709 public int getStartRes()
\r
711 return this._startRes;
\r
712 } //-- int getStartRes()
\r
715 * Returns the value of field 'startSeq'.
\r
718 * @return the value of field 'startSeq'.
\r
720 public int getStartSeq()
\r
722 return this._startSeq;
\r
723 } //-- int getStartSeq()
\r
726 * Returns the value of field 'title'.
\r
729 * @return the value of field 'title'.
\r
731 public java.lang.String getTitle()
\r
733 return this._title;
\r
734 } //-- java.lang.String getTitle()
\r
737 * Returns the value of field 'width'.
\r
740 * @return the value of field 'width'.
\r
742 public int getWidth()
\r
744 return this._width;
\r
745 } //-- int getWidth()
\r
748 * Returns the value of field 'wrapAlignment'.
\r
751 * @return the value of field 'wrapAlignment'.
\r
753 public boolean getWrapAlignment()
\r
755 return this._wrapAlignment;
\r
756 } //-- boolean getWrapAlignment()
\r
759 * Returns the value of field 'xpos'.
\r
762 * @return the value of field 'xpos'.
\r
764 public int getXpos()
\r
767 } //-- int getXpos()
\r
770 * Returns the value of field 'ypos'.
\r
773 * @return the value of field 'ypos'.
\r
775 public int getYpos()
\r
778 } //-- int getYpos()
\r
781 * Method hasConsThreshold
\r
787 public boolean hasConsThreshold()
\r
789 return this._has_consThreshold;
\r
790 } //-- boolean hasConsThreshold()
\r
793 * Method hasConservationSelected
\r
799 public boolean hasConservationSelected()
\r
801 return this._has_conservationSelected;
\r
802 } //-- boolean hasConservationSelected()
\r
805 * Method hasFontSize
\r
811 public boolean hasFontSize()
\r
813 return this._has_fontSize;
\r
814 } //-- boolean hasFontSize()
\r
817 * Method hasFontStyle
\r
823 public boolean hasFontStyle()
\r
825 return this._has_fontStyle;
\r
826 } //-- boolean hasFontStyle()
\r
835 public boolean hasHeight()
\r
837 return this._has_height;
\r
838 } //-- boolean hasHeight()
\r
841 * Method hasPidSelected
\r
847 public boolean hasPidSelected()
\r
849 return this._has_pidSelected;
\r
850 } //-- boolean hasPidSelected()
\r
853 * Method hasPidThreshold
\r
859 public boolean hasPidThreshold()
\r
861 return this._has_pidThreshold;
\r
862 } //-- boolean hasPidThreshold()
\r
865 * Method hasRenderGaps
\r
871 public boolean hasRenderGaps()
\r
873 return this._has_renderGaps;
\r
874 } //-- boolean hasRenderGaps()
\r
877 * Method hasShowAnnotation
\r
883 public boolean hasShowAnnotation()
\r
885 return this._has_showAnnotation;
\r
886 } //-- boolean hasShowAnnotation()
\r
889 * Method hasShowBoxes
\r
895 public boolean hasShowBoxes()
\r
897 return this._has_showBoxes;
\r
898 } //-- boolean hasShowBoxes()
\r
901 * Method hasShowColourText
\r
907 public boolean hasShowColourText()
\r
909 return this._has_showColourText;
\r
910 } //-- boolean hasShowColourText()
\r
913 * Method hasShowConservation
\r
919 public boolean hasShowConservation()
\r
921 return this._has_showConservation;
\r
922 } //-- boolean hasShowConservation()
\r
925 * Method hasShowFullId
\r
931 public boolean hasShowFullId()
\r
933 return this._has_showFullId;
\r
934 } //-- boolean hasShowFullId()
\r
937 * Method hasShowIdentity
\r
943 public boolean hasShowIdentity()
\r
945 return this._has_showIdentity;
\r
946 } //-- boolean hasShowIdentity()
\r
949 * Method hasShowQuality
\r
955 public boolean hasShowQuality()
\r
957 return this._has_showQuality;
\r
958 } //-- boolean hasShowQuality()
\r
961 * Method hasShowSequenceFeatures
\r
967 public boolean hasShowSequenceFeatures()
\r
969 return this._has_showSequenceFeatures;
\r
970 } //-- boolean hasShowSequenceFeatures()
\r
973 * Method hasShowText
\r
979 public boolean hasShowText()
\r
981 return this._has_showText;
\r
982 } //-- boolean hasShowText()
\r
985 * Method hasStartRes
\r
991 public boolean hasStartRes()
\r
993 return this._has_startRes;
\r
994 } //-- boolean hasStartRes()
\r
997 * Method hasStartSeq
\r
1003 public boolean hasStartSeq()
\r
1005 return this._has_startSeq;
\r
1006 } //-- boolean hasStartSeq()
\r
1015 public boolean hasWidth()
\r
1017 return this._has_width;
\r
1018 } //-- boolean hasWidth()
\r
1021 * Method hasWrapAlignment
\r
1027 public boolean hasWrapAlignment()
\r
1029 return this._has_wrapAlignment;
\r
1030 } //-- boolean hasWrapAlignment()
\r
1039 public boolean hasXpos()
\r
1041 return this._has_xpos;
\r
1042 } //-- boolean hasXpos()
\r
1051 public boolean hasYpos()
\r
1053 return this._has_ypos;
\r
1054 } //-- boolean hasYpos()
\r
1063 public boolean isValid()
\r
1069 catch (org.exolab.castor.xml.ValidationException vex)
\r
1074 } //-- boolean isValid()
\r
1083 public void marshal(java.io.Writer out)
\r
1084 throws org.exolab.castor.xml.MarshalException,
\r
1085 org.exolab.castor.xml.ValidationException
\r
1088 Marshaller.marshal(this, out);
\r
1089 } //-- void marshal(java.io.Writer)
\r
1098 public void marshal(org.xml.sax.ContentHandler handler)
\r
1099 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
1100 org.exolab.castor.xml.ValidationException
\r
1103 Marshaller.marshal(this, handler);
\r
1104 } //-- void marshal(org.xml.sax.ContentHandler)
\r
1107 * Sets the value of field 'bgColour'.
\r
1109 * @param bgColour the value of field 'bgColour'.
\r
1111 public void setBgColour(java.lang.String bgColour)
\r
1113 this._bgColour = bgColour;
\r
1114 } //-- void setBgColour(java.lang.String)
\r
1117 * Sets the value of field 'consThreshold'.
\r
1119 * @param consThreshold the value of field 'consThreshold'.
\r
1121 public void setConsThreshold(int consThreshold)
\r
1123 this._consThreshold = consThreshold;
\r
1124 this._has_consThreshold = true;
\r
1125 } //-- void setConsThreshold(int)
\r
1128 * Sets the value of field 'conservationSelected'.
\r
1130 * @param conservationSelected the value of field
\r
1131 * 'conservationSelected'.
\r
1133 public void setConservationSelected(boolean conservationSelected)
\r
1135 this._conservationSelected = conservationSelected;
\r
1136 this._has_conservationSelected = true;
\r
1137 } //-- void setConservationSelected(boolean)
\r
1140 * Sets the value of field 'fontName'.
\r
1142 * @param fontName the value of field 'fontName'.
\r
1144 public void setFontName(java.lang.String fontName)
\r
1146 this._fontName = fontName;
\r
1147 } //-- void setFontName(java.lang.String)
\r
1150 * Sets the value of field 'fontSize'.
\r
1152 * @param fontSize the value of field 'fontSize'.
\r
1154 public void setFontSize(int fontSize)
\r
1156 this._fontSize = fontSize;
\r
1157 this._has_fontSize = true;
\r
1158 } //-- void setFontSize(int)
\r
1161 * Sets the value of field 'fontStyle'.
\r
1163 * @param fontStyle the value of field 'fontStyle'.
\r
1165 public void setFontStyle(int fontStyle)
\r
1167 this._fontStyle = fontStyle;
\r
1168 this._has_fontStyle = true;
\r
1169 } //-- void setFontStyle(int)
\r
1172 * Sets the value of field 'height'.
\r
1174 * @param height the value of field 'height'.
\r
1176 public void setHeight(int height)
\r
1178 this._height = height;
\r
1179 this._has_height = true;
\r
1180 } //-- void setHeight(int)
\r
1183 * Sets the value of field 'pidSelected'.
\r
1185 * @param pidSelected the value of field 'pidSelected'.
\r
1187 public void setPidSelected(boolean pidSelected)
\r
1189 this._pidSelected = pidSelected;
\r
1190 this._has_pidSelected = true;
\r
1191 } //-- void setPidSelected(boolean)
\r
1194 * Sets the value of field 'pidThreshold'.
\r
1196 * @param pidThreshold the value of field 'pidThreshold'.
\r
1198 public void setPidThreshold(int pidThreshold)
\r
1200 this._pidThreshold = pidThreshold;
\r
1201 this._has_pidThreshold = true;
\r
1202 } //-- void setPidThreshold(int)
\r
1205 * Sets the value of field 'renderGaps'.
\r
1207 * @param renderGaps the value of field 'renderGaps'.
\r
1209 public void setRenderGaps(boolean renderGaps)
\r
1211 this._renderGaps = renderGaps;
\r
1212 this._has_renderGaps = true;
\r
1213 } //-- void setRenderGaps(boolean)
\r
1216 * Sets the value of field 'showAnnotation'.
\r
1218 * @param showAnnotation the value of field 'showAnnotation'.
\r
1220 public void setShowAnnotation(boolean showAnnotation)
\r
1222 this._showAnnotation = showAnnotation;
\r
1223 this._has_showAnnotation = true;
\r
1224 } //-- void setShowAnnotation(boolean)
\r
1227 * Sets the value of field 'showBoxes'.
\r
1229 * @param showBoxes the value of field 'showBoxes'.
\r
1231 public void setShowBoxes(boolean showBoxes)
\r
1233 this._showBoxes = showBoxes;
\r
1234 this._has_showBoxes = true;
\r
1235 } //-- void setShowBoxes(boolean)
\r
1238 * Sets the value of field 'showColourText'.
\r
1240 * @param showColourText the value of field 'showColourText'.
\r
1242 public void setShowColourText(boolean showColourText)
\r
1244 this._showColourText = showColourText;
\r
1245 this._has_showColourText = true;
\r
1246 } //-- void setShowColourText(boolean)
\r
1249 * Sets the value of field 'showConservation'.
\r
1251 * @param showConservation the value of field 'showConservation'
\r
1253 public void setShowConservation(boolean showConservation)
\r
1255 this._showConservation = showConservation;
\r
1256 this._has_showConservation = true;
\r
1257 } //-- void setShowConservation(boolean)
\r
1260 * Sets the value of field 'showFullId'.
\r
1262 * @param showFullId the value of field 'showFullId'.
\r
1264 public void setShowFullId(boolean showFullId)
\r
1266 this._showFullId = showFullId;
\r
1267 this._has_showFullId = true;
\r
1268 } //-- void setShowFullId(boolean)
\r
1271 * Sets the value of field 'showIdentity'.
\r
1273 * @param showIdentity the value of field 'showIdentity'.
\r
1275 public void setShowIdentity(boolean showIdentity)
\r
1277 this._showIdentity = showIdentity;
\r
1278 this._has_showIdentity = true;
\r
1279 } //-- void setShowIdentity(boolean)
\r
1282 * Sets the value of field 'showQuality'.
\r
1284 * @param showQuality the value of field 'showQuality'.
\r
1286 public void setShowQuality(boolean showQuality)
\r
1288 this._showQuality = showQuality;
\r
1289 this._has_showQuality = true;
\r
1290 } //-- void setShowQuality(boolean)
\r
1293 * Sets the value of field 'showSequenceFeatures'.
\r
1295 * @param showSequenceFeatures the value of field
\r
1296 * 'showSequenceFeatures'.
\r
1298 public void setShowSequenceFeatures(boolean showSequenceFeatures)
\r
1300 this._showSequenceFeatures = showSequenceFeatures;
\r
1301 this._has_showSequenceFeatures = true;
\r
1302 } //-- void setShowSequenceFeatures(boolean)
\r
1305 * Sets the value of field 'showText'.
\r
1307 * @param showText the value of field 'showText'.
\r
1309 public void setShowText(boolean showText)
\r
1311 this._showText = showText;
\r
1312 this._has_showText = true;
\r
1313 } //-- void setShowText(boolean)
\r
1316 * Sets the value of field 'startRes'.
\r
1318 * @param startRes the value of field 'startRes'.
\r
1320 public void setStartRes(int startRes)
\r
1322 this._startRes = startRes;
\r
1323 this._has_startRes = true;
\r
1324 } //-- void setStartRes(int)
\r
1327 * Sets the value of field 'startSeq'.
\r
1329 * @param startSeq the value of field 'startSeq'.
\r
1331 public void setStartSeq(int startSeq)
\r
1333 this._startSeq = startSeq;
\r
1334 this._has_startSeq = true;
\r
1335 } //-- void setStartSeq(int)
\r
1338 * Sets the value of field 'title'.
\r
1340 * @param title the value of field 'title'.
\r
1342 public void setTitle(java.lang.String title)
\r
1344 this._title = title;
\r
1345 } //-- void setTitle(java.lang.String)
\r
1348 * Sets the value of field 'width'.
\r
1350 * @param width the value of field 'width'.
\r
1352 public void setWidth(int width)
\r
1354 this._width = width;
\r
1355 this._has_width = true;
\r
1356 } //-- void setWidth(int)
\r
1359 * Sets the value of field 'wrapAlignment'.
\r
1361 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
1363 public void setWrapAlignment(boolean wrapAlignment)
\r
1365 this._wrapAlignment = wrapAlignment;
\r
1366 this._has_wrapAlignment = true;
\r
1367 } //-- void setWrapAlignment(boolean)
\r
1370 * Sets the value of field 'xpos'.
\r
1372 * @param xpos the value of field 'xpos'.
\r
1374 public void setXpos(int xpos)
\r
1376 this._xpos = xpos;
\r
1377 this._has_xpos = true;
\r
1378 } //-- void setXpos(int)
\r
1381 * Sets the value of field 'ypos'.
\r
1383 * @param ypos the value of field 'ypos'.
\r
1385 public void setYpos(int ypos)
\r
1387 this._ypos = ypos;
\r
1388 this._has_ypos = true;
\r
1389 } //-- void setYpos(int)
\r
1392 * Method unmarshal
\r
1399 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
1400 throws org.exolab.castor.xml.MarshalException,
\r
1401 org.exolab.castor.xml.ValidationException
\r
1403 return (jalview.binding.Viewport) Unmarshaller.unmarshal(jalview.binding.
\r
1404 Viewport.class, reader);
\r
1405 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
1411 public void validate()
\r
1412 throws org.exolab.castor.xml.ValidationException
\r
1414 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.
\r
1416 validator.validate(this);
\r
1417 } //-- void validate()
\r