2 * Jalview - A Sequence Alignment Editor and Viewer
\r
3 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
\r
5 * This program is free software; you can redistribute it and/or
\r
6 * modify it under the terms of the GNU General Public License
\r
7 * as published by the Free Software Foundation; either version 2
\r
8 * of the License, or (at your option) any later version.
\r
10 * This program is distributed in the hope that it will be useful,
\r
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 * GNU General Public License for more details.
\r
15 * You should have received a copy of the GNU General Public License
\r
16 * along with this program; if not, write to the Free Software
\r
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
\r
21 * This class was automatically generated with
\r
22 * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
\r
28 package jalview.binding;
\r
30 //---------------------------------/
\r
31 //- Imported classes and packages -/
\r
32 //---------------------------------/
\r
34 import java.io.IOException;
\r
35 import java.io.Reader;
\r
36 import java.io.Serializable;
\r
37 import java.io.Writer;
\r
38 import org.exolab.castor.xml.MarshalException;
\r
39 import org.exolab.castor.xml.Marshaller;
\r
40 import org.exolab.castor.xml.Unmarshaller;
\r
41 import org.exolab.castor.xml.ValidationException;
\r
42 import org.xml.sax.ContentHandler;
\r
47 * @version $Revision$ $Date$
\r
49 public class Viewport implements java.io.Serializable {
\r
52 //--------------------------/
\r
53 //- Class/Member Variables -/
\r
54 //--------------------------/
\r
57 * Field _conservationSelected
\r
59 private boolean _conservationSelected;
\r
62 * keeps track of state for field: _conservationSelected
\r
64 private boolean _has_conservationSelected;
\r
67 * Field _pidSelected
\r
69 private boolean _pidSelected;
\r
72 * keeps track of state for field: _pidSelected
\r
74 private boolean _has_pidSelected;
\r
79 private java.lang.String _bgColour;
\r
82 * Field _consThreshold
\r
84 private int _consThreshold;
\r
87 * keeps track of state for field: _consThreshold
\r
89 private boolean _has_consThreshold;
\r
92 * Field _pidThreshold
\r
94 private int _pidThreshold;
\r
97 * keeps track of state for field: _pidThreshold
\r
99 private boolean _has_pidThreshold;
\r
104 private java.lang.String _title;
\r
107 * Field _showFullId
\r
109 private boolean _showFullId;
\r
112 * keeps track of state for field: _showFullId
\r
114 private boolean _has_showFullId;
\r
119 private boolean _showText;
\r
122 * keeps track of state for field: _showText
\r
124 private boolean _has_showText;
\r
127 * Field _showColourText
\r
129 private boolean _showColourText;
\r
132 * keeps track of state for field: _showColourText
\r
134 private boolean _has_showColourText;
\r
139 private boolean _showBoxes;
\r
142 * keeps track of state for field: _showBoxes
\r
144 private boolean _has_showBoxes;
\r
147 * Field _wrapAlignment
\r
149 private boolean _wrapAlignment;
\r
152 * keeps track of state for field: _wrapAlignment
\r
154 private boolean _has_wrapAlignment;
\r
157 * Field _renderGaps
\r
159 private boolean _renderGaps;
\r
162 * keeps track of state for field: _renderGaps
\r
164 private boolean _has_renderGaps;
\r
167 * Field _showSequenceFeatures
\r
169 private boolean _showSequenceFeatures;
\r
172 * keeps track of state for field: _showSequenceFeatures
\r
174 private boolean _has_showSequenceFeatures;
\r
177 * Field _showAnnotation
\r
179 private boolean _showAnnotation;
\r
182 * keeps track of state for field: _showAnnotation
\r
184 private boolean _has_showAnnotation;
\r
187 * Field _showConservation
\r
189 private boolean _showConservation;
\r
192 * keeps track of state for field: _showConservation
\r
194 private boolean _has_showConservation;
\r
197 * Field _showQuality
\r
199 private boolean _showQuality;
\r
202 * keeps track of state for field: _showQuality
\r
204 private boolean _has_showQuality;
\r
207 * Field _showIdentity
\r
209 private boolean _showIdentity;
\r
212 * keeps track of state for field: _showIdentity
\r
214 private boolean _has_showIdentity;
\r
222 * keeps track of state for field: _xpos
\r
224 private boolean _has_xpos;
\r
232 * keeps track of state for field: _ypos
\r
234 private boolean _has_ypos;
\r
239 private int _width;
\r
242 * keeps track of state for field: _width
\r
244 private boolean _has_width;
\r
249 private int _height;
\r
252 * keeps track of state for field: _height
\r
254 private boolean _has_height;
\r
259 private int _startRes;
\r
262 * keeps track of state for field: _startRes
\r
264 private boolean _has_startRes;
\r
269 private int _startSeq;
\r
272 * keeps track of state for field: _startSeq
\r
274 private boolean _has_startSeq;
\r
279 private java.lang.String _fontName;
\r
284 private int _fontSize;
\r
287 * keeps track of state for field: _fontSize
\r
289 private boolean _has_fontSize;
\r
294 private int _fontStyle;
\r
297 * keeps track of state for field: _fontStyle
\r
299 private boolean _has_fontStyle;
\r
302 //----------------/
\r
303 //- Constructors -/
\r
304 //----------------/
\r
306 public Viewport() {
\r
308 } //-- jalview.binding.Viewport()
\r
316 * Method deleteConsThreshold
\r
319 public void deleteConsThreshold()
\r
321 this._has_consThreshold= false;
\r
322 } //-- void deleteConsThreshold()
\r
325 * Method deleteConservationSelected
\r
328 public void deleteConservationSelected()
\r
330 this._has_conservationSelected= false;
\r
331 } //-- void deleteConservationSelected()
\r
334 * Method deleteFontSize
\r
337 public void deleteFontSize()
\r
339 this._has_fontSize= false;
\r
340 } //-- void deleteFontSize()
\r
343 * Method deleteFontStyle
\r
346 public void deleteFontStyle()
\r
348 this._has_fontStyle= false;
\r
349 } //-- void deleteFontStyle()
\r
352 * Method deleteHeight
\r
355 public void deleteHeight()
\r
357 this._has_height= false;
\r
358 } //-- void deleteHeight()
\r
361 * Method deletePidSelected
\r
364 public void deletePidSelected()
\r
366 this._has_pidSelected= false;
\r
367 } //-- void deletePidSelected()
\r
370 * Method deletePidThreshold
\r
373 public void deletePidThreshold()
\r
375 this._has_pidThreshold= false;
\r
376 } //-- void deletePidThreshold()
\r
379 * Method deleteRenderGaps
\r
382 public void deleteRenderGaps()
\r
384 this._has_renderGaps= false;
\r
385 } //-- void deleteRenderGaps()
\r
388 * Method deleteShowAnnotation
\r
391 public void deleteShowAnnotation()
\r
393 this._has_showAnnotation= false;
\r
394 } //-- void deleteShowAnnotation()
\r
397 * Method deleteShowBoxes
\r
400 public void deleteShowBoxes()
\r
402 this._has_showBoxes= false;
\r
403 } //-- void deleteShowBoxes()
\r
406 * Method deleteShowColourText
\r
409 public void deleteShowColourText()
\r
411 this._has_showColourText= false;
\r
412 } //-- void deleteShowColourText()
\r
415 * Method deleteShowConservation
\r
418 public void deleteShowConservation()
\r
420 this._has_showConservation= false;
\r
421 } //-- void deleteShowConservation()
\r
424 * Method deleteShowFullId
\r
427 public void deleteShowFullId()
\r
429 this._has_showFullId= false;
\r
430 } //-- void deleteShowFullId()
\r
433 * Method deleteShowIdentity
\r
436 public void deleteShowIdentity()
\r
438 this._has_showIdentity= false;
\r
439 } //-- void deleteShowIdentity()
\r
442 * Method deleteShowQuality
\r
445 public void deleteShowQuality()
\r
447 this._has_showQuality= false;
\r
448 } //-- void deleteShowQuality()
\r
451 * Method deleteShowSequenceFeatures
\r
454 public void deleteShowSequenceFeatures()
\r
456 this._has_showSequenceFeatures= false;
\r
457 } //-- void deleteShowSequenceFeatures()
\r
460 * Method deleteShowText
\r
463 public void deleteShowText()
\r
465 this._has_showText= false;
\r
466 } //-- void deleteShowText()
\r
469 * Method deleteStartRes
\r
472 public void deleteStartRes()
\r
474 this._has_startRes= false;
\r
475 } //-- void deleteStartRes()
\r
478 * Method deleteStartSeq
\r
481 public void deleteStartSeq()
\r
483 this._has_startSeq= false;
\r
484 } //-- void deleteStartSeq()
\r
487 * Method deleteWidth
\r
490 public void deleteWidth()
\r
492 this._has_width= false;
\r
493 } //-- void deleteWidth()
\r
496 * Method deleteWrapAlignment
\r
499 public void deleteWrapAlignment()
\r
501 this._has_wrapAlignment= false;
\r
502 } //-- void deleteWrapAlignment()
\r
505 * Method deleteXpos
\r
508 public void deleteXpos()
\r
510 this._has_xpos= false;
\r
511 } //-- void deleteXpos()
\r
514 * Method deleteYpos
\r
517 public void deleteYpos()
\r
519 this._has_ypos= false;
\r
520 } //-- void deleteYpos()
\r
523 * Returns the value of field 'bgColour'.
\r
526 * @return the value of field 'bgColour'.
\r
528 public java.lang.String getBgColour()
\r
530 return this._bgColour;
\r
531 } //-- java.lang.String getBgColour()
\r
534 * Returns the value of field 'consThreshold'.
\r
537 * @return the value of field 'consThreshold'.
\r
539 public int getConsThreshold()
\r
541 return this._consThreshold;
\r
542 } //-- int getConsThreshold()
\r
545 * Returns the value of field 'conservationSelected'.
\r
548 * @return the value of field 'conservationSelected'.
\r
550 public boolean getConservationSelected()
\r
552 return this._conservationSelected;
\r
553 } //-- boolean getConservationSelected()
\r
556 * Returns the value of field 'fontName'.
\r
559 * @return the value of field 'fontName'.
\r
561 public java.lang.String getFontName()
\r
563 return this._fontName;
\r
564 } //-- java.lang.String getFontName()
\r
567 * Returns the value of field 'fontSize'.
\r
570 * @return the value of field 'fontSize'.
\r
572 public int getFontSize()
\r
574 return this._fontSize;
\r
575 } //-- int getFontSize()
\r
578 * Returns the value of field 'fontStyle'.
\r
581 * @return the value of field 'fontStyle'.
\r
583 public int getFontStyle()
\r
585 return this._fontStyle;
\r
586 } //-- int getFontStyle()
\r
589 * Returns the value of field 'height'.
\r
592 * @return the value of field 'height'.
\r
594 public int getHeight()
\r
596 return this._height;
\r
597 } //-- int getHeight()
\r
600 * Returns the value of field 'pidSelected'.
\r
603 * @return the value of field 'pidSelected'.
\r
605 public boolean getPidSelected()
\r
607 return this._pidSelected;
\r
608 } //-- boolean getPidSelected()
\r
611 * Returns the value of field 'pidThreshold'.
\r
614 * @return the value of field 'pidThreshold'.
\r
616 public int getPidThreshold()
\r
618 return this._pidThreshold;
\r
619 } //-- int getPidThreshold()
\r
622 * Returns the value of field 'renderGaps'.
\r
625 * @return the value of field 'renderGaps'.
\r
627 public boolean getRenderGaps()
\r
629 return this._renderGaps;
\r
630 } //-- boolean getRenderGaps()
\r
633 * Returns the value of field 'showAnnotation'.
\r
636 * @return the value of field 'showAnnotation'.
\r
638 public boolean getShowAnnotation()
\r
640 return this._showAnnotation;
\r
641 } //-- boolean getShowAnnotation()
\r
644 * Returns the value of field 'showBoxes'.
\r
647 * @return the value of field 'showBoxes'.
\r
649 public boolean getShowBoxes()
\r
651 return this._showBoxes;
\r
652 } //-- boolean getShowBoxes()
\r
655 * Returns the value of field 'showColourText'.
\r
658 * @return the value of field 'showColourText'.
\r
660 public boolean getShowColourText()
\r
662 return this._showColourText;
\r
663 } //-- boolean getShowColourText()
\r
666 * Returns the value of field 'showConservation'.
\r
669 * @return the value of field 'showConservation'.
\r
671 public boolean getShowConservation()
\r
673 return this._showConservation;
\r
674 } //-- boolean getShowConservation()
\r
677 * Returns the value of field 'showFullId'.
\r
680 * @return the value of field 'showFullId'.
\r
682 public boolean getShowFullId()
\r
684 return this._showFullId;
\r
685 } //-- boolean getShowFullId()
\r
688 * Returns the value of field 'showIdentity'.
\r
691 * @return the value of field 'showIdentity'.
\r
693 public boolean getShowIdentity()
\r
695 return this._showIdentity;
\r
696 } //-- boolean getShowIdentity()
\r
699 * Returns the value of field 'showQuality'.
\r
702 * @return the value of field 'showQuality'.
\r
704 public boolean getShowQuality()
\r
706 return this._showQuality;
\r
707 } //-- boolean getShowQuality()
\r
710 * Returns the value of field 'showSequenceFeatures'.
\r
713 * @return the value of field 'showSequenceFeatures'.
\r
715 public boolean getShowSequenceFeatures()
\r
717 return this._showSequenceFeatures;
\r
718 } //-- boolean getShowSequenceFeatures()
\r
721 * Returns the value of field 'showText'.
\r
724 * @return the value of field 'showText'.
\r
726 public boolean getShowText()
\r
728 return this._showText;
\r
729 } //-- boolean getShowText()
\r
732 * Returns the value of field 'startRes'.
\r
735 * @return the value of field 'startRes'.
\r
737 public int getStartRes()
\r
739 return this._startRes;
\r
740 } //-- int getStartRes()
\r
743 * Returns the value of field 'startSeq'.
\r
746 * @return the value of field 'startSeq'.
\r
748 public int getStartSeq()
\r
750 return this._startSeq;
\r
751 } //-- int getStartSeq()
\r
754 * Returns the value of field 'title'.
\r
757 * @return the value of field 'title'.
\r
759 public java.lang.String getTitle()
\r
761 return this._title;
\r
762 } //-- java.lang.String getTitle()
\r
765 * Returns the value of field 'width'.
\r
768 * @return the value of field 'width'.
\r
770 public int getWidth()
\r
772 return this._width;
\r
773 } //-- int getWidth()
\r
776 * Returns the value of field 'wrapAlignment'.
\r
779 * @return the value of field 'wrapAlignment'.
\r
781 public boolean getWrapAlignment()
\r
783 return this._wrapAlignment;
\r
784 } //-- boolean getWrapAlignment()
\r
787 * Returns the value of field 'xpos'.
\r
790 * @return the value of field 'xpos'.
\r
792 public int getXpos()
\r
795 } //-- int getXpos()
\r
798 * Returns the value of field 'ypos'.
\r
801 * @return the value of field 'ypos'.
\r
803 public int getYpos()
\r
806 } //-- int getYpos()
\r
809 * Method hasConsThreshold
\r
815 public boolean hasConsThreshold()
\r
817 return this._has_consThreshold;
\r
818 } //-- boolean hasConsThreshold()
\r
821 * Method hasConservationSelected
\r
827 public boolean hasConservationSelected()
\r
829 return this._has_conservationSelected;
\r
830 } //-- boolean hasConservationSelected()
\r
833 * Method hasFontSize
\r
839 public boolean hasFontSize()
\r
841 return this._has_fontSize;
\r
842 } //-- boolean hasFontSize()
\r
845 * Method hasFontStyle
\r
851 public boolean hasFontStyle()
\r
853 return this._has_fontStyle;
\r
854 } //-- boolean hasFontStyle()
\r
863 public boolean hasHeight()
\r
865 return this._has_height;
\r
866 } //-- boolean hasHeight()
\r
869 * Method hasPidSelected
\r
875 public boolean hasPidSelected()
\r
877 return this._has_pidSelected;
\r
878 } //-- boolean hasPidSelected()
\r
881 * Method hasPidThreshold
\r
887 public boolean hasPidThreshold()
\r
889 return this._has_pidThreshold;
\r
890 } //-- boolean hasPidThreshold()
\r
893 * Method hasRenderGaps
\r
899 public boolean hasRenderGaps()
\r
901 return this._has_renderGaps;
\r
902 } //-- boolean hasRenderGaps()
\r
905 * Method hasShowAnnotation
\r
911 public boolean hasShowAnnotation()
\r
913 return this._has_showAnnotation;
\r
914 } //-- boolean hasShowAnnotation()
\r
917 * Method hasShowBoxes
\r
923 public boolean hasShowBoxes()
\r
925 return this._has_showBoxes;
\r
926 } //-- boolean hasShowBoxes()
\r
929 * Method hasShowColourText
\r
935 public boolean hasShowColourText()
\r
937 return this._has_showColourText;
\r
938 } //-- boolean hasShowColourText()
\r
941 * Method hasShowConservation
\r
947 public boolean hasShowConservation()
\r
949 return this._has_showConservation;
\r
950 } //-- boolean hasShowConservation()
\r
953 * Method hasShowFullId
\r
959 public boolean hasShowFullId()
\r
961 return this._has_showFullId;
\r
962 } //-- boolean hasShowFullId()
\r
965 * Method hasShowIdentity
\r
971 public boolean hasShowIdentity()
\r
973 return this._has_showIdentity;
\r
974 } //-- boolean hasShowIdentity()
\r
977 * Method hasShowQuality
\r
983 public boolean hasShowQuality()
\r
985 return this._has_showQuality;
\r
986 } //-- boolean hasShowQuality()
\r
989 * Method hasShowSequenceFeatures
\r
995 public boolean hasShowSequenceFeatures()
\r
997 return this._has_showSequenceFeatures;
\r
998 } //-- boolean hasShowSequenceFeatures()
\r
1001 * Method hasShowText
\r
1007 public boolean hasShowText()
\r
1009 return this._has_showText;
\r
1010 } //-- boolean hasShowText()
\r
1013 * Method hasStartRes
\r
1019 public boolean hasStartRes()
\r
1021 return this._has_startRes;
\r
1022 } //-- boolean hasStartRes()
\r
1025 * Method hasStartSeq
\r
1031 public boolean hasStartSeq()
\r
1033 return this._has_startSeq;
\r
1034 } //-- boolean hasStartSeq()
\r
1043 public boolean hasWidth()
\r
1045 return this._has_width;
\r
1046 } //-- boolean hasWidth()
\r
1049 * Method hasWrapAlignment
\r
1055 public boolean hasWrapAlignment()
\r
1057 return this._has_wrapAlignment;
\r
1058 } //-- boolean hasWrapAlignment()
\r
1067 public boolean hasXpos()
\r
1069 return this._has_xpos;
\r
1070 } //-- boolean hasXpos()
\r
1079 public boolean hasYpos()
\r
1081 return this._has_ypos;
\r
1082 } //-- boolean hasYpos()
\r
1091 public boolean isValid()
\r
1096 catch (org.exolab.castor.xml.ValidationException vex) {
\r
1100 } //-- boolean isValid()
\r
1109 public void marshal(java.io.Writer out)
\r
1110 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1113 Marshaller.marshal(this, out);
\r
1114 } //-- void marshal(java.io.Writer)
\r
1123 public void marshal(org.xml.sax.ContentHandler handler)
\r
1124 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1127 Marshaller.marshal(this, handler);
\r
1128 } //-- void marshal(org.xml.sax.ContentHandler)
\r
1131 * Sets the value of field 'bgColour'.
\r
1133 * @param bgColour the value of field 'bgColour'.
\r
1135 public void setBgColour(java.lang.String bgColour)
\r
1137 this._bgColour = bgColour;
\r
1138 } //-- void setBgColour(java.lang.String)
\r
1141 * Sets the value of field 'consThreshold'.
\r
1143 * @param consThreshold the value of field 'consThreshold'.
\r
1145 public void setConsThreshold(int consThreshold)
\r
1147 this._consThreshold = consThreshold;
\r
1148 this._has_consThreshold = true;
\r
1149 } //-- void setConsThreshold(int)
\r
1152 * Sets the value of field 'conservationSelected'.
\r
1154 * @param conservationSelected the value of field
\r
1155 * 'conservationSelected'.
\r
1157 public void setConservationSelected(boolean conservationSelected)
\r
1159 this._conservationSelected = conservationSelected;
\r
1160 this._has_conservationSelected = true;
\r
1161 } //-- void setConservationSelected(boolean)
\r
1164 * Sets the value of field 'fontName'.
\r
1166 * @param fontName the value of field 'fontName'.
\r
1168 public void setFontName(java.lang.String fontName)
\r
1170 this._fontName = fontName;
\r
1171 } //-- void setFontName(java.lang.String)
\r
1174 * Sets the value of field 'fontSize'.
\r
1176 * @param fontSize the value of field 'fontSize'.
\r
1178 public void setFontSize(int fontSize)
\r
1180 this._fontSize = fontSize;
\r
1181 this._has_fontSize = true;
\r
1182 } //-- void setFontSize(int)
\r
1185 * Sets the value of field 'fontStyle'.
\r
1187 * @param fontStyle the value of field 'fontStyle'.
\r
1189 public void setFontStyle(int fontStyle)
\r
1191 this._fontStyle = fontStyle;
\r
1192 this._has_fontStyle = true;
\r
1193 } //-- void setFontStyle(int)
\r
1196 * Sets the value of field 'height'.
\r
1198 * @param height the value of field 'height'.
\r
1200 public void setHeight(int height)
\r
1202 this._height = height;
\r
1203 this._has_height = true;
\r
1204 } //-- void setHeight(int)
\r
1207 * Sets the value of field 'pidSelected'.
\r
1209 * @param pidSelected the value of field 'pidSelected'.
\r
1211 public void setPidSelected(boolean pidSelected)
\r
1213 this._pidSelected = pidSelected;
\r
1214 this._has_pidSelected = true;
\r
1215 } //-- void setPidSelected(boolean)
\r
1218 * Sets the value of field 'pidThreshold'.
\r
1220 * @param pidThreshold the value of field 'pidThreshold'.
\r
1222 public void setPidThreshold(int pidThreshold)
\r
1224 this._pidThreshold = pidThreshold;
\r
1225 this._has_pidThreshold = true;
\r
1226 } //-- void setPidThreshold(int)
\r
1229 * Sets the value of field 'renderGaps'.
\r
1231 * @param renderGaps the value of field 'renderGaps'.
\r
1233 public void setRenderGaps(boolean renderGaps)
\r
1235 this._renderGaps = renderGaps;
\r
1236 this._has_renderGaps = true;
\r
1237 } //-- void setRenderGaps(boolean)
\r
1240 * Sets the value of field 'showAnnotation'.
\r
1242 * @param showAnnotation the value of field 'showAnnotation'.
\r
1244 public void setShowAnnotation(boolean showAnnotation)
\r
1246 this._showAnnotation = showAnnotation;
\r
1247 this._has_showAnnotation = true;
\r
1248 } //-- void setShowAnnotation(boolean)
\r
1251 * Sets the value of field 'showBoxes'.
\r
1253 * @param showBoxes the value of field 'showBoxes'.
\r
1255 public void setShowBoxes(boolean showBoxes)
\r
1257 this._showBoxes = showBoxes;
\r
1258 this._has_showBoxes = true;
\r
1259 } //-- void setShowBoxes(boolean)
\r
1262 * Sets the value of field 'showColourText'.
\r
1264 * @param showColourText the value of field 'showColourText'.
\r
1266 public void setShowColourText(boolean showColourText)
\r
1268 this._showColourText = showColourText;
\r
1269 this._has_showColourText = true;
\r
1270 } //-- void setShowColourText(boolean)
\r
1273 * Sets the value of field 'showConservation'.
\r
1275 * @param showConservation the value of field 'showConservation'
\r
1277 public void setShowConservation(boolean showConservation)
\r
1279 this._showConservation = showConservation;
\r
1280 this._has_showConservation = true;
\r
1281 } //-- void setShowConservation(boolean)
\r
1284 * Sets the value of field 'showFullId'.
\r
1286 * @param showFullId the value of field 'showFullId'.
\r
1288 public void setShowFullId(boolean showFullId)
\r
1290 this._showFullId = showFullId;
\r
1291 this._has_showFullId = true;
\r
1292 } //-- void setShowFullId(boolean)
\r
1295 * Sets the value of field 'showIdentity'.
\r
1297 * @param showIdentity the value of field 'showIdentity'.
\r
1299 public void setShowIdentity(boolean showIdentity)
\r
1301 this._showIdentity = showIdentity;
\r
1302 this._has_showIdentity = true;
\r
1303 } //-- void setShowIdentity(boolean)
\r
1306 * Sets the value of field 'showQuality'.
\r
1308 * @param showQuality the value of field 'showQuality'.
\r
1310 public void setShowQuality(boolean showQuality)
\r
1312 this._showQuality = showQuality;
\r
1313 this._has_showQuality = true;
\r
1314 } //-- void setShowQuality(boolean)
\r
1317 * Sets the value of field 'showSequenceFeatures'.
\r
1319 * @param showSequenceFeatures the value of field
\r
1320 * 'showSequenceFeatures'.
\r
1322 public void setShowSequenceFeatures(boolean showSequenceFeatures)
\r
1324 this._showSequenceFeatures = showSequenceFeatures;
\r
1325 this._has_showSequenceFeatures = true;
\r
1326 } //-- void setShowSequenceFeatures(boolean)
\r
1329 * Sets the value of field 'showText'.
\r
1331 * @param showText the value of field 'showText'.
\r
1333 public void setShowText(boolean showText)
\r
1335 this._showText = showText;
\r
1336 this._has_showText = true;
\r
1337 } //-- void setShowText(boolean)
\r
1340 * Sets the value of field 'startRes'.
\r
1342 * @param startRes the value of field 'startRes'.
\r
1344 public void setStartRes(int startRes)
\r
1346 this._startRes = startRes;
\r
1347 this._has_startRes = true;
\r
1348 } //-- void setStartRes(int)
\r
1351 * Sets the value of field 'startSeq'.
\r
1353 * @param startSeq the value of field 'startSeq'.
\r
1355 public void setStartSeq(int startSeq)
\r
1357 this._startSeq = startSeq;
\r
1358 this._has_startSeq = true;
\r
1359 } //-- void setStartSeq(int)
\r
1362 * Sets the value of field 'title'.
\r
1364 * @param title the value of field 'title'.
\r
1366 public void setTitle(java.lang.String title)
\r
1368 this._title = title;
\r
1369 } //-- void setTitle(java.lang.String)
\r
1372 * Sets the value of field 'width'.
\r
1374 * @param width the value of field 'width'.
\r
1376 public void setWidth(int width)
\r
1378 this._width = width;
\r
1379 this._has_width = true;
\r
1380 } //-- void setWidth(int)
\r
1383 * Sets the value of field 'wrapAlignment'.
\r
1385 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
1387 public void setWrapAlignment(boolean wrapAlignment)
\r
1389 this._wrapAlignment = wrapAlignment;
\r
1390 this._has_wrapAlignment = true;
\r
1391 } //-- void setWrapAlignment(boolean)
\r
1394 * Sets the value of field 'xpos'.
\r
1396 * @param xpos the value of field 'xpos'.
\r
1398 public void setXpos(int xpos)
\r
1400 this._xpos = xpos;
\r
1401 this._has_xpos = true;
\r
1402 } //-- void setXpos(int)
\r
1405 * Sets the value of field 'ypos'.
\r
1407 * @param ypos the value of field 'ypos'.
\r
1409 public void setYpos(int ypos)
\r
1411 this._ypos = ypos;
\r
1412 this._has_ypos = true;
\r
1413 } //-- void setYpos(int)
\r
1416 * Method unmarshal
\r
1423 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
1424 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
1426 return (jalview.binding.Viewport) Unmarshaller.unmarshal(jalview.binding.Viewport.class, reader);
\r
1427 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
1433 public void validate()
\r
1434 throws org.exolab.castor.xml.ValidationException
\r
1436 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
1437 validator.validate(this);
\r
1438 } //-- void validate()
\r