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
20 * This class was automatically generated with
\r
21 * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
\r
25 package jalview.binding;
\r
27 import org.exolab.castor.xml.MarshalException;
\r
28 import org.exolab.castor.xml.Marshaller;
\r
29 import org.exolab.castor.xml.Unmarshaller;
\r
30 import org.exolab.castor.xml.ValidationException;
\r
32 import org.xml.sax.ContentHandler;
\r
34 //---------------------------------/
\r
35 //- Imported classes and packages -/
\r
36 //---------------------------------/
\r
37 import java.io.IOException;
\r
38 import java.io.Reader;
\r
39 import java.io.Serializable;
\r
40 import java.io.Writer;
\r
46 * @version $Revision$ $Date$
\r
48 public class Viewport implements java.io.Serializable {
\r
49 //--------------------------/
\r
50 //- Class/Member Variables -/
\r
51 //--------------------------/
\r
54 * Field _conservationSelected
\r
56 private boolean _conservationSelected;
\r
59 * keeps track of state for field: _conservationSelected
\r
61 private boolean _has_conservationSelected;
\r
64 * Field _pidSelected
\r
66 private boolean _pidSelected;
\r
69 * keeps track of state for field: _pidSelected
\r
71 private boolean _has_pidSelected;
\r
76 private java.lang.String _bgColour;
\r
79 * Field _consThreshold
\r
81 private int _consThreshold;
\r
84 * keeps track of state for field: _consThreshold
\r
86 private boolean _has_consThreshold;
\r
89 * Field _pidThreshold
\r
91 private int _pidThreshold;
\r
94 * keeps track of state for field: _pidThreshold
\r
96 private boolean _has_pidThreshold;
\r
101 private java.lang.String _title;
\r
104 * Field _showFullId
\r
106 private boolean _showFullId;
\r
109 * keeps track of state for field: _showFullId
\r
111 private boolean _has_showFullId;
\r
116 private boolean _showText;
\r
119 * keeps track of state for field: _showText
\r
121 private boolean _has_showText;
\r
124 * Field _showColourText
\r
126 private boolean _showColourText;
\r
129 * keeps track of state for field: _showColourText
\r
131 private boolean _has_showColourText;
\r
136 private boolean _showBoxes;
\r
139 * keeps track of state for field: _showBoxes
\r
141 private boolean _has_showBoxes;
\r
144 * Field _wrapAlignment
\r
146 private boolean _wrapAlignment;
\r
149 * keeps track of state for field: _wrapAlignment
\r
151 private boolean _has_wrapAlignment;
\r
154 * Field _renderGaps
\r
156 private boolean _renderGaps;
\r
159 * keeps track of state for field: _renderGaps
\r
161 private boolean _has_renderGaps;
\r
164 * Field _showSequenceFeatures
\r
166 private boolean _showSequenceFeatures;
\r
169 * keeps track of state for field: _showSequenceFeatures
\r
171 private boolean _has_showSequenceFeatures;
\r
174 * Field _showAnnotation
\r
176 private boolean _showAnnotation;
\r
179 * keeps track of state for field: _showAnnotation
\r
181 private boolean _has_showAnnotation;
\r
184 * Field _showConservation
\r
186 private boolean _showConservation;
\r
189 * keeps track of state for field: _showConservation
\r
191 private boolean _has_showConservation;
\r
194 * Field _showQuality
\r
196 private boolean _showQuality;
\r
199 * keeps track of state for field: _showQuality
\r
201 private boolean _has_showQuality;
\r
204 * Field _showIdentity
\r
206 private boolean _showIdentity;
\r
209 * keeps track of state for field: _showIdentity
\r
211 private boolean _has_showIdentity;
\r
219 * keeps track of state for field: _xpos
\r
221 private boolean _has_xpos;
\r
229 * keeps track of state for field: _ypos
\r
231 private boolean _has_ypos;
\r
236 private int _width;
\r
239 * keeps track of state for field: _width
\r
241 private boolean _has_width;
\r
246 private int _height;
\r
249 * keeps track of state for field: _height
\r
251 private boolean _has_height;
\r
256 private int _startRes;
\r
259 * keeps track of state for field: _startRes
\r
261 private boolean _has_startRes;
\r
266 private int _startSeq;
\r
269 * keeps track of state for field: _startSeq
\r
271 private boolean _has_startSeq;
\r
276 private java.lang.String _fontName;
\r
281 private int _fontSize;
\r
284 * keeps track of state for field: _fontSize
\r
286 private boolean _has_fontSize;
\r
291 private int _fontStyle;
\r
294 * keeps track of state for field: _fontStyle
\r
296 private boolean _has_fontStyle;
\r
298 //----------------/
\r
299 //- Constructors -/
\r
300 //----------------/
\r
301 public Viewport() {
\r
304 //-- jalview.binding.Viewport()
\r
307 public void deleteConsThreshold() {
\r
308 this._has_consThreshold = false;
\r
310 //-- void deleteConsThreshold()
\r
313 * Method deleteConservationSelected
\r
316 public void deleteConservationSelected() {
\r
317 this._has_conservationSelected = false;
\r
319 //-- void deleteConservationSelected()
\r
322 * Method deleteFontSize
\r
325 public void deleteFontSize() {
\r
326 this._has_fontSize = false;
\r
328 //-- void deleteFontSize()
\r
331 * Method deleteFontStyle
\r
334 public void deleteFontStyle() {
\r
335 this._has_fontStyle = false;
\r
337 //-- void deleteFontStyle()
\r
340 * Method deleteHeight
\r
343 public void deleteHeight() {
\r
344 this._has_height = false;
\r
346 //-- void deleteHeight()
\r
349 * Method deletePidSelected
\r
352 public void deletePidSelected() {
\r
353 this._has_pidSelected = false;
\r
355 //-- void deletePidSelected()
\r
358 * Method deletePidThreshold
\r
361 public void deletePidThreshold() {
\r
362 this._has_pidThreshold = false;
\r
364 //-- void deletePidThreshold()
\r
367 * Method deleteRenderGaps
\r
370 public void deleteRenderGaps() {
\r
371 this._has_renderGaps = false;
\r
373 //-- void deleteRenderGaps()
\r
376 * Method deleteShowAnnotation
\r
379 public void deleteShowAnnotation() {
\r
380 this._has_showAnnotation = false;
\r
382 //-- void deleteShowAnnotation()
\r
385 * Method deleteShowBoxes
\r
388 public void deleteShowBoxes() {
\r
389 this._has_showBoxes = false;
\r
391 //-- void deleteShowBoxes()
\r
394 * Method deleteShowColourText
\r
397 public void deleteShowColourText() {
\r
398 this._has_showColourText = false;
\r
400 //-- void deleteShowColourText()
\r
403 * Method deleteShowConservation
\r
406 public void deleteShowConservation() {
\r
407 this._has_showConservation = false;
\r
409 //-- void deleteShowConservation()
\r
412 * Method deleteShowFullId
\r
415 public void deleteShowFullId() {
\r
416 this._has_showFullId = false;
\r
418 //-- void deleteShowFullId()
\r
421 * Method deleteShowIdentity
\r
424 public void deleteShowIdentity() {
\r
425 this._has_showIdentity = false;
\r
427 //-- void deleteShowIdentity()
\r
430 * Method deleteShowQuality
\r
433 public void deleteShowQuality() {
\r
434 this._has_showQuality = false;
\r
436 //-- void deleteShowQuality()
\r
439 * Method deleteShowSequenceFeatures
\r
442 public void deleteShowSequenceFeatures() {
\r
443 this._has_showSequenceFeatures = false;
\r
445 //-- void deleteShowSequenceFeatures()
\r
448 * Method deleteShowText
\r
451 public void deleteShowText() {
\r
452 this._has_showText = false;
\r
454 //-- void deleteShowText()
\r
457 * Method deleteStartRes
\r
460 public void deleteStartRes() {
\r
461 this._has_startRes = false;
\r
463 //-- void deleteStartRes()
\r
466 * Method deleteStartSeq
\r
469 public void deleteStartSeq() {
\r
470 this._has_startSeq = false;
\r
472 //-- void deleteStartSeq()
\r
475 * Method deleteWidth
\r
478 public void deleteWidth() {
\r
479 this._has_width = false;
\r
481 //-- void deleteWidth()
\r
484 * Method deleteWrapAlignment
\r
487 public void deleteWrapAlignment() {
\r
488 this._has_wrapAlignment = false;
\r
490 //-- void deleteWrapAlignment()
\r
493 * Method deleteXpos
\r
496 public void deleteXpos() {
\r
497 this._has_xpos = false;
\r
499 //-- void deleteXpos()
\r
502 * Method deleteYpos
\r
505 public void deleteYpos() {
\r
506 this._has_ypos = false;
\r
508 //-- void deleteYpos()
\r
511 * Returns the value of field 'bgColour'.
\r
514 * @return the value of field 'bgColour'.
\r
516 public java.lang.String getBgColour() {
\r
517 return this._bgColour;
\r
519 //-- java.lang.String getBgColour()
\r
522 * Returns the value of field 'consThreshold'.
\r
525 * @return the value of field 'consThreshold'.
\r
527 public int getConsThreshold() {
\r
528 return this._consThreshold;
\r
530 //-- int getConsThreshold()
\r
533 * Returns the value of field 'conservationSelected'.
\r
536 * @return the value of field 'conservationSelected'.
\r
538 public boolean getConservationSelected() {
\r
539 return this._conservationSelected;
\r
541 //-- boolean getConservationSelected()
\r
544 * Returns the value of field 'fontName'.
\r
547 * @return the value of field 'fontName'.
\r
549 public java.lang.String getFontName() {
\r
550 return this._fontName;
\r
552 //-- java.lang.String getFontName()
\r
555 * Returns the value of field 'fontSize'.
\r
558 * @return the value of field 'fontSize'.
\r
560 public int getFontSize() {
\r
561 return this._fontSize;
\r
563 //-- int getFontSize()
\r
566 * Returns the value of field 'fontStyle'.
\r
569 * @return the value of field 'fontStyle'.
\r
571 public int getFontStyle() {
\r
572 return this._fontStyle;
\r
574 //-- int getFontStyle()
\r
577 * Returns the value of field 'height'.
\r
580 * @return the value of field 'height'.
\r
582 public int getHeight() {
\r
583 return this._height;
\r
585 //-- int getHeight()
\r
588 * Returns the value of field 'pidSelected'.
\r
591 * @return the value of field 'pidSelected'.
\r
593 public boolean getPidSelected() {
\r
594 return this._pidSelected;
\r
596 //-- boolean getPidSelected()
\r
599 * Returns the value of field 'pidThreshold'.
\r
602 * @return the value of field 'pidThreshold'.
\r
604 public int getPidThreshold() {
\r
605 return this._pidThreshold;
\r
607 //-- int getPidThreshold()
\r
610 * Returns the value of field 'renderGaps'.
\r
613 * @return the value of field 'renderGaps'.
\r
615 public boolean getRenderGaps() {
\r
616 return this._renderGaps;
\r
618 //-- boolean getRenderGaps()
\r
621 * Returns the value of field 'showAnnotation'.
\r
624 * @return the value of field 'showAnnotation'.
\r
626 public boolean getShowAnnotation() {
\r
627 return this._showAnnotation;
\r
629 //-- boolean getShowAnnotation()
\r
632 * Returns the value of field 'showBoxes'.
\r
635 * @return the value of field 'showBoxes'.
\r
637 public boolean getShowBoxes() {
\r
638 return this._showBoxes;
\r
640 //-- boolean getShowBoxes()
\r
643 * Returns the value of field 'showColourText'.
\r
646 * @return the value of field 'showColourText'.
\r
648 public boolean getShowColourText() {
\r
649 return this._showColourText;
\r
651 //-- boolean getShowColourText()
\r
654 * Returns the value of field 'showConservation'.
\r
657 * @return the value of field 'showConservation'.
\r
659 public boolean getShowConservation() {
\r
660 return this._showConservation;
\r
662 //-- boolean getShowConservation()
\r
665 * Returns the value of field 'showFullId'.
\r
668 * @return the value of field 'showFullId'.
\r
670 public boolean getShowFullId() {
\r
671 return this._showFullId;
\r
673 //-- boolean getShowFullId()
\r
676 * Returns the value of field 'showIdentity'.
\r
679 * @return the value of field 'showIdentity'.
\r
681 public boolean getShowIdentity() {
\r
682 return this._showIdentity;
\r
684 //-- boolean getShowIdentity()
\r
687 * Returns the value of field 'showQuality'.
\r
690 * @return the value of field 'showQuality'.
\r
692 public boolean getShowQuality() {
\r
693 return this._showQuality;
\r
695 //-- boolean getShowQuality()
\r
698 * Returns the value of field 'showSequenceFeatures'.
\r
701 * @return the value of field 'showSequenceFeatures'.
\r
703 public boolean getShowSequenceFeatures() {
\r
704 return this._showSequenceFeatures;
\r
706 //-- boolean getShowSequenceFeatures()
\r
709 * Returns the value of field 'showText'.
\r
712 * @return the value of field 'showText'.
\r
714 public boolean getShowText() {
\r
715 return this._showText;
\r
717 //-- boolean getShowText()
\r
720 * Returns the value of field 'startRes'.
\r
723 * @return the value of field 'startRes'.
\r
725 public int getStartRes() {
\r
726 return this._startRes;
\r
728 //-- int getStartRes()
\r
731 * Returns the value of field 'startSeq'.
\r
734 * @return the value of field 'startSeq'.
\r
736 public int getStartSeq() {
\r
737 return this._startSeq;
\r
739 //-- int getStartSeq()
\r
742 * Returns the value of field 'title'.
\r
745 * @return the value of field 'title'.
\r
747 public java.lang.String getTitle() {
\r
748 return this._title;
\r
750 //-- java.lang.String getTitle()
\r
753 * Returns the value of field 'width'.
\r
756 * @return the value of field 'width'.
\r
758 public int getWidth() {
\r
759 return this._width;
\r
761 //-- int getWidth()
\r
764 * Returns the value of field 'wrapAlignment'.
\r
767 * @return the value of field 'wrapAlignment'.
\r
769 public boolean getWrapAlignment() {
\r
770 return this._wrapAlignment;
\r
772 //-- boolean getWrapAlignment()
\r
775 * Returns the value of field 'xpos'.
\r
778 * @return the value of field 'xpos'.
\r
780 public int getXpos() {
\r
786 * Returns the value of field 'ypos'.
\r
789 * @return the value of field 'ypos'.
\r
791 public int getYpos() {
\r
797 * Method hasConsThreshold
\r
803 public boolean hasConsThreshold() {
\r
804 return this._has_consThreshold;
\r
806 //-- boolean hasConsThreshold()
\r
809 * Method hasConservationSelected
\r
815 public boolean hasConservationSelected() {
\r
816 return this._has_conservationSelected;
\r
818 //-- boolean hasConservationSelected()
\r
821 * Method hasFontSize
\r
827 public boolean hasFontSize() {
\r
828 return this._has_fontSize;
\r
830 //-- boolean hasFontSize()
\r
833 * Method hasFontStyle
\r
839 public boolean hasFontStyle() {
\r
840 return this._has_fontStyle;
\r
842 //-- boolean hasFontStyle()
\r
851 public boolean hasHeight() {
\r
852 return this._has_height;
\r
854 //-- boolean hasHeight()
\r
857 * Method hasPidSelected
\r
863 public boolean hasPidSelected() {
\r
864 return this._has_pidSelected;
\r
866 //-- boolean hasPidSelected()
\r
869 * Method hasPidThreshold
\r
875 public boolean hasPidThreshold() {
\r
876 return this._has_pidThreshold;
\r
878 //-- boolean hasPidThreshold()
\r
881 * Method hasRenderGaps
\r
887 public boolean hasRenderGaps() {
\r
888 return this._has_renderGaps;
\r
890 //-- boolean hasRenderGaps()
\r
893 * Method hasShowAnnotation
\r
899 public boolean hasShowAnnotation() {
\r
900 return this._has_showAnnotation;
\r
902 //-- boolean hasShowAnnotation()
\r
905 * Method hasShowBoxes
\r
911 public boolean hasShowBoxes() {
\r
912 return this._has_showBoxes;
\r
914 //-- boolean hasShowBoxes()
\r
917 * Method hasShowColourText
\r
923 public boolean hasShowColourText() {
\r
924 return this._has_showColourText;
\r
926 //-- boolean hasShowColourText()
\r
929 * Method hasShowConservation
\r
935 public boolean hasShowConservation() {
\r
936 return this._has_showConservation;
\r
938 //-- boolean hasShowConservation()
\r
941 * Method hasShowFullId
\r
947 public boolean hasShowFullId() {
\r
948 return this._has_showFullId;
\r
950 //-- boolean hasShowFullId()
\r
953 * Method hasShowIdentity
\r
959 public boolean hasShowIdentity() {
\r
960 return this._has_showIdentity;
\r
962 //-- boolean hasShowIdentity()
\r
965 * Method hasShowQuality
\r
971 public boolean hasShowQuality() {
\r
972 return this._has_showQuality;
\r
974 //-- boolean hasShowQuality()
\r
977 * Method hasShowSequenceFeatures
\r
983 public boolean hasShowSequenceFeatures() {
\r
984 return this._has_showSequenceFeatures;
\r
986 //-- boolean hasShowSequenceFeatures()
\r
989 * Method hasShowText
\r
995 public boolean hasShowText() {
\r
996 return this._has_showText;
\r
998 //-- boolean hasShowText()
\r
1001 * Method hasStartRes
\r
1007 public boolean hasStartRes() {
\r
1008 return this._has_startRes;
\r
1010 //-- boolean hasStartRes()
\r
1013 * Method hasStartSeq
\r
1019 public boolean hasStartSeq() {
\r
1020 return this._has_startSeq;
\r
1022 //-- boolean hasStartSeq()
\r
1031 public boolean hasWidth() {
\r
1032 return this._has_width;
\r
1034 //-- boolean hasWidth()
\r
1037 * Method hasWrapAlignment
\r
1043 public boolean hasWrapAlignment() {
\r
1044 return this._has_wrapAlignment;
\r
1046 //-- boolean hasWrapAlignment()
\r
1055 public boolean hasXpos() {
\r
1056 return this._has_xpos;
\r
1058 //-- boolean hasXpos()
\r
1067 public boolean hasYpos() {
\r
1068 return this._has_ypos;
\r
1070 //-- boolean hasYpos()
\r
1079 public boolean isValid() {
\r
1082 } catch (org.exolab.castor.xml.ValidationException vex) {
\r
1088 //-- boolean isValid()
\r
1097 public void marshal(java.io.Writer out)
\r
1098 throws org.exolab.castor.xml.MarshalException,
\r
1099 org.exolab.castor.xml.ValidationException {
\r
1100 Marshaller.marshal(this, out);
\r
1102 //-- void marshal(java.io.Writer)
\r
1111 public void marshal(org.xml.sax.ContentHandler handler)
\r
1112 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
1113 org.exolab.castor.xml.ValidationException {
\r
1114 Marshaller.marshal(this, handler);
\r
1116 //-- void marshal(org.xml.sax.ContentHandler)
\r
1119 * Sets the value of field 'bgColour'.
\r
1121 * @param bgColour the value of field 'bgColour'.
\r
1123 public void setBgColour(java.lang.String bgColour) {
\r
1124 this._bgColour = bgColour;
\r
1126 //-- void setBgColour(java.lang.String)
\r
1129 * Sets the value of field 'consThreshold'.
\r
1131 * @param consThreshold the value of field 'consThreshold'.
\r
1133 public void setConsThreshold(int consThreshold) {
\r
1134 this._consThreshold = consThreshold;
\r
1135 this._has_consThreshold = true;
\r
1137 //-- void setConsThreshold(int)
\r
1140 * Sets the value of field 'conservationSelected'.
\r
1142 * @param conservationSelected the value of field
\r
1143 * 'conservationSelected'.
\r
1145 public void setConservationSelected(boolean conservationSelected) {
\r
1146 this._conservationSelected = conservationSelected;
\r
1147 this._has_conservationSelected = true;
\r
1149 //-- void setConservationSelected(boolean)
\r
1152 * Sets the value of field 'fontName'.
\r
1154 * @param fontName the value of field 'fontName'.
\r
1156 public void setFontName(java.lang.String fontName) {
\r
1157 this._fontName = fontName;
\r
1159 //-- void setFontName(java.lang.String)
\r
1162 * Sets the value of field 'fontSize'.
\r
1164 * @param fontSize the value of field 'fontSize'.
\r
1166 public void setFontSize(int fontSize) {
\r
1167 this._fontSize = fontSize;
\r
1168 this._has_fontSize = true;
\r
1170 //-- void setFontSize(int)
\r
1173 * Sets the value of field 'fontStyle'.
\r
1175 * @param fontStyle the value of field 'fontStyle'.
\r
1177 public void setFontStyle(int fontStyle) {
\r
1178 this._fontStyle = fontStyle;
\r
1179 this._has_fontStyle = true;
\r
1181 //-- void setFontStyle(int)
\r
1184 * Sets the value of field 'height'.
\r
1186 * @param height the value of field 'height'.
\r
1188 public void setHeight(int height) {
\r
1189 this._height = height;
\r
1190 this._has_height = true;
\r
1192 //-- void setHeight(int)
\r
1195 * Sets the value of field 'pidSelected'.
\r
1197 * @param pidSelected the value of field 'pidSelected'.
\r
1199 public void setPidSelected(boolean pidSelected) {
\r
1200 this._pidSelected = pidSelected;
\r
1201 this._has_pidSelected = true;
\r
1203 //-- void setPidSelected(boolean)
\r
1206 * Sets the value of field 'pidThreshold'.
\r
1208 * @param pidThreshold the value of field 'pidThreshold'.
\r
1210 public void setPidThreshold(int pidThreshold) {
\r
1211 this._pidThreshold = pidThreshold;
\r
1212 this._has_pidThreshold = true;
\r
1214 //-- void setPidThreshold(int)
\r
1217 * Sets the value of field 'renderGaps'.
\r
1219 * @param renderGaps the value of field 'renderGaps'.
\r
1221 public void setRenderGaps(boolean renderGaps) {
\r
1222 this._renderGaps = renderGaps;
\r
1223 this._has_renderGaps = true;
\r
1225 //-- void setRenderGaps(boolean)
\r
1228 * Sets the value of field 'showAnnotation'.
\r
1230 * @param showAnnotation the value of field 'showAnnotation'.
\r
1232 public void setShowAnnotation(boolean showAnnotation) {
\r
1233 this._showAnnotation = showAnnotation;
\r
1234 this._has_showAnnotation = true;
\r
1236 //-- void setShowAnnotation(boolean)
\r
1239 * Sets the value of field 'showBoxes'.
\r
1241 * @param showBoxes the value of field 'showBoxes'.
\r
1243 public void setShowBoxes(boolean showBoxes) {
\r
1244 this._showBoxes = showBoxes;
\r
1245 this._has_showBoxes = true;
\r
1247 //-- void setShowBoxes(boolean)
\r
1250 * Sets the value of field 'showColourText'.
\r
1252 * @param showColourText the value of field 'showColourText'.
\r
1254 public void setShowColourText(boolean showColourText) {
\r
1255 this._showColourText = showColourText;
\r
1256 this._has_showColourText = true;
\r
1258 //-- void setShowColourText(boolean)
\r
1261 * Sets the value of field 'showConservation'.
\r
1263 * @param showConservation the value of field 'showConservation'
\r
1265 public void setShowConservation(boolean showConservation) {
\r
1266 this._showConservation = showConservation;
\r
1267 this._has_showConservation = true;
\r
1269 //-- void setShowConservation(boolean)
\r
1272 * Sets the value of field 'showFullId'.
\r
1274 * @param showFullId the value of field 'showFullId'.
\r
1276 public void setShowFullId(boolean showFullId) {
\r
1277 this._showFullId = showFullId;
\r
1278 this._has_showFullId = true;
\r
1280 //-- void setShowFullId(boolean)
\r
1283 * Sets the value of field 'showIdentity'.
\r
1285 * @param showIdentity the value of field 'showIdentity'.
\r
1287 public void setShowIdentity(boolean showIdentity) {
\r
1288 this._showIdentity = showIdentity;
\r
1289 this._has_showIdentity = true;
\r
1291 //-- void setShowIdentity(boolean)
\r
1294 * Sets the value of field 'showQuality'.
\r
1296 * @param showQuality the value of field 'showQuality'.
\r
1298 public void setShowQuality(boolean showQuality) {
\r
1299 this._showQuality = showQuality;
\r
1300 this._has_showQuality = true;
\r
1302 //-- void setShowQuality(boolean)
\r
1305 * Sets the value of field 'showSequenceFeatures'.
\r
1307 * @param showSequenceFeatures the value of field
\r
1308 * 'showSequenceFeatures'.
\r
1310 public void setShowSequenceFeatures(boolean showSequenceFeatures) {
\r
1311 this._showSequenceFeatures = showSequenceFeatures;
\r
1312 this._has_showSequenceFeatures = true;
\r
1314 //-- void setShowSequenceFeatures(boolean)
\r
1317 * Sets the value of field 'showText'.
\r
1319 * @param showText the value of field 'showText'.
\r
1321 public void setShowText(boolean showText) {
\r
1322 this._showText = showText;
\r
1323 this._has_showText = true;
\r
1325 //-- void setShowText(boolean)
\r
1328 * Sets the value of field 'startRes'.
\r
1330 * @param startRes the value of field 'startRes'.
\r
1332 public void setStartRes(int startRes) {
\r
1333 this._startRes = startRes;
\r
1334 this._has_startRes = true;
\r
1336 //-- void setStartRes(int)
\r
1339 * Sets the value of field 'startSeq'.
\r
1341 * @param startSeq the value of field 'startSeq'.
\r
1343 public void setStartSeq(int startSeq) {
\r
1344 this._startSeq = startSeq;
\r
1345 this._has_startSeq = true;
\r
1347 //-- void setStartSeq(int)
\r
1350 * Sets the value of field 'title'.
\r
1352 * @param title the value of field 'title'.
\r
1354 public void setTitle(java.lang.String title) {
\r
1355 this._title = title;
\r
1357 //-- void setTitle(java.lang.String)
\r
1360 * Sets the value of field 'width'.
\r
1362 * @param width the value of field 'width'.
\r
1364 public void setWidth(int width) {
\r
1365 this._width = width;
\r
1366 this._has_width = true;
\r
1368 //-- void setWidth(int)
\r
1371 * Sets the value of field 'wrapAlignment'.
\r
1373 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
1375 public void setWrapAlignment(boolean wrapAlignment) {
\r
1376 this._wrapAlignment = wrapAlignment;
\r
1377 this._has_wrapAlignment = true;
\r
1379 //-- void setWrapAlignment(boolean)
\r
1382 * Sets the value of field 'xpos'.
\r
1384 * @param xpos the value of field 'xpos'.
\r
1386 public void setXpos(int xpos) {
\r
1387 this._xpos = xpos;
\r
1388 this._has_xpos = true;
\r
1390 //-- void setXpos(int)
\r
1393 * Sets the value of field 'ypos'.
\r
1395 * @param ypos the value of field 'ypos'.
\r
1397 public void setYpos(int ypos) {
\r
1398 this._ypos = ypos;
\r
1399 this._has_ypos = true;
\r
1401 //-- void setYpos(int)
\r
1404 * Method unmarshal
\r
1411 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
1412 throws org.exolab.castor.xml.MarshalException,
\r
1413 org.exolab.castor.xml.ValidationException {
\r
1414 return (jalview.binding.Viewport) Unmarshaller.unmarshal(jalview.binding.Viewport.class,
\r
1417 //-- java.lang.Object unmarshal(java.io.Reader)
\r
1423 public void validate() throws org.exolab.castor.xml.ValidationException {
\r
1424 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
1425 validator.validate(this);
\r
1427 //-- void validate()
\r