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 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 //----------------/
\r
283 //- Constructors -/
\r
284 //----------------/
\r
286 public Viewport() {
\r
288 } //-- jalview.binding.Viewport()
\r
296 * Method deleteConsThreshold
\r
299 public void deleteConsThreshold()
\r
301 this._has_consThreshold= false;
\r
302 } //-- void deleteConsThreshold()
\r
305 * Method deleteConservationSelected
\r
308 public void deleteConservationSelected()
\r
310 this._has_conservationSelected= false;
\r
311 } //-- void deleteConservationSelected()
\r
314 * Method deleteFontSize
\r
317 public void deleteFontSize()
\r
319 this._has_fontSize= false;
\r
320 } //-- void deleteFontSize()
\r
323 * Method deleteFontStyle
\r
326 public void deleteFontStyle()
\r
328 this._has_fontStyle= false;
\r
329 } //-- void deleteFontStyle()
\r
332 * Method deleteHeight
\r
335 public void deleteHeight()
\r
337 this._has_height= false;
\r
338 } //-- void deleteHeight()
\r
341 * Method deletePidSelected
\r
344 public void deletePidSelected()
\r
346 this._has_pidSelected= false;
\r
347 } //-- void deletePidSelected()
\r
350 * Method deletePidThreshold
\r
353 public void deletePidThreshold()
\r
355 this._has_pidThreshold= false;
\r
356 } //-- void deletePidThreshold()
\r
359 * Method deleteRenderGaps
\r
362 public void deleteRenderGaps()
\r
364 this._has_renderGaps= false;
\r
365 } //-- void deleteRenderGaps()
\r
368 * Method deleteShowAnnotation
\r
371 public void deleteShowAnnotation()
\r
373 this._has_showAnnotation= false;
\r
374 } //-- void deleteShowAnnotation()
\r
377 * Method deleteShowBoxes
\r
380 public void deleteShowBoxes()
\r
382 this._has_showBoxes= false;
\r
383 } //-- void deleteShowBoxes()
\r
386 * Method deleteShowColourText
\r
389 public void deleteShowColourText()
\r
391 this._has_showColourText= false;
\r
392 } //-- void deleteShowColourText()
\r
395 * Method deleteShowConservation
\r
398 public void deleteShowConservation()
\r
400 this._has_showConservation= false;
\r
401 } //-- void deleteShowConservation()
\r
404 * Method deleteShowFullId
\r
407 public void deleteShowFullId()
\r
409 this._has_showFullId= false;
\r
410 } //-- void deleteShowFullId()
\r
413 * Method deleteShowIdentity
\r
416 public void deleteShowIdentity()
\r
418 this._has_showIdentity= false;
\r
419 } //-- void deleteShowIdentity()
\r
422 * Method deleteShowQuality
\r
425 public void deleteShowQuality()
\r
427 this._has_showQuality= false;
\r
428 } //-- void deleteShowQuality()
\r
431 * Method deleteShowSequenceFeatures
\r
434 public void deleteShowSequenceFeatures()
\r
436 this._has_showSequenceFeatures= false;
\r
437 } //-- void deleteShowSequenceFeatures()
\r
440 * Method deleteShowText
\r
443 public void deleteShowText()
\r
445 this._has_showText= false;
\r
446 } //-- void deleteShowText()
\r
449 * Method deleteStartRes
\r
452 public void deleteStartRes()
\r
454 this._has_startRes= false;
\r
455 } //-- void deleteStartRes()
\r
458 * Method deleteStartSeq
\r
461 public void deleteStartSeq()
\r
463 this._has_startSeq= false;
\r
464 } //-- void deleteStartSeq()
\r
467 * Method deleteWidth
\r
470 public void deleteWidth()
\r
472 this._has_width= false;
\r
473 } //-- void deleteWidth()
\r
476 * Method deleteWrapAlignment
\r
479 public void deleteWrapAlignment()
\r
481 this._has_wrapAlignment= false;
\r
482 } //-- void deleteWrapAlignment()
\r
485 * Method deleteXpos
\r
488 public void deleteXpos()
\r
490 this._has_xpos= false;
\r
491 } //-- void deleteXpos()
\r
494 * Method deleteYpos
\r
497 public void deleteYpos()
\r
499 this._has_ypos= false;
\r
500 } //-- void deleteYpos()
\r
503 * Returns the value of field 'bgColour'.
\r
506 * @return the value of field 'bgColour'.
\r
508 public java.lang.String getBgColour()
\r
510 return this._bgColour;
\r
511 } //-- java.lang.String getBgColour()
\r
514 * Returns the value of field 'consThreshold'.
\r
517 * @return the value of field 'consThreshold'.
\r
519 public int getConsThreshold()
\r
521 return this._consThreshold;
\r
522 } //-- int getConsThreshold()
\r
525 * Returns the value of field 'conservationSelected'.
\r
528 * @return the value of field 'conservationSelected'.
\r
530 public boolean getConservationSelected()
\r
532 return this._conservationSelected;
\r
533 } //-- boolean getConservationSelected()
\r
536 * Returns the value of field 'fontName'.
\r
539 * @return the value of field 'fontName'.
\r
541 public java.lang.String getFontName()
\r
543 return this._fontName;
\r
544 } //-- java.lang.String getFontName()
\r
547 * Returns the value of field 'fontSize'.
\r
550 * @return the value of field 'fontSize'.
\r
552 public int getFontSize()
\r
554 return this._fontSize;
\r
555 } //-- int getFontSize()
\r
558 * Returns the value of field 'fontStyle'.
\r
561 * @return the value of field 'fontStyle'.
\r
563 public int getFontStyle()
\r
565 return this._fontStyle;
\r
566 } //-- int getFontStyle()
\r
569 * Returns the value of field 'height'.
\r
572 * @return the value of field 'height'.
\r
574 public int getHeight()
\r
576 return this._height;
\r
577 } //-- int getHeight()
\r
580 * Returns the value of field 'pidSelected'.
\r
583 * @return the value of field 'pidSelected'.
\r
585 public boolean getPidSelected()
\r
587 return this._pidSelected;
\r
588 } //-- boolean getPidSelected()
\r
591 * Returns the value of field 'pidThreshold'.
\r
594 * @return the value of field 'pidThreshold'.
\r
596 public int getPidThreshold()
\r
598 return this._pidThreshold;
\r
599 } //-- int getPidThreshold()
\r
602 * Returns the value of field 'renderGaps'.
\r
605 * @return the value of field 'renderGaps'.
\r
607 public boolean getRenderGaps()
\r
609 return this._renderGaps;
\r
610 } //-- boolean getRenderGaps()
\r
613 * Returns the value of field 'showAnnotation'.
\r
616 * @return the value of field 'showAnnotation'.
\r
618 public boolean getShowAnnotation()
\r
620 return this._showAnnotation;
\r
621 } //-- boolean getShowAnnotation()
\r
624 * Returns the value of field 'showBoxes'.
\r
627 * @return the value of field 'showBoxes'.
\r
629 public boolean getShowBoxes()
\r
631 return this._showBoxes;
\r
632 } //-- boolean getShowBoxes()
\r
635 * Returns the value of field 'showColourText'.
\r
638 * @return the value of field 'showColourText'.
\r
640 public boolean getShowColourText()
\r
642 return this._showColourText;
\r
643 } //-- boolean getShowColourText()
\r
646 * Returns the value of field 'showConservation'.
\r
649 * @return the value of field 'showConservation'.
\r
651 public boolean getShowConservation()
\r
653 return this._showConservation;
\r
654 } //-- boolean getShowConservation()
\r
657 * Returns the value of field 'showFullId'.
\r
660 * @return the value of field 'showFullId'.
\r
662 public boolean getShowFullId()
\r
664 return this._showFullId;
\r
665 } //-- boolean getShowFullId()
\r
668 * Returns the value of field 'showIdentity'.
\r
671 * @return the value of field 'showIdentity'.
\r
673 public boolean getShowIdentity()
\r
675 return this._showIdentity;
\r
676 } //-- boolean getShowIdentity()
\r
679 * Returns the value of field 'showQuality'.
\r
682 * @return the value of field 'showQuality'.
\r
684 public boolean getShowQuality()
\r
686 return this._showQuality;
\r
687 } //-- boolean getShowQuality()
\r
690 * Returns the value of field 'showSequenceFeatures'.
\r
693 * @return the value of field 'showSequenceFeatures'.
\r
695 public boolean getShowSequenceFeatures()
\r
697 return this._showSequenceFeatures;
\r
698 } //-- boolean getShowSequenceFeatures()
\r
701 * Returns the value of field 'showText'.
\r
704 * @return the value of field 'showText'.
\r
706 public boolean getShowText()
\r
708 return this._showText;
\r
709 } //-- boolean getShowText()
\r
712 * Returns the value of field 'startRes'.
\r
715 * @return the value of field 'startRes'.
\r
717 public int getStartRes()
\r
719 return this._startRes;
\r
720 } //-- int getStartRes()
\r
723 * Returns the value of field 'startSeq'.
\r
726 * @return the value of field 'startSeq'.
\r
728 public int getStartSeq()
\r
730 return this._startSeq;
\r
731 } //-- int getStartSeq()
\r
734 * Returns the value of field 'title'.
\r
737 * @return the value of field 'title'.
\r
739 public java.lang.String getTitle()
\r
741 return this._title;
\r
742 } //-- java.lang.String getTitle()
\r
745 * Returns the value of field 'width'.
\r
748 * @return the value of field 'width'.
\r
750 public int getWidth()
\r
752 return this._width;
\r
753 } //-- int getWidth()
\r
756 * Returns the value of field 'wrapAlignment'.
\r
759 * @return the value of field 'wrapAlignment'.
\r
761 public boolean getWrapAlignment()
\r
763 return this._wrapAlignment;
\r
764 } //-- boolean getWrapAlignment()
\r
767 * Returns the value of field 'xpos'.
\r
770 * @return the value of field 'xpos'.
\r
772 public int getXpos()
\r
775 } //-- int getXpos()
\r
778 * Returns the value of field 'ypos'.
\r
781 * @return the value of field 'ypos'.
\r
783 public int getYpos()
\r
786 } //-- int getYpos()
\r
789 * Method hasConsThreshold
\r
795 public boolean hasConsThreshold()
\r
797 return this._has_consThreshold;
\r
798 } //-- boolean hasConsThreshold()
\r
801 * Method hasConservationSelected
\r
807 public boolean hasConservationSelected()
\r
809 return this._has_conservationSelected;
\r
810 } //-- boolean hasConservationSelected()
\r
813 * Method hasFontSize
\r
819 public boolean hasFontSize()
\r
821 return this._has_fontSize;
\r
822 } //-- boolean hasFontSize()
\r
825 * Method hasFontStyle
\r
831 public boolean hasFontStyle()
\r
833 return this._has_fontStyle;
\r
834 } //-- boolean hasFontStyle()
\r
843 public boolean hasHeight()
\r
845 return this._has_height;
\r
846 } //-- boolean hasHeight()
\r
849 * Method hasPidSelected
\r
855 public boolean hasPidSelected()
\r
857 return this._has_pidSelected;
\r
858 } //-- boolean hasPidSelected()
\r
861 * Method hasPidThreshold
\r
867 public boolean hasPidThreshold()
\r
869 return this._has_pidThreshold;
\r
870 } //-- boolean hasPidThreshold()
\r
873 * Method hasRenderGaps
\r
879 public boolean hasRenderGaps()
\r
881 return this._has_renderGaps;
\r
882 } //-- boolean hasRenderGaps()
\r
885 * Method hasShowAnnotation
\r
891 public boolean hasShowAnnotation()
\r
893 return this._has_showAnnotation;
\r
894 } //-- boolean hasShowAnnotation()
\r
897 * Method hasShowBoxes
\r
903 public boolean hasShowBoxes()
\r
905 return this._has_showBoxes;
\r
906 } //-- boolean hasShowBoxes()
\r
909 * Method hasShowColourText
\r
915 public boolean hasShowColourText()
\r
917 return this._has_showColourText;
\r
918 } //-- boolean hasShowColourText()
\r
921 * Method hasShowConservation
\r
927 public boolean hasShowConservation()
\r
929 return this._has_showConservation;
\r
930 } //-- boolean hasShowConservation()
\r
933 * Method hasShowFullId
\r
939 public boolean hasShowFullId()
\r
941 return this._has_showFullId;
\r
942 } //-- boolean hasShowFullId()
\r
945 * Method hasShowIdentity
\r
951 public boolean hasShowIdentity()
\r
953 return this._has_showIdentity;
\r
954 } //-- boolean hasShowIdentity()
\r
957 * Method hasShowQuality
\r
963 public boolean hasShowQuality()
\r
965 return this._has_showQuality;
\r
966 } //-- boolean hasShowQuality()
\r
969 * Method hasShowSequenceFeatures
\r
975 public boolean hasShowSequenceFeatures()
\r
977 return this._has_showSequenceFeatures;
\r
978 } //-- boolean hasShowSequenceFeatures()
\r
981 * Method hasShowText
\r
987 public boolean hasShowText()
\r
989 return this._has_showText;
\r
990 } //-- boolean hasShowText()
\r
993 * Method hasStartRes
\r
999 public boolean hasStartRes()
\r
1001 return this._has_startRes;
\r
1002 } //-- boolean hasStartRes()
\r
1005 * Method hasStartSeq
\r
1011 public boolean hasStartSeq()
\r
1013 return this._has_startSeq;
\r
1014 } //-- boolean hasStartSeq()
\r
1023 public boolean hasWidth()
\r
1025 return this._has_width;
\r
1026 } //-- boolean hasWidth()
\r
1029 * Method hasWrapAlignment
\r
1035 public boolean hasWrapAlignment()
\r
1037 return this._has_wrapAlignment;
\r
1038 } //-- boolean hasWrapAlignment()
\r
1047 public boolean hasXpos()
\r
1049 return this._has_xpos;
\r
1050 } //-- boolean hasXpos()
\r
1059 public boolean hasYpos()
\r
1061 return this._has_ypos;
\r
1062 } //-- boolean hasYpos()
\r
1071 public boolean isValid()
\r
1076 catch (org.exolab.castor.xml.ValidationException vex) {
\r
1080 } //-- boolean isValid()
\r
1089 public void marshal(java.io.Writer out)
\r
1090 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1093 Marshaller.marshal(this, out);
\r
1094 } //-- void marshal(java.io.Writer)
\r
1103 public void marshal(org.xml.sax.ContentHandler handler)
\r
1104 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1107 Marshaller.marshal(this, handler);
\r
1108 } //-- void marshal(org.xml.sax.ContentHandler)
\r
1111 * Sets the value of field 'bgColour'.
\r
1113 * @param bgColour the value of field 'bgColour'.
\r
1115 public void setBgColour(java.lang.String bgColour)
\r
1117 this._bgColour = bgColour;
\r
1118 } //-- void setBgColour(java.lang.String)
\r
1121 * Sets the value of field 'consThreshold'.
\r
1123 * @param consThreshold the value of field 'consThreshold'.
\r
1125 public void setConsThreshold(int consThreshold)
\r
1127 this._consThreshold = consThreshold;
\r
1128 this._has_consThreshold = true;
\r
1129 } //-- void setConsThreshold(int)
\r
1132 * Sets the value of field 'conservationSelected'.
\r
1134 * @param conservationSelected the value of field
\r
1135 * 'conservationSelected'.
\r
1137 public void setConservationSelected(boolean conservationSelected)
\r
1139 this._conservationSelected = conservationSelected;
\r
1140 this._has_conservationSelected = true;
\r
1141 } //-- void setConservationSelected(boolean)
\r
1144 * Sets the value of field 'fontName'.
\r
1146 * @param fontName the value of field 'fontName'.
\r
1148 public void setFontName(java.lang.String fontName)
\r
1150 this._fontName = fontName;
\r
1151 } //-- void setFontName(java.lang.String)
\r
1154 * Sets the value of field 'fontSize'.
\r
1156 * @param fontSize the value of field 'fontSize'.
\r
1158 public void setFontSize(int fontSize)
\r
1160 this._fontSize = fontSize;
\r
1161 this._has_fontSize = true;
\r
1162 } //-- void setFontSize(int)
\r
1165 * Sets the value of field 'fontStyle'.
\r
1167 * @param fontStyle the value of field 'fontStyle'.
\r
1169 public void setFontStyle(int fontStyle)
\r
1171 this._fontStyle = fontStyle;
\r
1172 this._has_fontStyle = true;
\r
1173 } //-- void setFontStyle(int)
\r
1176 * Sets the value of field 'height'.
\r
1178 * @param height the value of field 'height'.
\r
1180 public void setHeight(int height)
\r
1182 this._height = height;
\r
1183 this._has_height = true;
\r
1184 } //-- void setHeight(int)
\r
1187 * Sets the value of field 'pidSelected'.
\r
1189 * @param pidSelected the value of field 'pidSelected'.
\r
1191 public void setPidSelected(boolean pidSelected)
\r
1193 this._pidSelected = pidSelected;
\r
1194 this._has_pidSelected = true;
\r
1195 } //-- void setPidSelected(boolean)
\r
1198 * Sets the value of field 'pidThreshold'.
\r
1200 * @param pidThreshold the value of field 'pidThreshold'.
\r
1202 public void setPidThreshold(int pidThreshold)
\r
1204 this._pidThreshold = pidThreshold;
\r
1205 this._has_pidThreshold = true;
\r
1206 } //-- void setPidThreshold(int)
\r
1209 * Sets the value of field 'renderGaps'.
\r
1211 * @param renderGaps the value of field 'renderGaps'.
\r
1213 public void setRenderGaps(boolean renderGaps)
\r
1215 this._renderGaps = renderGaps;
\r
1216 this._has_renderGaps = true;
\r
1217 } //-- void setRenderGaps(boolean)
\r
1220 * Sets the value of field 'showAnnotation'.
\r
1222 * @param showAnnotation the value of field 'showAnnotation'.
\r
1224 public void setShowAnnotation(boolean showAnnotation)
\r
1226 this._showAnnotation = showAnnotation;
\r
1227 this._has_showAnnotation = true;
\r
1228 } //-- void setShowAnnotation(boolean)
\r
1231 * Sets the value of field 'showBoxes'.
\r
1233 * @param showBoxes the value of field 'showBoxes'.
\r
1235 public void setShowBoxes(boolean showBoxes)
\r
1237 this._showBoxes = showBoxes;
\r
1238 this._has_showBoxes = true;
\r
1239 } //-- void setShowBoxes(boolean)
\r
1242 * Sets the value of field 'showColourText'.
\r
1244 * @param showColourText the value of field 'showColourText'.
\r
1246 public void setShowColourText(boolean showColourText)
\r
1248 this._showColourText = showColourText;
\r
1249 this._has_showColourText = true;
\r
1250 } //-- void setShowColourText(boolean)
\r
1253 * Sets the value of field 'showConservation'.
\r
1255 * @param showConservation the value of field 'showConservation'
\r
1257 public void setShowConservation(boolean showConservation)
\r
1259 this._showConservation = showConservation;
\r
1260 this._has_showConservation = true;
\r
1261 } //-- void setShowConservation(boolean)
\r
1264 * Sets the value of field 'showFullId'.
\r
1266 * @param showFullId the value of field 'showFullId'.
\r
1268 public void setShowFullId(boolean showFullId)
\r
1270 this._showFullId = showFullId;
\r
1271 this._has_showFullId = true;
\r
1272 } //-- void setShowFullId(boolean)
\r
1275 * Sets the value of field 'showIdentity'.
\r
1277 * @param showIdentity the value of field 'showIdentity'.
\r
1279 public void setShowIdentity(boolean showIdentity)
\r
1281 this._showIdentity = showIdentity;
\r
1282 this._has_showIdentity = true;
\r
1283 } //-- void setShowIdentity(boolean)
\r
1286 * Sets the value of field 'showQuality'.
\r
1288 * @param showQuality the value of field 'showQuality'.
\r
1290 public void setShowQuality(boolean showQuality)
\r
1292 this._showQuality = showQuality;
\r
1293 this._has_showQuality = true;
\r
1294 } //-- void setShowQuality(boolean)
\r
1297 * Sets the value of field 'showSequenceFeatures'.
\r
1299 * @param showSequenceFeatures the value of field
\r
1300 * 'showSequenceFeatures'.
\r
1302 public void setShowSequenceFeatures(boolean showSequenceFeatures)
\r
1304 this._showSequenceFeatures = showSequenceFeatures;
\r
1305 this._has_showSequenceFeatures = true;
\r
1306 } //-- void setShowSequenceFeatures(boolean)
\r
1309 * Sets the value of field 'showText'.
\r
1311 * @param showText the value of field 'showText'.
\r
1313 public void setShowText(boolean showText)
\r
1315 this._showText = showText;
\r
1316 this._has_showText = true;
\r
1317 } //-- void setShowText(boolean)
\r
1320 * Sets the value of field 'startRes'.
\r
1322 * @param startRes the value of field 'startRes'.
\r
1324 public void setStartRes(int startRes)
\r
1326 this._startRes = startRes;
\r
1327 this._has_startRes = true;
\r
1328 } //-- void setStartRes(int)
\r
1331 * Sets the value of field 'startSeq'.
\r
1333 * @param startSeq the value of field 'startSeq'.
\r
1335 public void setStartSeq(int startSeq)
\r
1337 this._startSeq = startSeq;
\r
1338 this._has_startSeq = true;
\r
1339 } //-- void setStartSeq(int)
\r
1342 * Sets the value of field 'title'.
\r
1344 * @param title the value of field 'title'.
\r
1346 public void setTitle(java.lang.String title)
\r
1348 this._title = title;
\r
1349 } //-- void setTitle(java.lang.String)
\r
1352 * Sets the value of field 'width'.
\r
1354 * @param width the value of field 'width'.
\r
1356 public void setWidth(int width)
\r
1358 this._width = width;
\r
1359 this._has_width = true;
\r
1360 } //-- void setWidth(int)
\r
1363 * Sets the value of field 'wrapAlignment'.
\r
1365 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
1367 public void setWrapAlignment(boolean wrapAlignment)
\r
1369 this._wrapAlignment = wrapAlignment;
\r
1370 this._has_wrapAlignment = true;
\r
1371 } //-- void setWrapAlignment(boolean)
\r
1374 * Sets the value of field 'xpos'.
\r
1376 * @param xpos the value of field 'xpos'.
\r
1378 public void setXpos(int xpos)
\r
1380 this._xpos = xpos;
\r
1381 this._has_xpos = true;
\r
1382 } //-- void setXpos(int)
\r
1385 * Sets the value of field 'ypos'.
\r
1387 * @param ypos the value of field 'ypos'.
\r
1389 public void setYpos(int ypos)
\r
1391 this._ypos = ypos;
\r
1392 this._has_ypos = true;
\r
1393 } //-- void setYpos(int)
\r
1396 * Method unmarshal
\r
1403 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
1404 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1406 return (jalview.binding.Viewport) Unmarshaller.unmarshal(jalview.binding.Viewport.class, reader);
\r
1407 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
1413 public void validate()
\r
1414 throws org.exolab.castor.xml.ValidationException
\r
1416 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
1417 validator.validate(this);
\r
1418 } //-- void validate()
\r