2 * This class was automatically generated with
\r
3 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
\r
8 package jalview.schemabinding.version2;
\r
10 //---------------------------------/
\r
11 //- Imported classes and packages -/
\r
12 //---------------------------------/
\r
14 import org.exolab.castor.xml.Marshaller;
\r
15 import org.exolab.castor.xml.Unmarshaller;
\r
20 * @version $Revision$ $Date$
\r
22 public class Viewport 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
80 * Field _showFullId.
\r
82 private boolean _showFullId;
\r
85 * keeps track of state for field: _showFullId
\r
87 private boolean _has_showFullId;
\r
90 * Field _rightAlignIds.
\r
92 private boolean _rightAlignIds;
\r
95 * keeps track of state for field: _rightAlignIds
\r
97 private boolean _has_rightAlignIds;
\r
102 private boolean _showText;
\r
105 * keeps track of state for field: _showText
\r
107 private boolean _has_showText;
\r
110 * Field _showColourText.
\r
112 private boolean _showColourText;
\r
115 * keeps track of state for field: _showColourText
\r
117 private boolean _has_showColourText;
\r
120 * Field _showUnconserved.
\r
122 private boolean _showUnconserved = false;
\r
125 * keeps track of state for field: _showUnconserved
\r
127 private boolean _has_showUnconserved;
\r
130 * Field _showBoxes.
\r
132 private boolean _showBoxes;
\r
135 * keeps track of state for field: _showBoxes
\r
137 private boolean _has_showBoxes;
\r
140 * Field _wrapAlignment.
\r
142 private boolean _wrapAlignment;
\r
145 * keeps track of state for field: _wrapAlignment
\r
147 private boolean _has_wrapAlignment;
\r
150 * Field _renderGaps.
\r
152 private boolean _renderGaps;
\r
155 * keeps track of state for field: _renderGaps
\r
157 private boolean _has_renderGaps;
\r
160 * Field _showSequenceFeatures.
\r
162 private boolean _showSequenceFeatures;
\r
165 * keeps track of state for field: _showSequenceFeatures
\r
167 private boolean _has_showSequenceFeatures;
\r
170 * Field _showNPfeatureTooltip.
\r
172 private boolean _showNPfeatureTooltip;
\r
175 * keeps track of state for field: _showNPfeatureTooltip
\r
177 private boolean _has_showNPfeatureTooltip;
\r
180 * Field _showDbRefTooltip.
\r
182 private boolean _showDbRefTooltip;
\r
185 * keeps track of state for field: _showDbRefTooltip
\r
187 private boolean _has_showDbRefTooltip;
\r
190 * Field _followHighlight.
\r
192 private boolean _followHighlight = true;
\r
195 * keeps track of state for field: _followHighlight
\r
197 private boolean _has_followHighlight;
\r
200 * Field _followSelection.
\r
202 private boolean _followSelection = true;
\r
205 * keeps track of state for field: _followSelection
\r
207 private boolean _has_followSelection;
\r
210 * Field _showAnnotation.
\r
212 private boolean _showAnnotation;
\r
215 * keeps track of state for field: _showAnnotation
\r
217 private boolean _has_showAnnotation;
\r
220 * Field _centreColumnLabels.
\r
222 private boolean _centreColumnLabels = false;
\r
225 * keeps track of state for field: _centreColumnLabels
\r
227 private boolean _has_centreColumnLabels;
\r
230 * Field _showGroupConservation.
\r
232 private boolean _showGroupConservation = false;
\r
235 * keeps track of state for field: _showGroupConservation
\r
237 private boolean _has_showGroupConservation;
\r
240 * Field _showGroupConsensus.
\r
242 private boolean _showGroupConsensus = false;
\r
245 * keeps track of state for field: _showGroupConsensus
\r
247 private boolean _has_showGroupConsensus;
\r
250 * Field _showConsensusHistogram.
\r
252 private boolean _showConsensusHistogram = true;
\r
255 * keeps track of state for field: _showConsensusHistogram
\r
257 private boolean _has_showConsensusHistogram;
\r
260 * Field _showSequenceLogo.
\r
262 private boolean _showSequenceLogo = false;
\r
265 * keeps track of state for field: _showSequenceLogo
\r
267 private boolean _has_showSequenceLogo;
\r
270 * Field _ignoreGapsinConsensus.
\r
272 private boolean _ignoreGapsinConsensus = true;
\r
275 * keeps track of state for field: _ignoreGapsinConsensus
\r
277 private boolean _has_ignoreGapsinConsensus;
\r
285 * keeps track of state for field: _xpos
\r
287 private boolean _has_xpos;
\r
295 * keeps track of state for field: _ypos
\r
297 private boolean _has_ypos;
\r
302 private int _width;
\r
305 * keeps track of state for field: _width
\r
307 private boolean _has_width;
\r
312 private int _height;
\r
315 * keeps track of state for field: _height
\r
317 private boolean _has_height;
\r
322 private int _startRes;
\r
325 * keeps track of state for field: _startRes
\r
327 private boolean _has_startRes;
\r
332 private int _startSeq;
\r
335 * keeps track of state for field: _startSeq
\r
337 private boolean _has_startSeq;
\r
342 private java.lang.String _fontName;
\r
347 private int _fontSize;
\r
350 * keeps track of state for field: _fontSize
\r
352 private boolean _has_fontSize;
\r
355 * Field _fontStyle.
\r
357 private int _fontStyle;
\r
360 * keeps track of state for field: _fontStyle
\r
362 private boolean _has_fontStyle;
\r
367 private java.lang.String _viewName;
\r
370 * Field _sequenceSetId.
\r
372 private java.lang.String _sequenceSetId;
\r
375 * Field _gatheredViews.
\r
377 private boolean _gatheredViews;
\r
380 * keeps track of state for field: _gatheredViews
\r
382 private boolean _has_gatheredViews;
\r
387 private int _textCol1;
\r
390 * keeps track of state for field: _textCol1
\r
392 private boolean _has_textCol1;
\r
397 private int _textCol2;
\r
400 * keeps track of state for field: _textCol2
\r
402 private boolean _has_textCol2;
\r
405 * Field _textColThreshold.
\r
407 private int _textColThreshold;
\r
410 * keeps track of state for field: _textColThreshold
\r
412 private boolean _has_textColThreshold;
\r
415 * unique id used by jalview to synchronize between stored and
\r
416 * instantiated views
\r
419 private java.lang.String _id;
\r
422 * Field _annotationColours.
\r
424 private jalview.schemabinding.version2.AnnotationColours _annotationColours;
\r
427 * Field _hiddenColumnsList.
\r
429 private java.util.Vector _hiddenColumnsList;
\r
432 //----------------/
\r
433 //- Constructors -/
\r
434 //----------------/
\r
436 public Viewport() {
\r
438 this._hiddenColumnsList = new java.util.Vector();
\r
449 * @param vHiddenColumns
\r
450 * @throws java.lang.IndexOutOfBoundsException if the index
\r
451 * given is outside the bounds of the collection
\r
453 public void addHiddenColumns(
\r
454 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
\r
455 throws java.lang.IndexOutOfBoundsException {
\r
456 this._hiddenColumnsList.addElement(vHiddenColumns);
\r
463 * @param vHiddenColumns
\r
464 * @throws java.lang.IndexOutOfBoundsException if the index
\r
465 * given is outside the bounds of the collection
\r
467 public void addHiddenColumns(
\r
469 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
\r
470 throws java.lang.IndexOutOfBoundsException {
\r
471 this._hiddenColumnsList.add(index, vHiddenColumns);
\r
476 public void deleteCentreColumnLabels(
\r
478 this._has_centreColumnLabels= false;
\r
483 public void deleteConsThreshold(
\r
485 this._has_consThreshold= false;
\r
490 public void deleteConservationSelected(
\r
492 this._has_conservationSelected= false;
\r
497 public void deleteFollowHighlight(
\r
499 this._has_followHighlight= false;
\r
504 public void deleteFollowSelection(
\r
506 this._has_followSelection= false;
\r
511 public void deleteFontSize(
\r
513 this._has_fontSize= false;
\r
518 public void deleteFontStyle(
\r
520 this._has_fontStyle= false;
\r
525 public void deleteGatheredViews(
\r
527 this._has_gatheredViews= false;
\r
532 public void deleteHeight(
\r
534 this._has_height= false;
\r
539 public void deleteIgnoreGapsinConsensus(
\r
541 this._has_ignoreGapsinConsensus= false;
\r
546 public void deletePidSelected(
\r
548 this._has_pidSelected= false;
\r
553 public void deletePidThreshold(
\r
555 this._has_pidThreshold= false;
\r
560 public void deleteRenderGaps(
\r
562 this._has_renderGaps= false;
\r
567 public void deleteRightAlignIds(
\r
569 this._has_rightAlignIds= false;
\r
574 public void deleteShowAnnotation(
\r
576 this._has_showAnnotation= false;
\r
581 public void deleteShowBoxes(
\r
583 this._has_showBoxes= false;
\r
588 public void deleteShowColourText(
\r
590 this._has_showColourText= false;
\r
595 public void deleteShowConsensusHistogram(
\r
597 this._has_showConsensusHistogram= false;
\r
602 public void deleteShowDbRefTooltip(
\r
604 this._has_showDbRefTooltip= false;
\r
609 public void deleteShowFullId(
\r
611 this._has_showFullId= false;
\r
616 public void deleteShowGroupConsensus(
\r
618 this._has_showGroupConsensus= false;
\r
623 public void deleteShowGroupConservation(
\r
625 this._has_showGroupConservation= false;
\r
630 public void deleteShowNPfeatureTooltip(
\r
632 this._has_showNPfeatureTooltip= false;
\r
637 public void deleteShowSequenceFeatures(
\r
639 this._has_showSequenceFeatures= false;
\r
644 public void deleteShowSequenceLogo(
\r
646 this._has_showSequenceLogo= false;
\r
651 public void deleteShowText(
\r
653 this._has_showText= false;
\r
658 public void deleteShowUnconserved(
\r
660 this._has_showUnconserved= false;
\r
665 public void deleteStartRes(
\r
667 this._has_startRes= false;
\r
672 public void deleteStartSeq(
\r
674 this._has_startSeq= false;
\r
679 public void deleteTextCol1(
\r
681 this._has_textCol1= false;
\r
686 public void deleteTextCol2(
\r
688 this._has_textCol2= false;
\r
693 public void deleteTextColThreshold(
\r
695 this._has_textColThreshold= false;
\r
700 public void deleteWidth(
\r
702 this._has_width= false;
\r
707 public void deleteWrapAlignment(
\r
709 this._has_wrapAlignment= false;
\r
714 public void deleteXpos(
\r
716 this._has_xpos= false;
\r
721 public void deleteYpos(
\r
723 this._has_ypos= false;
\r
727 * Method enumerateHiddenColumns.
\r
729 * @return an Enumeration over all
\r
730 * jalview.schemabinding.version2.HiddenColumns elements
\r
732 public java.util.Enumeration enumerateHiddenColumns(
\r
734 return this._hiddenColumnsList.elements();
\r
738 * Returns the value of field 'annotationColours'.
\r
740 * @return the value of field 'AnnotationColours'.
\r
742 public jalview.schemabinding.version2.AnnotationColours getAnnotationColours(
\r
744 return this._annotationColours;
\r
748 * Returns the value of field 'bgColour'.
\r
750 * @return the value of field 'BgColour'.
\r
752 public java.lang.String getBgColour(
\r
754 return this._bgColour;
\r
758 * Returns the value of field 'centreColumnLabels'.
\r
760 * @return the value of field 'CentreColumnLabels'.
\r
762 public boolean getCentreColumnLabels(
\r
764 return this._centreColumnLabels;
\r
768 * Returns the value of field 'consThreshold'.
\r
770 * @return the value of field 'ConsThreshold'.
\r
772 public int getConsThreshold(
\r
774 return this._consThreshold;
\r
778 * Returns the value of field 'conservationSelected'.
\r
780 * @return the value of field 'ConservationSelected'.
\r
782 public boolean getConservationSelected(
\r
784 return this._conservationSelected;
\r
788 * Returns the value of field 'followHighlight'.
\r
790 * @return the value of field 'FollowHighlight'.
\r
792 public boolean getFollowHighlight(
\r
794 return this._followHighlight;
\r
798 * Returns the value of field 'followSelection'.
\r
800 * @return the value of field 'FollowSelection'.
\r
802 public boolean getFollowSelection(
\r
804 return this._followSelection;
\r
808 * Returns the value of field 'fontName'.
\r
810 * @return the value of field 'FontName'.
\r
812 public java.lang.String getFontName(
\r
814 return this._fontName;
\r
818 * Returns the value of field 'fontSize'.
\r
820 * @return the value of field 'FontSize'.
\r
822 public int getFontSize(
\r
824 return this._fontSize;
\r
828 * Returns the value of field 'fontStyle'.
\r
830 * @return the value of field 'FontStyle'.
\r
832 public int getFontStyle(
\r
834 return this._fontStyle;
\r
838 * Returns the value of field 'gatheredViews'.
\r
840 * @return the value of field 'GatheredViews'.
\r
842 public boolean getGatheredViews(
\r
844 return this._gatheredViews;
\r
848 * Returns the value of field 'height'.
\r
850 * @return the value of field 'Height'.
\r
852 public int getHeight(
\r
854 return this._height;
\r
858 * Method getHiddenColumns.
\r
861 * @throws java.lang.IndexOutOfBoundsException if the index
\r
862 * given is outside the bounds of the collection
\r
863 * @return the value of the
\r
864 * jalview.schemabinding.version2.HiddenColumns at the given
\r
867 public jalview.schemabinding.version2.HiddenColumns getHiddenColumns(
\r
869 throws java.lang.IndexOutOfBoundsException {
\r
870 // check bounds for index
\r
871 if (index < 0 || index >= this._hiddenColumnsList.size()) {
\r
872 throw new IndexOutOfBoundsException("getHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
\r
875 return (jalview.schemabinding.version2.HiddenColumns) _hiddenColumnsList.get(index);
\r
879 * Method getHiddenColumns.Returns the contents of the
\r
880 * collection in an Array. <p>Note: Just in case the
\r
881 * collection contents are changing in another thread, we pass
\r
882 * a 0-length Array of the correct type into the API call.
\r
883 * This way we <i>know</i> that the Array returned is of
\r
884 * exactly the correct length.
\r
886 * @return this collection as an Array
\r
888 public jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns(
\r
890 jalview.schemabinding.version2.HiddenColumns[] array = new jalview.schemabinding.version2.HiddenColumns[0];
\r
891 return (jalview.schemabinding.version2.HiddenColumns[]) this._hiddenColumnsList.toArray(array);
\r
895 * Method getHiddenColumnsCount.
\r
897 * @return the size of this collection
\r
899 public int getHiddenColumnsCount(
\r
901 return this._hiddenColumnsList.size();
\r
905 * Returns the value of field 'id'. The field 'id' has the
\r
906 * following description: unique id used by jalview to
\r
907 * synchronize between stored and instantiated views
\r
910 * @return the value of field 'Id'.
\r
912 public java.lang.String getId(
\r
918 * Returns the value of field 'ignoreGapsinConsensus'.
\r
920 * @return the value of field 'IgnoreGapsinConsensus'.
\r
922 public boolean getIgnoreGapsinConsensus(
\r
924 return this._ignoreGapsinConsensus;
\r
928 * Returns the value of field 'pidSelected'.
\r
930 * @return the value of field 'PidSelected'.
\r
932 public boolean getPidSelected(
\r
934 return this._pidSelected;
\r
938 * Returns the value of field 'pidThreshold'.
\r
940 * @return the value of field 'PidThreshold'.
\r
942 public int getPidThreshold(
\r
944 return this._pidThreshold;
\r
948 * Returns the value of field 'renderGaps'.
\r
950 * @return the value of field 'RenderGaps'.
\r
952 public boolean getRenderGaps(
\r
954 return this._renderGaps;
\r
958 * Returns the value of field 'rightAlignIds'.
\r
960 * @return the value of field 'RightAlignIds'.
\r
962 public boolean getRightAlignIds(
\r
964 return this._rightAlignIds;
\r
968 * Returns the value of field 'sequenceSetId'.
\r
970 * @return the value of field 'SequenceSetId'.
\r
972 public java.lang.String getSequenceSetId(
\r
974 return this._sequenceSetId;
\r
978 * Returns the value of field 'showAnnotation'.
\r
980 * @return the value of field 'ShowAnnotation'.
\r
982 public boolean getShowAnnotation(
\r
984 return this._showAnnotation;
\r
988 * Returns the value of field 'showBoxes'.
\r
990 * @return the value of field 'ShowBoxes'.
\r
992 public boolean getShowBoxes(
\r
994 return this._showBoxes;
\r
998 * Returns the value of field 'showColourText'.
\r
1000 * @return the value of field 'ShowColourText'.
\r
1002 public boolean getShowColourText(
\r
1004 return this._showColourText;
\r
1008 * Returns the value of field 'showConsensusHistogram'.
\r
1010 * @return the value of field 'ShowConsensusHistogram'.
\r
1012 public boolean getShowConsensusHistogram(
\r
1014 return this._showConsensusHistogram;
\r
1018 * Returns the value of field 'showDbRefTooltip'.
\r
1020 * @return the value of field 'ShowDbRefTooltip'.
\r
1022 public boolean getShowDbRefTooltip(
\r
1024 return this._showDbRefTooltip;
\r
1028 * Returns the value of field 'showFullId'.
\r
1030 * @return the value of field 'ShowFullId'.
\r
1032 public boolean getShowFullId(
\r
1034 return this._showFullId;
\r
1038 * Returns the value of field 'showGroupConsensus'.
\r
1040 * @return the value of field 'ShowGroupConsensus'.
\r
1042 public boolean getShowGroupConsensus(
\r
1044 return this._showGroupConsensus;
\r
1048 * Returns the value of field 'showGroupConservation'.
\r
1050 * @return the value of field 'ShowGroupConservation'.
\r
1052 public boolean getShowGroupConservation(
\r
1054 return this._showGroupConservation;
\r
1058 * Returns the value of field 'showNPfeatureTooltip'.
\r
1060 * @return the value of field 'ShowNPfeatureTooltip'.
\r
1062 public boolean getShowNPfeatureTooltip(
\r
1064 return this._showNPfeatureTooltip;
\r
1068 * Returns the value of field 'showSequenceFeatures'.
\r
1070 * @return the value of field 'ShowSequenceFeatures'.
\r
1072 public boolean getShowSequenceFeatures(
\r
1074 return this._showSequenceFeatures;
\r
1078 * Returns the value of field 'showSequenceLogo'.
\r
1080 * @return the value of field 'ShowSequenceLogo'.
\r
1082 public boolean getShowSequenceLogo(
\r
1084 return this._showSequenceLogo;
\r
1088 * Returns the value of field 'showText'.
\r
1090 * @return the value of field 'ShowText'.
\r
1092 public boolean getShowText(
\r
1094 return this._showText;
\r
1098 * Returns the value of field 'showUnconserved'.
\r
1100 * @return the value of field 'ShowUnconserved'.
\r
1102 public boolean getShowUnconserved(
\r
1104 return this._showUnconserved;
\r
1108 * Returns the value of field 'startRes'.
\r
1110 * @return the value of field 'StartRes'.
\r
1112 public int getStartRes(
\r
1114 return this._startRes;
\r
1118 * Returns the value of field 'startSeq'.
\r
1120 * @return the value of field 'StartSeq'.
\r
1122 public int getStartSeq(
\r
1124 return this._startSeq;
\r
1128 * Returns the value of field 'textCol1'.
\r
1130 * @return the value of field 'TextCol1'.
\r
1132 public int getTextCol1(
\r
1134 return this._textCol1;
\r
1138 * Returns the value of field 'textCol2'.
\r
1140 * @return the value of field 'TextCol2'.
\r
1142 public int getTextCol2(
\r
1144 return this._textCol2;
\r
1148 * Returns the value of field 'textColThreshold'.
\r
1150 * @return the value of field 'TextColThreshold'.
\r
1152 public int getTextColThreshold(
\r
1154 return this._textColThreshold;
\r
1158 * Returns the value of field 'title'.
\r
1160 * @return the value of field 'Title'.
\r
1162 public java.lang.String getTitle(
\r
1164 return this._title;
\r
1168 * Returns the value of field 'viewName'.
\r
1170 * @return the value of field 'ViewName'.
\r
1172 public java.lang.String getViewName(
\r
1174 return this._viewName;
\r
1178 * Returns the value of field 'width'.
\r
1180 * @return the value of field 'Width'.
\r
1182 public int getWidth(
\r
1184 return this._width;
\r
1188 * Returns the value of field 'wrapAlignment'.
\r
1190 * @return the value of field 'WrapAlignment'.
\r
1192 public boolean getWrapAlignment(
\r
1194 return this._wrapAlignment;
\r
1198 * Returns the value of field 'xpos'.
\r
1200 * @return the value of field 'Xpos'.
\r
1202 public int getXpos(
\r
1204 return this._xpos;
\r
1208 * Returns the value of field 'ypos'.
\r
1210 * @return the value of field 'Ypos'.
\r
1212 public int getYpos(
\r
1214 return this._ypos;
\r
1218 * Method hasCentreColumnLabels.
\r
1220 * @return true if at least one CentreColumnLabels has been adde
\r
1222 public boolean hasCentreColumnLabels(
\r
1224 return this._has_centreColumnLabels;
\r
1228 * Method hasConsThreshold.
\r
1230 * @return true if at least one ConsThreshold has been added
\r
1232 public boolean hasConsThreshold(
\r
1234 return this._has_consThreshold;
\r
1238 * Method hasConservationSelected.
\r
1240 * @return true if at least one ConservationSelected has been
\r
1243 public boolean hasConservationSelected(
\r
1245 return this._has_conservationSelected;
\r
1249 * Method hasFollowHighlight.
\r
1251 * @return true if at least one FollowHighlight has been added
\r
1253 public boolean hasFollowHighlight(
\r
1255 return this._has_followHighlight;
\r
1259 * Method hasFollowSelection.
\r
1261 * @return true if at least one FollowSelection has been added
\r
1263 public boolean hasFollowSelection(
\r
1265 return this._has_followSelection;
\r
1269 * Method hasFontSize.
\r
1271 * @return true if at least one FontSize has been added
\r
1273 public boolean hasFontSize(
\r
1275 return this._has_fontSize;
\r
1279 * Method hasFontStyle.
\r
1281 * @return true if at least one FontStyle has been added
\r
1283 public boolean hasFontStyle(
\r
1285 return this._has_fontStyle;
\r
1289 * Method hasGatheredViews.
\r
1291 * @return true if at least one GatheredViews has been added
\r
1293 public boolean hasGatheredViews(
\r
1295 return this._has_gatheredViews;
\r
1299 * Method hasHeight.
\r
1301 * @return true if at least one Height has been added
\r
1303 public boolean hasHeight(
\r
1305 return this._has_height;
\r
1309 * Method hasIgnoreGapsinConsensus.
\r
1311 * @return true if at least one IgnoreGapsinConsensus has been
\r
1314 public boolean hasIgnoreGapsinConsensus(
\r
1316 return this._has_ignoreGapsinConsensus;
\r
1320 * Method hasPidSelected.
\r
1322 * @return true if at least one PidSelected has been added
\r
1324 public boolean hasPidSelected(
\r
1326 return this._has_pidSelected;
\r
1330 * Method hasPidThreshold.
\r
1332 * @return true if at least one PidThreshold has been added
\r
1334 public boolean hasPidThreshold(
\r
1336 return this._has_pidThreshold;
\r
1340 * Method hasRenderGaps.
\r
1342 * @return true if at least one RenderGaps has been added
\r
1344 public boolean hasRenderGaps(
\r
1346 return this._has_renderGaps;
\r
1350 * Method hasRightAlignIds.
\r
1352 * @return true if at least one RightAlignIds has been added
\r
1354 public boolean hasRightAlignIds(
\r
1356 return this._has_rightAlignIds;
\r
1360 * Method hasShowAnnotation.
\r
1362 * @return true if at least one ShowAnnotation has been added
\r
1364 public boolean hasShowAnnotation(
\r
1366 return this._has_showAnnotation;
\r
1370 * Method hasShowBoxes.
\r
1372 * @return true if at least one ShowBoxes has been added
\r
1374 public boolean hasShowBoxes(
\r
1376 return this._has_showBoxes;
\r
1380 * Method hasShowColourText.
\r
1382 * @return true if at least one ShowColourText has been added
\r
1384 public boolean hasShowColourText(
\r
1386 return this._has_showColourText;
\r
1390 * Method hasShowConsensusHistogram.
\r
1392 * @return true if at least one ShowConsensusHistogram has been
\r
1395 public boolean hasShowConsensusHistogram(
\r
1397 return this._has_showConsensusHistogram;
\r
1401 * Method hasShowDbRefTooltip.
\r
1403 * @return true if at least one ShowDbRefTooltip has been added
\r
1405 public boolean hasShowDbRefTooltip(
\r
1407 return this._has_showDbRefTooltip;
\r
1411 * Method hasShowFullId.
\r
1413 * @return true if at least one ShowFullId has been added
\r
1415 public boolean hasShowFullId(
\r
1417 return this._has_showFullId;
\r
1421 * Method hasShowGroupConsensus.
\r
1423 * @return true if at least one ShowGroupConsensus has been adde
\r
1425 public boolean hasShowGroupConsensus(
\r
1427 return this._has_showGroupConsensus;
\r
1431 * Method hasShowGroupConservation.
\r
1433 * @return true if at least one ShowGroupConservation has been
\r
1436 public boolean hasShowGroupConservation(
\r
1438 return this._has_showGroupConservation;
\r
1442 * Method hasShowNPfeatureTooltip.
\r
1444 * @return true if at least one ShowNPfeatureTooltip has been
\r
1447 public boolean hasShowNPfeatureTooltip(
\r
1449 return this._has_showNPfeatureTooltip;
\r
1453 * Method hasShowSequenceFeatures.
\r
1455 * @return true if at least one ShowSequenceFeatures has been
\r
1458 public boolean hasShowSequenceFeatures(
\r
1460 return this._has_showSequenceFeatures;
\r
1464 * Method hasShowSequenceLogo.
\r
1466 * @return true if at least one ShowSequenceLogo has been added
\r
1468 public boolean hasShowSequenceLogo(
\r
1470 return this._has_showSequenceLogo;
\r
1474 * Method hasShowText.
\r
1476 * @return true if at least one ShowText has been added
\r
1478 public boolean hasShowText(
\r
1480 return this._has_showText;
\r
1484 * Method hasShowUnconserved.
\r
1486 * @return true if at least one ShowUnconserved has been added
\r
1488 public boolean hasShowUnconserved(
\r
1490 return this._has_showUnconserved;
\r
1494 * Method hasStartRes.
\r
1496 * @return true if at least one StartRes has been added
\r
1498 public boolean hasStartRes(
\r
1500 return this._has_startRes;
\r
1504 * Method hasStartSeq.
\r
1506 * @return true if at least one StartSeq has been added
\r
1508 public boolean hasStartSeq(
\r
1510 return this._has_startSeq;
\r
1514 * Method hasTextCol1.
\r
1516 * @return true if at least one TextCol1 has been added
\r
1518 public boolean hasTextCol1(
\r
1520 return this._has_textCol1;
\r
1524 * Method hasTextCol2.
\r
1526 * @return true if at least one TextCol2 has been added
\r
1528 public boolean hasTextCol2(
\r
1530 return this._has_textCol2;
\r
1534 * Method hasTextColThreshold.
\r
1536 * @return true if at least one TextColThreshold has been added
\r
1538 public boolean hasTextColThreshold(
\r
1540 return this._has_textColThreshold;
\r
1544 * Method hasWidth.
\r
1546 * @return true if at least one Width has been added
\r
1548 public boolean hasWidth(
\r
1550 return this._has_width;
\r
1554 * Method hasWrapAlignment.
\r
1556 * @return true if at least one WrapAlignment has been added
\r
1558 public boolean hasWrapAlignment(
\r
1560 return this._has_wrapAlignment;
\r
1566 * @return true if at least one Xpos has been added
\r
1568 public boolean hasXpos(
\r
1570 return this._has_xpos;
\r
1576 * @return true if at least one Ypos has been added
\r
1578 public boolean hasYpos(
\r
1580 return this._has_ypos;
\r
1584 * Returns the value of field 'centreColumnLabels'.
\r
1586 * @return the value of field 'CentreColumnLabels'.
\r
1588 public boolean isCentreColumnLabels(
\r
1590 return this._centreColumnLabels;
\r
1594 * Returns the value of field 'conservationSelected'.
\r
1596 * @return the value of field 'ConservationSelected'.
\r
1598 public boolean isConservationSelected(
\r
1600 return this._conservationSelected;
\r
1604 * Returns the value of field 'followHighlight'.
\r
1606 * @return the value of field 'FollowHighlight'.
\r
1608 public boolean isFollowHighlight(
\r
1610 return this._followHighlight;
\r
1614 * Returns the value of field 'followSelection'.
\r
1616 * @return the value of field 'FollowSelection'.
\r
1618 public boolean isFollowSelection(
\r
1620 return this._followSelection;
\r
1624 * Returns the value of field 'gatheredViews'.
\r
1626 * @return the value of field 'GatheredViews'.
\r
1628 public boolean isGatheredViews(
\r
1630 return this._gatheredViews;
\r
1634 * Returns the value of field 'ignoreGapsinConsensus'.
\r
1636 * @return the value of field 'IgnoreGapsinConsensus'.
\r
1638 public boolean isIgnoreGapsinConsensus(
\r
1640 return this._ignoreGapsinConsensus;
\r
1644 * Returns the value of field 'pidSelected'.
\r
1646 * @return the value of field 'PidSelected'.
\r
1648 public boolean isPidSelected(
\r
1650 return this._pidSelected;
\r
1654 * Returns the value of field 'renderGaps'.
\r
1656 * @return the value of field 'RenderGaps'.
\r
1658 public boolean isRenderGaps(
\r
1660 return this._renderGaps;
\r
1664 * Returns the value of field 'rightAlignIds'.
\r
1666 * @return the value of field 'RightAlignIds'.
\r
1668 public boolean isRightAlignIds(
\r
1670 return this._rightAlignIds;
\r
1674 * Returns the value of field 'showAnnotation'.
\r
1676 * @return the value of field 'ShowAnnotation'.
\r
1678 public boolean isShowAnnotation(
\r
1680 return this._showAnnotation;
\r
1684 * Returns the value of field 'showBoxes'.
\r
1686 * @return the value of field 'ShowBoxes'.
\r
1688 public boolean isShowBoxes(
\r
1690 return this._showBoxes;
\r
1694 * Returns the value of field 'showColourText'.
\r
1696 * @return the value of field 'ShowColourText'.
\r
1698 public boolean isShowColourText(
\r
1700 return this._showColourText;
\r
1704 * Returns the value of field 'showConsensusHistogram'.
\r
1706 * @return the value of field 'ShowConsensusHistogram'.
\r
1708 public boolean isShowConsensusHistogram(
\r
1710 return this._showConsensusHistogram;
\r
1714 * Returns the value of field 'showDbRefTooltip'.
\r
1716 * @return the value of field 'ShowDbRefTooltip'.
\r
1718 public boolean isShowDbRefTooltip(
\r
1720 return this._showDbRefTooltip;
\r
1724 * Returns the value of field 'showFullId'.
\r
1726 * @return the value of field 'ShowFullId'.
\r
1728 public boolean isShowFullId(
\r
1730 return this._showFullId;
\r
1734 * Returns the value of field 'showGroupConsensus'.
\r
1736 * @return the value of field 'ShowGroupConsensus'.
\r
1738 public boolean isShowGroupConsensus(
\r
1740 return this._showGroupConsensus;
\r
1744 * Returns the value of field 'showGroupConservation'.
\r
1746 * @return the value of field 'ShowGroupConservation'.
\r
1748 public boolean isShowGroupConservation(
\r
1750 return this._showGroupConservation;
\r
1754 * Returns the value of field 'showNPfeatureTooltip'.
\r
1756 * @return the value of field 'ShowNPfeatureTooltip'.
\r
1758 public boolean isShowNPfeatureTooltip(
\r
1760 return this._showNPfeatureTooltip;
\r
1764 * Returns the value of field 'showSequenceFeatures'.
\r
1766 * @return the value of field 'ShowSequenceFeatures'.
\r
1768 public boolean isShowSequenceFeatures(
\r
1770 return this._showSequenceFeatures;
\r
1774 * Returns the value of field 'showSequenceLogo'.
\r
1776 * @return the value of field 'ShowSequenceLogo'.
\r
1778 public boolean isShowSequenceLogo(
\r
1780 return this._showSequenceLogo;
\r
1784 * Returns the value of field 'showText'.
\r
1786 * @return the value of field 'ShowText'.
\r
1788 public boolean isShowText(
\r
1790 return this._showText;
\r
1794 * Returns the value of field 'showUnconserved'.
\r
1796 * @return the value of field 'ShowUnconserved'.
\r
1798 public boolean isShowUnconserved(
\r
1800 return this._showUnconserved;
\r
1806 * @return true if this object is valid according to the schema
\r
1808 public boolean isValid(
\r
1812 } catch (org.exolab.castor.xml.ValidationException vex) {
\r
1819 * Returns the value of field 'wrapAlignment'.
\r
1821 * @return the value of field 'WrapAlignment'.
\r
1823 public boolean isWrapAlignment(
\r
1825 return this._wrapAlignment;
\r
1832 * @throws org.exolab.castor.xml.MarshalException if object is
\r
1833 * null or if any SAXException is thrown during marshaling
\r
1834 * @throws org.exolab.castor.xml.ValidationException if this
\r
1835 * object is an invalid instance according to the schema
\r
1837 public void marshal(
\r
1838 final java.io.Writer out)
\r
1839 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
\r
1840 Marshaller.marshal(this, out);
\r
1847 * @throws java.io.IOException if an IOException occurs during
\r
1849 * @throws org.exolab.castor.xml.ValidationException if this
\r
1850 * object is an invalid instance according to the schema
\r
1851 * @throws org.exolab.castor.xml.MarshalException if object is
\r
1852 * null or if any SAXException is thrown during marshaling
\r
1854 public void marshal(
\r
1855 final org.xml.sax.ContentHandler handler)
\r
1856 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
\r
1857 Marshaller.marshal(this, handler);
\r
1862 public void removeAllHiddenColumns(
\r
1864 this._hiddenColumnsList.clear();
\r
1868 * Method removeHiddenColumns.
\r
1870 * @param vHiddenColumns
\r
1871 * @return true if the object was removed from the collection.
\r
1873 public boolean removeHiddenColumns(
\r
1874 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns) {
\r
1875 boolean removed = _hiddenColumnsList.remove(vHiddenColumns);
\r
1880 * Method removeHiddenColumnsAt.
\r
1883 * @return the element removed from the collection
\r
1885 public jalview.schemabinding.version2.HiddenColumns removeHiddenColumnsAt(
\r
1886 final int index) {
\r
1887 java.lang.Object obj = this._hiddenColumnsList.remove(index);
\r
1888 return (jalview.schemabinding.version2.HiddenColumns) obj;
\r
1892 * Sets the value of field 'annotationColours'.
\r
1894 * @param annotationColours the value of field
\r
1895 * 'annotationColours'.
\r
1897 public void setAnnotationColours(
\r
1898 final jalview.schemabinding.version2.AnnotationColours annotationColours) {
\r
1899 this._annotationColours = annotationColours;
\r
1903 * Sets the value of field 'bgColour'.
\r
1905 * @param bgColour the value of field 'bgColour'.
\r
1907 public void setBgColour(
\r
1908 final java.lang.String bgColour) {
\r
1909 this._bgColour = bgColour;
\r
1913 * Sets the value of field 'centreColumnLabels'.
\r
1915 * @param centreColumnLabels the value of field
\r
1916 * 'centreColumnLabels'.
\r
1918 public void setCentreColumnLabels(
\r
1919 final boolean centreColumnLabels) {
\r
1920 this._centreColumnLabels = centreColumnLabels;
\r
1921 this._has_centreColumnLabels = true;
\r
1925 * Sets the value of field 'consThreshold'.
\r
1927 * @param consThreshold the value of field 'consThreshold'.
\r
1929 public void setConsThreshold(
\r
1930 final int consThreshold) {
\r
1931 this._consThreshold = consThreshold;
\r
1932 this._has_consThreshold = true;
\r
1936 * Sets the value of field 'conservationSelected'.
\r
1938 * @param conservationSelected the value of field
\r
1939 * 'conservationSelected'.
\r
1941 public void setConservationSelected(
\r
1942 final boolean conservationSelected) {
\r
1943 this._conservationSelected = conservationSelected;
\r
1944 this._has_conservationSelected = true;
\r
1948 * Sets the value of field 'followHighlight'.
\r
1950 * @param followHighlight the value of field 'followHighlight'.
\r
1952 public void setFollowHighlight(
\r
1953 final boolean followHighlight) {
\r
1954 this._followHighlight = followHighlight;
\r
1955 this._has_followHighlight = true;
\r
1959 * Sets the value of field 'followSelection'.
\r
1961 * @param followSelection the value of field 'followSelection'.
\r
1963 public void setFollowSelection(
\r
1964 final boolean followSelection) {
\r
1965 this._followSelection = followSelection;
\r
1966 this._has_followSelection = true;
\r
1970 * Sets the value of field 'fontName'.
\r
1972 * @param fontName the value of field 'fontName'.
\r
1974 public void setFontName(
\r
1975 final java.lang.String fontName) {
\r
1976 this._fontName = fontName;
\r
1980 * Sets the value of field 'fontSize'.
\r
1982 * @param fontSize the value of field 'fontSize'.
\r
1984 public void setFontSize(
\r
1985 final int fontSize) {
\r
1986 this._fontSize = fontSize;
\r
1987 this._has_fontSize = true;
\r
1991 * Sets the value of field 'fontStyle'.
\r
1993 * @param fontStyle the value of field 'fontStyle'.
\r
1995 public void setFontStyle(
\r
1996 final int fontStyle) {
\r
1997 this._fontStyle = fontStyle;
\r
1998 this._has_fontStyle = true;
\r
2002 * Sets the value of field 'gatheredViews'.
\r
2004 * @param gatheredViews the value of field 'gatheredViews'.
\r
2006 public void setGatheredViews(
\r
2007 final boolean gatheredViews) {
\r
2008 this._gatheredViews = gatheredViews;
\r
2009 this._has_gatheredViews = true;
\r
2013 * Sets the value of field 'height'.
\r
2015 * @param height the value of field 'height'.
\r
2017 public void setHeight(
\r
2018 final int height) {
\r
2019 this._height = height;
\r
2020 this._has_height = true;
\r
2027 * @param vHiddenColumns
\r
2028 * @throws java.lang.IndexOutOfBoundsException if the index
\r
2029 * given is outside the bounds of the collection
\r
2031 public void setHiddenColumns(
\r
2033 final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
\r
2034 throws java.lang.IndexOutOfBoundsException {
\r
2035 // check bounds for index
\r
2036 if (index < 0 || index >= this._hiddenColumnsList.size()) {
\r
2037 throw new IndexOutOfBoundsException("setHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
\r
2040 this._hiddenColumnsList.set(index, vHiddenColumns);
\r
2046 * @param vHiddenColumnsArray
\r
2048 public void setHiddenColumns(
\r
2049 final jalview.schemabinding.version2.HiddenColumns[] vHiddenColumnsArray) {
\r
2051 _hiddenColumnsList.clear();
\r
2053 for (int i = 0; i < vHiddenColumnsArray.length; i++) {
\r
2054 this._hiddenColumnsList.add(vHiddenColumnsArray[i]);
\r
2059 * Sets the value of field 'id'. The field 'id' has the
\r
2060 * following description: unique id used by jalview to
\r
2061 * synchronize between stored and instantiated views
\r
2064 * @param id the value of field 'id'.
\r
2066 public void setId(
\r
2067 final java.lang.String id) {
\r
2072 * Sets the value of field 'ignoreGapsinConsensus'.
\r
2074 * @param ignoreGapsinConsensus the value of field
\r
2075 * 'ignoreGapsinConsensus'.
\r
2077 public void setIgnoreGapsinConsensus(
\r
2078 final boolean ignoreGapsinConsensus) {
\r
2079 this._ignoreGapsinConsensus = ignoreGapsinConsensus;
\r
2080 this._has_ignoreGapsinConsensus = true;
\r
2084 * Sets the value of field 'pidSelected'.
\r
2086 * @param pidSelected the value of field 'pidSelected'.
\r
2088 public void setPidSelected(
\r
2089 final boolean pidSelected) {
\r
2090 this._pidSelected = pidSelected;
\r
2091 this._has_pidSelected = true;
\r
2095 * Sets the value of field 'pidThreshold'.
\r
2097 * @param pidThreshold the value of field 'pidThreshold'.
\r
2099 public void setPidThreshold(
\r
2100 final int pidThreshold) {
\r
2101 this._pidThreshold = pidThreshold;
\r
2102 this._has_pidThreshold = true;
\r
2106 * Sets the value of field 'renderGaps'.
\r
2108 * @param renderGaps the value of field 'renderGaps'.
\r
2110 public void setRenderGaps(
\r
2111 final boolean renderGaps) {
\r
2112 this._renderGaps = renderGaps;
\r
2113 this._has_renderGaps = true;
\r
2117 * Sets the value of field 'rightAlignIds'.
\r
2119 * @param rightAlignIds the value of field 'rightAlignIds'.
\r
2121 public void setRightAlignIds(
\r
2122 final boolean rightAlignIds) {
\r
2123 this._rightAlignIds = rightAlignIds;
\r
2124 this._has_rightAlignIds = true;
\r
2128 * Sets the value of field 'sequenceSetId'.
\r
2130 * @param sequenceSetId the value of field 'sequenceSetId'.
\r
2132 public void setSequenceSetId(
\r
2133 final java.lang.String sequenceSetId) {
\r
2134 this._sequenceSetId = sequenceSetId;
\r
2138 * Sets the value of field 'showAnnotation'.
\r
2140 * @param showAnnotation the value of field 'showAnnotation'.
\r
2142 public void setShowAnnotation(
\r
2143 final boolean showAnnotation) {
\r
2144 this._showAnnotation = showAnnotation;
\r
2145 this._has_showAnnotation = true;
\r
2149 * Sets the value of field 'showBoxes'.
\r
2151 * @param showBoxes the value of field 'showBoxes'.
\r
2153 public void setShowBoxes(
\r
2154 final boolean showBoxes) {
\r
2155 this._showBoxes = showBoxes;
\r
2156 this._has_showBoxes = true;
\r
2160 * Sets the value of field 'showColourText'.
\r
2162 * @param showColourText the value of field 'showColourText'.
\r
2164 public void setShowColourText(
\r
2165 final boolean showColourText) {
\r
2166 this._showColourText = showColourText;
\r
2167 this._has_showColourText = true;
\r
2171 * Sets the value of field 'showConsensusHistogram'.
\r
2173 * @param showConsensusHistogram the value of field
\r
2174 * 'showConsensusHistogram'.
\r
2176 public void setShowConsensusHistogram(
\r
2177 final boolean showConsensusHistogram) {
\r
2178 this._showConsensusHistogram = showConsensusHistogram;
\r
2179 this._has_showConsensusHistogram = true;
\r
2183 * Sets the value of field 'showDbRefTooltip'.
\r
2185 * @param showDbRefTooltip the value of field 'showDbRefTooltip'
\r
2187 public void setShowDbRefTooltip(
\r
2188 final boolean showDbRefTooltip) {
\r
2189 this._showDbRefTooltip = showDbRefTooltip;
\r
2190 this._has_showDbRefTooltip = true;
\r
2194 * Sets the value of field 'showFullId'.
\r
2196 * @param showFullId the value of field 'showFullId'.
\r
2198 public void setShowFullId(
\r
2199 final boolean showFullId) {
\r
2200 this._showFullId = showFullId;
\r
2201 this._has_showFullId = true;
\r
2205 * Sets the value of field 'showGroupConsensus'.
\r
2207 * @param showGroupConsensus the value of field
\r
2208 * 'showGroupConsensus'.
\r
2210 public void setShowGroupConsensus(
\r
2211 final boolean showGroupConsensus) {
\r
2212 this._showGroupConsensus = showGroupConsensus;
\r
2213 this._has_showGroupConsensus = true;
\r
2217 * Sets the value of field 'showGroupConservation'.
\r
2219 * @param showGroupConservation the value of field
\r
2220 * 'showGroupConservation'.
\r
2222 public void setShowGroupConservation(
\r
2223 final boolean showGroupConservation) {
\r
2224 this._showGroupConservation = showGroupConservation;
\r
2225 this._has_showGroupConservation = true;
\r
2229 * Sets the value of field 'showNPfeatureTooltip'.
\r
2231 * @param showNPfeatureTooltip the value of field
\r
2232 * 'showNPfeatureTooltip'.
\r
2234 public void setShowNPfeatureTooltip(
\r
2235 final boolean showNPfeatureTooltip) {
\r
2236 this._showNPfeatureTooltip = showNPfeatureTooltip;
\r
2237 this._has_showNPfeatureTooltip = true;
\r
2241 * Sets the value of field 'showSequenceFeatures'.
\r
2243 * @param showSequenceFeatures the value of field
\r
2244 * 'showSequenceFeatures'.
\r
2246 public void setShowSequenceFeatures(
\r
2247 final boolean showSequenceFeatures) {
\r
2248 this._showSequenceFeatures = showSequenceFeatures;
\r
2249 this._has_showSequenceFeatures = true;
\r
2253 * Sets the value of field 'showSequenceLogo'.
\r
2255 * @param showSequenceLogo the value of field 'showSequenceLogo'
\r
2257 public void setShowSequenceLogo(
\r
2258 final boolean showSequenceLogo) {
\r
2259 this._showSequenceLogo = showSequenceLogo;
\r
2260 this._has_showSequenceLogo = true;
\r
2264 * Sets the value of field 'showText'.
\r
2266 * @param showText the value of field 'showText'.
\r
2268 public void setShowText(
\r
2269 final boolean showText) {
\r
2270 this._showText = showText;
\r
2271 this._has_showText = true;
\r
2275 * Sets the value of field 'showUnconserved'.
\r
2277 * @param showUnconserved the value of field 'showUnconserved'.
\r
2279 public void setShowUnconserved(
\r
2280 final boolean showUnconserved) {
\r
2281 this._showUnconserved = showUnconserved;
\r
2282 this._has_showUnconserved = true;
\r
2286 * Sets the value of field 'startRes'.
\r
2288 * @param startRes the value of field 'startRes'.
\r
2290 public void setStartRes(
\r
2291 final int startRes) {
\r
2292 this._startRes = startRes;
\r
2293 this._has_startRes = true;
\r
2297 * Sets the value of field 'startSeq'.
\r
2299 * @param startSeq the value of field 'startSeq'.
\r
2301 public void setStartSeq(
\r
2302 final int startSeq) {
\r
2303 this._startSeq = startSeq;
\r
2304 this._has_startSeq = true;
\r
2308 * Sets the value of field 'textCol1'.
\r
2310 * @param textCol1 the value of field 'textCol1'.
\r
2312 public void setTextCol1(
\r
2313 final int textCol1) {
\r
2314 this._textCol1 = textCol1;
\r
2315 this._has_textCol1 = true;
\r
2319 * Sets the value of field 'textCol2'.
\r
2321 * @param textCol2 the value of field 'textCol2'.
\r
2323 public void setTextCol2(
\r
2324 final int textCol2) {
\r
2325 this._textCol2 = textCol2;
\r
2326 this._has_textCol2 = true;
\r
2330 * Sets the value of field 'textColThreshold'.
\r
2332 * @param textColThreshold the value of field 'textColThreshold'
\r
2334 public void setTextColThreshold(
\r
2335 final int textColThreshold) {
\r
2336 this._textColThreshold = textColThreshold;
\r
2337 this._has_textColThreshold = true;
\r
2341 * Sets the value of field 'title'.
\r
2343 * @param title the value of field 'title'.
\r
2345 public void setTitle(
\r
2346 final java.lang.String title) {
\r
2347 this._title = title;
\r
2351 * Sets the value of field 'viewName'.
\r
2353 * @param viewName the value of field 'viewName'.
\r
2355 public void setViewName(
\r
2356 final java.lang.String viewName) {
\r
2357 this._viewName = viewName;
\r
2361 * Sets the value of field 'width'.
\r
2363 * @param width the value of field 'width'.
\r
2365 public void setWidth(
\r
2366 final int width) {
\r
2367 this._width = width;
\r
2368 this._has_width = true;
\r
2372 * Sets the value of field 'wrapAlignment'.
\r
2374 * @param wrapAlignment the value of field 'wrapAlignment'.
\r
2376 public void setWrapAlignment(
\r
2377 final boolean wrapAlignment) {
\r
2378 this._wrapAlignment = wrapAlignment;
\r
2379 this._has_wrapAlignment = true;
\r
2383 * Sets the value of field 'xpos'.
\r
2385 * @param xpos the value of field 'xpos'.
\r
2387 public void setXpos(
\r
2389 this._xpos = xpos;
\r
2390 this._has_xpos = true;
\r
2394 * Sets the value of field 'ypos'.
\r
2396 * @param ypos the value of field 'ypos'.
\r
2398 public void setYpos(
\r
2400 this._ypos = ypos;
\r
2401 this._has_ypos = true;
\r
2405 * Method unmarshal.
\r
2408 * @throws org.exolab.castor.xml.MarshalException if object is
\r
2409 * null or if any SAXException is thrown during marshaling
\r
2410 * @throws org.exolab.castor.xml.ValidationException if this
\r
2411 * object is an invalid instance according to the schema
\r
2412 * @return the unmarshaled
\r
2413 * jalview.schemabinding.version2.Viewport
\r
2415 public static jalview.schemabinding.version2.Viewport unmarshal(
\r
2416 final java.io.Reader reader)
\r
2417 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
\r
2418 return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(jalview.schemabinding.version2.Viewport.class, reader);
\r
2424 * @throws org.exolab.castor.xml.ValidationException if this
\r
2425 * object is an invalid instance according to the schema
\r
2427 public void validate(
\r
2429 throws org.exolab.castor.xml.ValidationException {
\r
2430 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
2431 validator.validate(this);
\r