Logo Search packages:      
Sourcecode: jalview version File versions

Viewport.java

/*******************************************************************************
 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
 * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
 *
 * This file is part of Jalview.
 *
 * Jalview is free software: you can redistribute it and/or
 * modify it under the terms of the GNU General Public License 
 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
 *
 * Jalview is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty 
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 *******************************************************************************/
/*
 * This class was automatically generated with 
 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
 * Schema.
 * $Id$
 */

package jalview.schemabinding.version2;

  //---------------------------------/
 //- Imported classes and packages -/
//---------------------------------/

import org.exolab.castor.xml.Marshaller;
import org.exolab.castor.xml.Unmarshaller;

/**
 * Class Viewport.
 * 
 * @version $Revision$ $Date$
 */
00039 public class Viewport implements java.io.Serializable {


      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field _conservationSelected.
     */
00049     private boolean _conservationSelected;

    /**
     * keeps track of state for field: _conservationSelected
     */
00054     private boolean _has_conservationSelected;

    /**
     * Field _pidSelected.
     */
00059     private boolean _pidSelected;

    /**
     * keeps track of state for field: _pidSelected
     */
00064     private boolean _has_pidSelected;

    /**
     * Field _bgColour.
     */
00069     private java.lang.String _bgColour;

    /**
     * Field _consThreshold.
     */
00074     private int _consThreshold;

    /**
     * keeps track of state for field: _consThreshold
     */
00079     private boolean _has_consThreshold;

    /**
     * Field _pidThreshold.
     */
00084     private int _pidThreshold;

    /**
     * keeps track of state for field: _pidThreshold
     */
00089     private boolean _has_pidThreshold;

    /**
     * Field _title.
     */
00094     private java.lang.String _title;

    /**
     * Field _showFullId.
     */
00099     private boolean _showFullId;

    /**
     * keeps track of state for field: _showFullId
     */
00104     private boolean _has_showFullId;

    /**
     * Field _rightAlignIds.
     */
00109     private boolean _rightAlignIds;

    /**
     * keeps track of state for field: _rightAlignIds
     */
00114     private boolean _has_rightAlignIds;

    /**
     * Field _showText.
     */
00119     private boolean _showText;

    /**
     * keeps track of state for field: _showText
     */
00124     private boolean _has_showText;

    /**
     * Field _showColourText.
     */
00129     private boolean _showColourText;

    /**
     * keeps track of state for field: _showColourText
     */
00134     private boolean _has_showColourText;

    /**
     * Field _showUnconserved.
     */
00139     private boolean _showUnconserved = false;

    /**
     * keeps track of state for field: _showUnconserved
     */
00144     private boolean _has_showUnconserved;

    /**
     * Field _showBoxes.
     */
00149     private boolean _showBoxes;

    /**
     * keeps track of state for field: _showBoxes
     */
00154     private boolean _has_showBoxes;

    /**
     * Field _wrapAlignment.
     */
00159     private boolean _wrapAlignment;

    /**
     * keeps track of state for field: _wrapAlignment
     */
00164     private boolean _has_wrapAlignment;

    /**
     * Field _renderGaps.
     */
00169     private boolean _renderGaps;

    /**
     * keeps track of state for field: _renderGaps
     */
00174     private boolean _has_renderGaps;

    /**
     * Field _showSequenceFeatures.
     */
00179     private boolean _showSequenceFeatures;

    /**
     * keeps track of state for field: _showSequenceFeatures
     */
00184     private boolean _has_showSequenceFeatures;

    /**
     * Field _showNPfeatureTooltip.
     */
00189     private boolean _showNPfeatureTooltip;

    /**
     * keeps track of state for field: _showNPfeatureTooltip
     */
00194     private boolean _has_showNPfeatureTooltip;

    /**
     * Field _showDbRefTooltip.
     */
00199     private boolean _showDbRefTooltip;

    /**
     * keeps track of state for field: _showDbRefTooltip
     */
00204     private boolean _has_showDbRefTooltip;

    /**
     * Field _followHighlight.
     */
00209     private boolean _followHighlight = true;

    /**
     * keeps track of state for field: _followHighlight
     */
00214     private boolean _has_followHighlight;

    /**
     * Field _followSelection.
     */
00219     private boolean _followSelection = true;

    /**
     * keeps track of state for field: _followSelection
     */
00224     private boolean _has_followSelection;

    /**
     * Field _showAnnotation.
     */
00229     private boolean _showAnnotation;

    /**
     * keeps track of state for field: _showAnnotation
     */
00234     private boolean _has_showAnnotation;

    /**
     * Field _centreColumnLabels.
     */
00239     private boolean _centreColumnLabels = false;

    /**
     * keeps track of state for field: _centreColumnLabels
     */
00244     private boolean _has_centreColumnLabels;

    /**
     * Field _showGroupConservation.
     */
00249     private boolean _showGroupConservation = false;

    /**
     * keeps track of state for field: _showGroupConservation
     */
00254     private boolean _has_showGroupConservation;

    /**
     * Field _showGroupConsensus.
     */
00259     private boolean _showGroupConsensus = false;

    /**
     * keeps track of state for field: _showGroupConsensus
     */
00264     private boolean _has_showGroupConsensus;

    /**
     * Field _showConsensusHistogram.
     */
00269     private boolean _showConsensusHistogram = true;

    /**
     * keeps track of state for field: _showConsensusHistogram
     */
00274     private boolean _has_showConsensusHistogram;

    /**
     * Field _showSequenceLogo.
     */
00279     private boolean _showSequenceLogo = false;

    /**
     * keeps track of state for field: _showSequenceLogo
     */
00284     private boolean _has_showSequenceLogo;

    /**
     * Field _ignoreGapsinConsensus.
     */
00289     private boolean _ignoreGapsinConsensus = true;

    /**
     * keeps track of state for field: _ignoreGapsinConsensus
     */
00294     private boolean _has_ignoreGapsinConsensus;

    /**
     * Field _startRes.
     */
00299     private int _startRes;

    /**
     * keeps track of state for field: _startRes
     */
00304     private boolean _has_startRes;

    /**
     * Field _startSeq.
     */
00309     private int _startSeq;

    /**
     * keeps track of state for field: _startSeq
     */
00314     private boolean _has_startSeq;

    /**
     * Field _fontName.
     */
00319     private java.lang.String _fontName;

    /**
     * Field _fontSize.
     */
00324     private int _fontSize;

    /**
     * keeps track of state for field: _fontSize
     */
00329     private boolean _has_fontSize;

    /**
     * Field _fontStyle.
     */
00334     private int _fontStyle;

    /**
     * keeps track of state for field: _fontStyle
     */
00339     private boolean _has_fontStyle;

    /**
     * Field _viewName.
     */
00344     private java.lang.String _viewName;

    /**
     * Field _sequenceSetId.
     */
00349     private java.lang.String _sequenceSetId;

    /**
     * Field _gatheredViews.
     */
00354     private boolean _gatheredViews;

    /**
     * keeps track of state for field: _gatheredViews
     */
00359     private boolean _has_gatheredViews;

    /**
     * Field _textCol1.
     */
00364     private int _textCol1;

    /**
     * keeps track of state for field: _textCol1
     */
00369     private boolean _has_textCol1;

    /**
     * Field _textCol2.
     */
00374     private int _textCol2;

    /**
     * keeps track of state for field: _textCol2
     */
00379     private boolean _has_textCol2;

    /**
     * Field _textColThreshold.
     */
00384     private int _textColThreshold;

    /**
     * keeps track of state for field: _textColThreshold
     */
00389     private boolean _has_textColThreshold;

    /**
     * unique id used by jalview to synchronize between stored and
     * instantiated views
     *  
     */
00396     private java.lang.String _id;

    /**
     * Field _width.
     */
00401     private int _width;

    /**
     * keeps track of state for field: _width
     */
00406     private boolean _has_width;

    /**
     * Field _height.
     */
00411     private int _height;

    /**
     * keeps track of state for field: _height
     */
00416     private boolean _has_height;

    /**
     * Field _xpos.
     */
00421     private int _xpos;

    /**
     * keeps track of state for field: _xpos
     */
00426     private boolean _has_xpos;

    /**
     * Field _ypos.
     */
00431     private int _ypos;

    /**
     * keeps track of state for field: _ypos
     */
00436     private boolean _has_ypos;

    /**
     * Field _annotationColours.
     */
00441     private jalview.schemabinding.version2.AnnotationColours _annotationColours;

    /**
     * Field _hiddenColumnsList.
     */
00446     private java.util.Vector _hiddenColumnsList;


      //----------------/
     //- Constructors -/
    //----------------/

    public Viewport() {
        super();
        this._hiddenColumnsList = new java.util.Vector();
    }


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * 
     * 
     * @param vHiddenColumns
     * @throws java.lang.IndexOutOfBoundsException if the index
     * given is outside the bounds of the collection
     */
00470     public void addHiddenColumns(
            final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
    throws java.lang.IndexOutOfBoundsException {
        this._hiddenColumnsList.addElement(vHiddenColumns);
    }

    /**
     * 
     * 
     * @param index
     * @param vHiddenColumns
     * @throws java.lang.IndexOutOfBoundsException if the index
     * given is outside the bounds of the collection
     */
00484     public void addHiddenColumns(
            final int index,
            final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
    throws java.lang.IndexOutOfBoundsException {
        this._hiddenColumnsList.add(index, vHiddenColumns);
    }

    /**
     */
    public void deleteCentreColumnLabels(
    ) {
        this._has_centreColumnLabels= false;
    }

    /**
     */
    public void deleteConsThreshold(
    ) {
        this._has_consThreshold= false;
    }

    /**
     */
    public void deleteConservationSelected(
    ) {
        this._has_conservationSelected= false;
    }

    /**
     */
    public void deleteFollowHighlight(
    ) {
        this._has_followHighlight= false;
    }

    /**
     */
    public void deleteFollowSelection(
    ) {
        this._has_followSelection= false;
    }

    /**
     */
    public void deleteFontSize(
    ) {
        this._has_fontSize= false;
    }

    /**
     */
    public void deleteFontStyle(
    ) {
        this._has_fontStyle= false;
    }

    /**
     */
    public void deleteGatheredViews(
    ) {
        this._has_gatheredViews= false;
    }

    /**
     */
    public void deleteHeight(
    ) {
        this._has_height= false;
    }

    /**
     */
    public void deleteIgnoreGapsinConsensus(
    ) {
        this._has_ignoreGapsinConsensus= false;
    }

    /**
     */
    public void deletePidSelected(
    ) {
        this._has_pidSelected= false;
    }

    /**
     */
    public void deletePidThreshold(
    ) {
        this._has_pidThreshold= false;
    }

    /**
     */
    public void deleteRenderGaps(
    ) {
        this._has_renderGaps= false;
    }

    /**
     */
    public void deleteRightAlignIds(
    ) {
        this._has_rightAlignIds= false;
    }

    /**
     */
    public void deleteShowAnnotation(
    ) {
        this._has_showAnnotation= false;
    }

    /**
     */
    public void deleteShowBoxes(
    ) {
        this._has_showBoxes= false;
    }

    /**
     */
    public void deleteShowColourText(
    ) {
        this._has_showColourText= false;
    }

    /**
     */
    public void deleteShowConsensusHistogram(
    ) {
        this._has_showConsensusHistogram= false;
    }

    /**
     */
    public void deleteShowDbRefTooltip(
    ) {
        this._has_showDbRefTooltip= false;
    }

    /**
     */
    public void deleteShowFullId(
    ) {
        this._has_showFullId= false;
    }

    /**
     */
    public void deleteShowGroupConsensus(
    ) {
        this._has_showGroupConsensus= false;
    }

    /**
     */
    public void deleteShowGroupConservation(
    ) {
        this._has_showGroupConservation= false;
    }

    /**
     */
    public void deleteShowNPfeatureTooltip(
    ) {
        this._has_showNPfeatureTooltip= false;
    }

    /**
     */
    public void deleteShowSequenceFeatures(
    ) {
        this._has_showSequenceFeatures= false;
    }

    /**
     */
    public void deleteShowSequenceLogo(
    ) {
        this._has_showSequenceLogo= false;
    }

    /**
     */
    public void deleteShowText(
    ) {
        this._has_showText= false;
    }

    /**
     */
    public void deleteShowUnconserved(
    ) {
        this._has_showUnconserved= false;
    }

    /**
     */
    public void deleteStartRes(
    ) {
        this._has_startRes= false;
    }

    /**
     */
    public void deleteStartSeq(
    ) {
        this._has_startSeq= false;
    }

    /**
     */
    public void deleteTextCol1(
    ) {
        this._has_textCol1= false;
    }

    /**
     */
    public void deleteTextCol2(
    ) {
        this._has_textCol2= false;
    }

    /**
     */
    public void deleteTextColThreshold(
    ) {
        this._has_textColThreshold= false;
    }

    /**
     */
    public void deleteWidth(
    ) {
        this._has_width= false;
    }

    /**
     */
    public void deleteWrapAlignment(
    ) {
        this._has_wrapAlignment= false;
    }

    /**
     */
    public void deleteXpos(
    ) {
        this._has_xpos= false;
    }

    /**
     */
    public void deleteYpos(
    ) {
        this._has_ypos= false;
    }

    /**
     * Method enumerateHiddenColumns.
     * 
     * @return an Enumeration over all
     * jalview.schemabinding.version2.HiddenColumns elements
     */
00749     public java.util.Enumeration enumerateHiddenColumns(
    ) {
        return this._hiddenColumnsList.elements();
    }

    /**
     * Returns the value of field 'annotationColours'.
     * 
     * @return the value of field 'AnnotationColours'.
     */
00759     public jalview.schemabinding.version2.AnnotationColours getAnnotationColours(
    ) {
        return this._annotationColours;
    }

    /**
     * Returns the value of field 'bgColour'.
     * 
     * @return the value of field 'BgColour'.
     */
00769     public java.lang.String getBgColour(
    ) {
        return this._bgColour;
    }

    /**
     * Returns the value of field 'centreColumnLabels'.
     * 
     * @return the value of field 'CentreColumnLabels'.
     */
00779     public boolean getCentreColumnLabels(
    ) {
        return this._centreColumnLabels;
    }

    /**
     * Returns the value of field 'consThreshold'.
     * 
     * @return the value of field 'ConsThreshold'.
     */
00789     public int getConsThreshold(
    ) {
        return this._consThreshold;
    }

    /**
     * Returns the value of field 'conservationSelected'.
     * 
     * @return the value of field 'ConservationSelected'.
     */
00799     public boolean getConservationSelected(
    ) {
        return this._conservationSelected;
    }

    /**
     * Returns the value of field 'followHighlight'.
     * 
     * @return the value of field 'FollowHighlight'.
     */
00809     public boolean getFollowHighlight(
    ) {
        return this._followHighlight;
    }

    /**
     * Returns the value of field 'followSelection'.
     * 
     * @return the value of field 'FollowSelection'.
     */
00819     public boolean getFollowSelection(
    ) {
        return this._followSelection;
    }

    /**
     * Returns the value of field 'fontName'.
     * 
     * @return the value of field 'FontName'.
     */
00829     public java.lang.String getFontName(
    ) {
        return this._fontName;
    }

    /**
     * Returns the value of field 'fontSize'.
     * 
     * @return the value of field 'FontSize'.
     */
00839     public int getFontSize(
    ) {
        return this._fontSize;
    }

    /**
     * Returns the value of field 'fontStyle'.
     * 
     * @return the value of field 'FontStyle'.
     */
00849     public int getFontStyle(
    ) {
        return this._fontStyle;
    }

    /**
     * Returns the value of field 'gatheredViews'.
     * 
     * @return the value of field 'GatheredViews'.
     */
00859     public boolean getGatheredViews(
    ) {
        return this._gatheredViews;
    }

    /**
     * Returns the value of field 'height'.
     * 
     * @return the value of field 'Height'.
     */
00869     public int getHeight(
    ) {
        return this._height;
    }

    /**
     * Method getHiddenColumns.
     * 
     * @param index
     * @throws java.lang.IndexOutOfBoundsException if the index
     * given is outside the bounds of the collection
     * @return the value of the
     * jalview.schemabinding.version2.HiddenColumns at the given
     * index
     */
00884     public jalview.schemabinding.version2.HiddenColumns getHiddenColumns(
            final int index)
    throws java.lang.IndexOutOfBoundsException {
        // check bounds for index
        if (index < 0 || index >= this._hiddenColumnsList.size()) {
            throw new IndexOutOfBoundsException("getHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
        }
        
        return (jalview.schemabinding.version2.HiddenColumns) _hiddenColumnsList.get(index);
    }

    /**
     * Method getHiddenColumns.Returns the contents of the
     * collection in an Array.  <p>Note:  Just in case the
     * collection contents are changing in another thread, we pass
     * a 0-length Array of the correct type into the API call. 
     * This way we <i>know</i> that the Array returned is of
     * exactly the correct length.
     * 
     * @return this collection as an Array
     */
00905     public jalview.schemabinding.version2.HiddenColumns[] getHiddenColumns(
    ) {
        jalview.schemabinding.version2.HiddenColumns[] array = new jalview.schemabinding.version2.HiddenColumns[0];
        return (jalview.schemabinding.version2.HiddenColumns[]) this._hiddenColumnsList.toArray(array);
    }

    /**
     * Method getHiddenColumnsCount.
     * 
     * @return the size of this collection
     */
00916     public int getHiddenColumnsCount(
    ) {
        return this._hiddenColumnsList.size();
    }

    /**
     * Returns the value of field 'id'. The field 'id' has the
     * following description: unique id used by jalview to
     * synchronize between stored and instantiated views
     *  
     * 
     * @return the value of field 'Id'.
     */
00929     public java.lang.String getId(
    ) {
        return this._id;
    }

    /**
     * Returns the value of field 'ignoreGapsinConsensus'.
     * 
     * @return the value of field 'IgnoreGapsinConsensus'.
     */
00939     public boolean getIgnoreGapsinConsensus(
    ) {
        return this._ignoreGapsinConsensus;
    }

    /**
     * Returns the value of field 'pidSelected'.
     * 
     * @return the value of field 'PidSelected'.
     */
00949     public boolean getPidSelected(
    ) {
        return this._pidSelected;
    }

    /**
     * Returns the value of field 'pidThreshold'.
     * 
     * @return the value of field 'PidThreshold'.
     */
00959     public int getPidThreshold(
    ) {
        return this._pidThreshold;
    }

    /**
     * Returns the value of field 'renderGaps'.
     * 
     * @return the value of field 'RenderGaps'.
     */
00969     public boolean getRenderGaps(
    ) {
        return this._renderGaps;
    }

    /**
     * Returns the value of field 'rightAlignIds'.
     * 
     * @return the value of field 'RightAlignIds'.
     */
00979     public boolean getRightAlignIds(
    ) {
        return this._rightAlignIds;
    }

    /**
     * Returns the value of field 'sequenceSetId'.
     * 
     * @return the value of field 'SequenceSetId'.
     */
00989     public java.lang.String getSequenceSetId(
    ) {
        return this._sequenceSetId;
    }

    /**
     * Returns the value of field 'showAnnotation'.
     * 
     * @return the value of field 'ShowAnnotation'.
     */
00999     public boolean getShowAnnotation(
    ) {
        return this._showAnnotation;
    }

    /**
     * Returns the value of field 'showBoxes'.
     * 
     * @return the value of field 'ShowBoxes'.
     */
01009     public boolean getShowBoxes(
    ) {
        return this._showBoxes;
    }

    /**
     * Returns the value of field 'showColourText'.
     * 
     * @return the value of field 'ShowColourText'.
     */
01019     public boolean getShowColourText(
    ) {
        return this._showColourText;
    }

    /**
     * Returns the value of field 'showConsensusHistogram'.
     * 
     * @return the value of field 'ShowConsensusHistogram'.
     */
01029     public boolean getShowConsensusHistogram(
    ) {
        return this._showConsensusHistogram;
    }

    /**
     * Returns the value of field 'showDbRefTooltip'.
     * 
     * @return the value of field 'ShowDbRefTooltip'.
     */
01039     public boolean getShowDbRefTooltip(
    ) {
        return this._showDbRefTooltip;
    }

    /**
     * Returns the value of field 'showFullId'.
     * 
     * @return the value of field 'ShowFullId'.
     */
01049     public boolean getShowFullId(
    ) {
        return this._showFullId;
    }

    /**
     * Returns the value of field 'showGroupConsensus'.
     * 
     * @return the value of field 'ShowGroupConsensus'.
     */
01059     public boolean getShowGroupConsensus(
    ) {
        return this._showGroupConsensus;
    }

    /**
     * Returns the value of field 'showGroupConservation'.
     * 
     * @return the value of field 'ShowGroupConservation'.
     */
01069     public boolean getShowGroupConservation(
    ) {
        return this._showGroupConservation;
    }

    /**
     * Returns the value of field 'showNPfeatureTooltip'.
     * 
     * @return the value of field 'ShowNPfeatureTooltip'.
     */
01079     public boolean getShowNPfeatureTooltip(
    ) {
        return this._showNPfeatureTooltip;
    }

    /**
     * Returns the value of field 'showSequenceFeatures'.
     * 
     * @return the value of field 'ShowSequenceFeatures'.
     */
01089     public boolean getShowSequenceFeatures(
    ) {
        return this._showSequenceFeatures;
    }

    /**
     * Returns the value of field 'showSequenceLogo'.
     * 
     * @return the value of field 'ShowSequenceLogo'.
     */
01099     public boolean getShowSequenceLogo(
    ) {
        return this._showSequenceLogo;
    }

    /**
     * Returns the value of field 'showText'.
     * 
     * @return the value of field 'ShowText'.
     */
01109     public boolean getShowText(
    ) {
        return this._showText;
    }

    /**
     * Returns the value of field 'showUnconserved'.
     * 
     * @return the value of field 'ShowUnconserved'.
     */
01119     public boolean getShowUnconserved(
    ) {
        return this._showUnconserved;
    }

    /**
     * Returns the value of field 'startRes'.
     * 
     * @return the value of field 'StartRes'.
     */
01129     public int getStartRes(
    ) {
        return this._startRes;
    }

    /**
     * Returns the value of field 'startSeq'.
     * 
     * @return the value of field 'StartSeq'.
     */
01139     public int getStartSeq(
    ) {
        return this._startSeq;
    }

    /**
     * Returns the value of field 'textCol1'.
     * 
     * @return the value of field 'TextCol1'.
     */
01149     public int getTextCol1(
    ) {
        return this._textCol1;
    }

    /**
     * Returns the value of field 'textCol2'.
     * 
     * @return the value of field 'TextCol2'.
     */
01159     public int getTextCol2(
    ) {
        return this._textCol2;
    }

    /**
     * Returns the value of field 'textColThreshold'.
     * 
     * @return the value of field 'TextColThreshold'.
     */
01169     public int getTextColThreshold(
    ) {
        return this._textColThreshold;
    }

    /**
     * Returns the value of field 'title'.
     * 
     * @return the value of field 'Title'.
     */
01179     public java.lang.String getTitle(
    ) {
        return this._title;
    }

    /**
     * Returns the value of field 'viewName'.
     * 
     * @return the value of field 'ViewName'.
     */
01189     public java.lang.String getViewName(
    ) {
        return this._viewName;
    }

    /**
     * Returns the value of field 'width'.
     * 
     * @return the value of field 'Width'.
     */
01199     public int getWidth(
    ) {
        return this._width;
    }

    /**
     * Returns the value of field 'wrapAlignment'.
     * 
     * @return the value of field 'WrapAlignment'.
     */
01209     public boolean getWrapAlignment(
    ) {
        return this._wrapAlignment;
    }

    /**
     * Returns the value of field 'xpos'.
     * 
     * @return the value of field 'Xpos'.
     */
01219     public int getXpos(
    ) {
        return this._xpos;
    }

    /**
     * Returns the value of field 'ypos'.
     * 
     * @return the value of field 'Ypos'.
     */
01229     public int getYpos(
    ) {
        return this._ypos;
    }

    /**
     * Method hasCentreColumnLabels.
     * 
     * @return true if at least one CentreColumnLabels has been adde
     */
01239     public boolean hasCentreColumnLabels(
    ) {
        return this._has_centreColumnLabels;
    }

    /**
     * Method hasConsThreshold.
     * 
     * @return true if at least one ConsThreshold has been added
     */
01249     public boolean hasConsThreshold(
    ) {
        return this._has_consThreshold;
    }

    /**
     * Method hasConservationSelected.
     * 
     * @return true if at least one ConservationSelected has been
     * added
     */
01260     public boolean hasConservationSelected(
    ) {
        return this._has_conservationSelected;
    }

    /**
     * Method hasFollowHighlight.
     * 
     * @return true if at least one FollowHighlight has been added
     */
01270     public boolean hasFollowHighlight(
    ) {
        return this._has_followHighlight;
    }

    /**
     * Method hasFollowSelection.
     * 
     * @return true if at least one FollowSelection has been added
     */
01280     public boolean hasFollowSelection(
    ) {
        return this._has_followSelection;
    }

    /**
     * Method hasFontSize.
     * 
     * @return true if at least one FontSize has been added
     */
01290     public boolean hasFontSize(
    ) {
        return this._has_fontSize;
    }

    /**
     * Method hasFontStyle.
     * 
     * @return true if at least one FontStyle has been added
     */
01300     public boolean hasFontStyle(
    ) {
        return this._has_fontStyle;
    }

    /**
     * Method hasGatheredViews.
     * 
     * @return true if at least one GatheredViews has been added
     */
01310     public boolean hasGatheredViews(
    ) {
        return this._has_gatheredViews;
    }

    /**
     * Method hasHeight.
     * 
     * @return true if at least one Height has been added
     */
01320     public boolean hasHeight(
    ) {
        return this._has_height;
    }

    /**
     * Method hasIgnoreGapsinConsensus.
     * 
     * @return true if at least one IgnoreGapsinConsensus has been
     * added
     */
01331     public boolean hasIgnoreGapsinConsensus(
    ) {
        return this._has_ignoreGapsinConsensus;
    }

    /**
     * Method hasPidSelected.
     * 
     * @return true if at least one PidSelected has been added
     */
01341     public boolean hasPidSelected(
    ) {
        return this._has_pidSelected;
    }

    /**
     * Method hasPidThreshold.
     * 
     * @return true if at least one PidThreshold has been added
     */
01351     public boolean hasPidThreshold(
    ) {
        return this._has_pidThreshold;
    }

    /**
     * Method hasRenderGaps.
     * 
     * @return true if at least one RenderGaps has been added
     */
01361     public boolean hasRenderGaps(
    ) {
        return this._has_renderGaps;
    }

    /**
     * Method hasRightAlignIds.
     * 
     * @return true if at least one RightAlignIds has been added
     */
01371     public boolean hasRightAlignIds(
    ) {
        return this._has_rightAlignIds;
    }

    /**
     * Method hasShowAnnotation.
     * 
     * @return true if at least one ShowAnnotation has been added
     */
01381     public boolean hasShowAnnotation(
    ) {
        return this._has_showAnnotation;
    }

    /**
     * Method hasShowBoxes.
     * 
     * @return true if at least one ShowBoxes has been added
     */
01391     public boolean hasShowBoxes(
    ) {
        return this._has_showBoxes;
    }

    /**
     * Method hasShowColourText.
     * 
     * @return true if at least one ShowColourText has been added
     */
01401     public boolean hasShowColourText(
    ) {
        return this._has_showColourText;
    }

    /**
     * Method hasShowConsensusHistogram.
     * 
     * @return true if at least one ShowConsensusHistogram has been
     * added
     */
01412     public boolean hasShowConsensusHistogram(
    ) {
        return this._has_showConsensusHistogram;
    }

    /**
     * Method hasShowDbRefTooltip.
     * 
     * @return true if at least one ShowDbRefTooltip has been added
     */
01422     public boolean hasShowDbRefTooltip(
    ) {
        return this._has_showDbRefTooltip;
    }

    /**
     * Method hasShowFullId.
     * 
     * @return true if at least one ShowFullId has been added
     */
01432     public boolean hasShowFullId(
    ) {
        return this._has_showFullId;
    }

    /**
     * Method hasShowGroupConsensus.
     * 
     * @return true if at least one ShowGroupConsensus has been adde
     */
01442     public boolean hasShowGroupConsensus(
    ) {
        return this._has_showGroupConsensus;
    }

    /**
     * Method hasShowGroupConservation.
     * 
     * @return true if at least one ShowGroupConservation has been
     * added
     */
01453     public boolean hasShowGroupConservation(
    ) {
        return this._has_showGroupConservation;
    }

    /**
     * Method hasShowNPfeatureTooltip.
     * 
     * @return true if at least one ShowNPfeatureTooltip has been
     * added
     */
01464     public boolean hasShowNPfeatureTooltip(
    ) {
        return this._has_showNPfeatureTooltip;
    }

    /**
     * Method hasShowSequenceFeatures.
     * 
     * @return true if at least one ShowSequenceFeatures has been
     * added
     */
01475     public boolean hasShowSequenceFeatures(
    ) {
        return this._has_showSequenceFeatures;
    }

    /**
     * Method hasShowSequenceLogo.
     * 
     * @return true if at least one ShowSequenceLogo has been added
     */
01485     public boolean hasShowSequenceLogo(
    ) {
        return this._has_showSequenceLogo;
    }

    /**
     * Method hasShowText.
     * 
     * @return true if at least one ShowText has been added
     */
01495     public boolean hasShowText(
    ) {
        return this._has_showText;
    }

    /**
     * Method hasShowUnconserved.
     * 
     * @return true if at least one ShowUnconserved has been added
     */
01505     public boolean hasShowUnconserved(
    ) {
        return this._has_showUnconserved;
    }

    /**
     * Method hasStartRes.
     * 
     * @return true if at least one StartRes has been added
     */
01515     public boolean hasStartRes(
    ) {
        return this._has_startRes;
    }

    /**
     * Method hasStartSeq.
     * 
     * @return true if at least one StartSeq has been added
     */
01525     public boolean hasStartSeq(
    ) {
        return this._has_startSeq;
    }

    /**
     * Method hasTextCol1.
     * 
     * @return true if at least one TextCol1 has been added
     */
01535     public boolean hasTextCol1(
    ) {
        return this._has_textCol1;
    }

    /**
     * Method hasTextCol2.
     * 
     * @return true if at least one TextCol2 has been added
     */
01545     public boolean hasTextCol2(
    ) {
        return this._has_textCol2;
    }

    /**
     * Method hasTextColThreshold.
     * 
     * @return true if at least one TextColThreshold has been added
     */
01555     public boolean hasTextColThreshold(
    ) {
        return this._has_textColThreshold;
    }

    /**
     * Method hasWidth.
     * 
     * @return true if at least one Width has been added
     */
01565     public boolean hasWidth(
    ) {
        return this._has_width;
    }

    /**
     * Method hasWrapAlignment.
     * 
     * @return true if at least one WrapAlignment has been added
     */
01575     public boolean hasWrapAlignment(
    ) {
        return this._has_wrapAlignment;
    }

    /**
     * Method hasXpos.
     * 
     * @return true if at least one Xpos has been added
     */
01585     public boolean hasXpos(
    ) {
        return this._has_xpos;
    }

    /**
     * Method hasYpos.
     * 
     * @return true if at least one Ypos has been added
     */
01595     public boolean hasYpos(
    ) {
        return this._has_ypos;
    }

    /**
     * Returns the value of field 'centreColumnLabels'.
     * 
     * @return the value of field 'CentreColumnLabels'.
     */
01605     public boolean isCentreColumnLabels(
    ) {
        return this._centreColumnLabels;
    }

    /**
     * Returns the value of field 'conservationSelected'.
     * 
     * @return the value of field 'ConservationSelected'.
     */
01615     public boolean isConservationSelected(
    ) {
        return this._conservationSelected;
    }

    /**
     * Returns the value of field 'followHighlight'.
     * 
     * @return the value of field 'FollowHighlight'.
     */
01625     public boolean isFollowHighlight(
    ) {
        return this._followHighlight;
    }

    /**
     * Returns the value of field 'followSelection'.
     * 
     * @return the value of field 'FollowSelection'.
     */
01635     public boolean isFollowSelection(
    ) {
        return this._followSelection;
    }

    /**
     * Returns the value of field 'gatheredViews'.
     * 
     * @return the value of field 'GatheredViews'.
     */
01645     public boolean isGatheredViews(
    ) {
        return this._gatheredViews;
    }

    /**
     * Returns the value of field 'ignoreGapsinConsensus'.
     * 
     * @return the value of field 'IgnoreGapsinConsensus'.
     */
01655     public boolean isIgnoreGapsinConsensus(
    ) {
        return this._ignoreGapsinConsensus;
    }

    /**
     * Returns the value of field 'pidSelected'.
     * 
     * @return the value of field 'PidSelected'.
     */
01665     public boolean isPidSelected(
    ) {
        return this._pidSelected;
    }

    /**
     * Returns the value of field 'renderGaps'.
     * 
     * @return the value of field 'RenderGaps'.
     */
01675     public boolean isRenderGaps(
    ) {
        return this._renderGaps;
    }

    /**
     * Returns the value of field 'rightAlignIds'.
     * 
     * @return the value of field 'RightAlignIds'.
     */
01685     public boolean isRightAlignIds(
    ) {
        return this._rightAlignIds;
    }

    /**
     * Returns the value of field 'showAnnotation'.
     * 
     * @return the value of field 'ShowAnnotation'.
     */
01695     public boolean isShowAnnotation(
    ) {
        return this._showAnnotation;
    }

    /**
     * Returns the value of field 'showBoxes'.
     * 
     * @return the value of field 'ShowBoxes'.
     */
01705     public boolean isShowBoxes(
    ) {
        return this._showBoxes;
    }

    /**
     * Returns the value of field 'showColourText'.
     * 
     * @return the value of field 'ShowColourText'.
     */
01715     public boolean isShowColourText(
    ) {
        return this._showColourText;
    }

    /**
     * Returns the value of field 'showConsensusHistogram'.
     * 
     * @return the value of field 'ShowConsensusHistogram'.
     */
01725     public boolean isShowConsensusHistogram(
    ) {
        return this._showConsensusHistogram;
    }

    /**
     * Returns the value of field 'showDbRefTooltip'.
     * 
     * @return the value of field 'ShowDbRefTooltip'.
     */
01735     public boolean isShowDbRefTooltip(
    ) {
        return this._showDbRefTooltip;
    }

    /**
     * Returns the value of field 'showFullId'.
     * 
     * @return the value of field 'ShowFullId'.
     */
01745     public boolean isShowFullId(
    ) {
        return this._showFullId;
    }

    /**
     * Returns the value of field 'showGroupConsensus'.
     * 
     * @return the value of field 'ShowGroupConsensus'.
     */
01755     public boolean isShowGroupConsensus(
    ) {
        return this._showGroupConsensus;
    }

    /**
     * Returns the value of field 'showGroupConservation'.
     * 
     * @return the value of field 'ShowGroupConservation'.
     */
01765     public boolean isShowGroupConservation(
    ) {
        return this._showGroupConservation;
    }

    /**
     * Returns the value of field 'showNPfeatureTooltip'.
     * 
     * @return the value of field 'ShowNPfeatureTooltip'.
     */
01775     public boolean isShowNPfeatureTooltip(
    ) {
        return this._showNPfeatureTooltip;
    }

    /**
     * Returns the value of field 'showSequenceFeatures'.
     * 
     * @return the value of field 'ShowSequenceFeatures'.
     */
01785     public boolean isShowSequenceFeatures(
    ) {
        return this._showSequenceFeatures;
    }

    /**
     * Returns the value of field 'showSequenceLogo'.
     * 
     * @return the value of field 'ShowSequenceLogo'.
     */
01795     public boolean isShowSequenceLogo(
    ) {
        return this._showSequenceLogo;
    }

    /**
     * Returns the value of field 'showText'.
     * 
     * @return the value of field 'ShowText'.
     */
01805     public boolean isShowText(
    ) {
        return this._showText;
    }

    /**
     * Returns the value of field 'showUnconserved'.
     * 
     * @return the value of field 'ShowUnconserved'.
     */
01815     public boolean isShowUnconserved(
    ) {
        return this._showUnconserved;
    }

    /**
     * Method isValid.
     * 
     * @return true if this object is valid according to the schema
     */
01825     public boolean isValid(
    ) {
        try {
            validate();
        } catch (org.exolab.castor.xml.ValidationException vex) {
            return false;
        }
        return true;
    }

    /**
     * Returns the value of field 'wrapAlignment'.
     * 
     * @return the value of field 'WrapAlignment'.
     */
01840     public boolean isWrapAlignment(
    ) {
        return this._wrapAlignment;
    }

    /**
     * 
     * 
     * @param out
     * @throws org.exolab.castor.xml.MarshalException if object is
     * null or if any SAXException is thrown during marshaling
     * @throws org.exolab.castor.xml.ValidationException if this
     * object is an invalid instance according to the schema
     */
01854     public void marshal(
            final java.io.Writer out)
    throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
        Marshaller.marshal(this, out);
    }

    /**
     * 
     * 
     * @param handler
     * @throws java.io.IOException if an IOException occurs during
     * marshaling
     * @throws org.exolab.castor.xml.ValidationException if this
     * object is an invalid instance according to the schema
     * @throws org.exolab.castor.xml.MarshalException if object is
     * null or if any SAXException is thrown during marshaling
     */
01871     public void marshal(
            final org.xml.sax.ContentHandler handler)
    throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
        Marshaller.marshal(this, handler);
    }

    /**
     */
    public void removeAllHiddenColumns(
    ) {
        this._hiddenColumnsList.clear();
    }

    /**
     * Method removeHiddenColumns.
     * 
     * @param vHiddenColumns
     * @return true if the object was removed from the collection.
     */
01890     public boolean removeHiddenColumns(
            final jalview.schemabinding.version2.HiddenColumns vHiddenColumns) {
        boolean removed = _hiddenColumnsList.remove(vHiddenColumns);
        return removed;
    }

    /**
     * Method removeHiddenColumnsAt.
     * 
     * @param index
     * @return the element removed from the collection
     */
01902     public jalview.schemabinding.version2.HiddenColumns removeHiddenColumnsAt(
            final int index) {
        java.lang.Object obj = this._hiddenColumnsList.remove(index);
        return (jalview.schemabinding.version2.HiddenColumns) obj;
    }

    /**
     * Sets the value of field 'annotationColours'.
     * 
     * @param annotationColours the value of field
     * 'annotationColours'.
     */
01914     public void setAnnotationColours(
            final jalview.schemabinding.version2.AnnotationColours annotationColours) {
        this._annotationColours = annotationColours;
    }

    /**
     * Sets the value of field 'bgColour'.
     * 
     * @param bgColour the value of field 'bgColour'.
     */
01924     public void setBgColour(
            final java.lang.String bgColour) {
        this._bgColour = bgColour;
    }

    /**
     * Sets the value of field 'centreColumnLabels'.
     * 
     * @param centreColumnLabels the value of field
     * 'centreColumnLabels'.
     */
01935     public void setCentreColumnLabels(
            final boolean centreColumnLabels) {
        this._centreColumnLabels = centreColumnLabels;
        this._has_centreColumnLabels = true;
    }

    /**
     * Sets the value of field 'consThreshold'.
     * 
     * @param consThreshold the value of field 'consThreshold'.
     */
01946     public void setConsThreshold(
            final int consThreshold) {
        this._consThreshold = consThreshold;
        this._has_consThreshold = true;
    }

    /**
     * Sets the value of field 'conservationSelected'.
     * 
     * @param conservationSelected the value of field
     * 'conservationSelected'.
     */
01958     public void setConservationSelected(
            final boolean conservationSelected) {
        this._conservationSelected = conservationSelected;
        this._has_conservationSelected = true;
    }

    /**
     * Sets the value of field 'followHighlight'.
     * 
     * @param followHighlight the value of field 'followHighlight'.
     */
01969     public void setFollowHighlight(
            final boolean followHighlight) {
        this._followHighlight = followHighlight;
        this._has_followHighlight = true;
    }

    /**
     * Sets the value of field 'followSelection'.
     * 
     * @param followSelection the value of field 'followSelection'.
     */
01980     public void setFollowSelection(
            final boolean followSelection) {
        this._followSelection = followSelection;
        this._has_followSelection = true;
    }

    /**
     * Sets the value of field 'fontName'.
     * 
     * @param fontName the value of field 'fontName'.
     */
01991     public void setFontName(
            final java.lang.String fontName) {
        this._fontName = fontName;
    }

    /**
     * Sets the value of field 'fontSize'.
     * 
     * @param fontSize the value of field 'fontSize'.
     */
02001     public void setFontSize(
            final int fontSize) {
        this._fontSize = fontSize;
        this._has_fontSize = true;
    }

    /**
     * Sets the value of field 'fontStyle'.
     * 
     * @param fontStyle the value of field 'fontStyle'.
     */
02012     public void setFontStyle(
            final int fontStyle) {
        this._fontStyle = fontStyle;
        this._has_fontStyle = true;
    }

    /**
     * Sets the value of field 'gatheredViews'.
     * 
     * @param gatheredViews the value of field 'gatheredViews'.
     */
02023     public void setGatheredViews(
            final boolean gatheredViews) {
        this._gatheredViews = gatheredViews;
        this._has_gatheredViews = true;
    }

    /**
     * Sets the value of field 'height'.
     * 
     * @param height the value of field 'height'.
     */
02034     public void setHeight(
            final int height) {
        this._height = height;
        this._has_height = true;
    }

    /**
     * 
     * 
     * @param index
     * @param vHiddenColumns
     * @throws java.lang.IndexOutOfBoundsException if the index
     * given is outside the bounds of the collection
     */
02048     public void setHiddenColumns(
            final int index,
            final jalview.schemabinding.version2.HiddenColumns vHiddenColumns)
    throws java.lang.IndexOutOfBoundsException {
        // check bounds for index
        if (index < 0 || index >= this._hiddenColumnsList.size()) {
            throw new IndexOutOfBoundsException("setHiddenColumns: Index value '" + index + "' not in range [0.." + (this._hiddenColumnsList.size() - 1) + "]");
        }
        
        this._hiddenColumnsList.set(index, vHiddenColumns);
    }

    /**
     * 
     * 
     * @param vHiddenColumnsArray
     */
02065     public void setHiddenColumns(
            final jalview.schemabinding.version2.HiddenColumns[] vHiddenColumnsArray) {
        //-- copy array
        _hiddenColumnsList.clear();
        
        for (int i = 0; i < vHiddenColumnsArray.length; i++) {
                this._hiddenColumnsList.add(vHiddenColumnsArray[i]);
        }
    }

    /**
     * Sets the value of field 'id'. The field 'id' has the
     * following description: unique id used by jalview to
     * synchronize between stored and instantiated views
     *  
     * 
     * @param id the value of field 'id'.
     */
02083     public void setId(
            final java.lang.String id) {
        this._id = id;
    }

    /**
     * Sets the value of field 'ignoreGapsinConsensus'.
     * 
     * @param ignoreGapsinConsensus the value of field
     * 'ignoreGapsinConsensus'.
     */
02094     public void setIgnoreGapsinConsensus(
            final boolean ignoreGapsinConsensus) {
        this._ignoreGapsinConsensus = ignoreGapsinConsensus;
        this._has_ignoreGapsinConsensus = true;
    }

    /**
     * Sets the value of field 'pidSelected'.
     * 
     * @param pidSelected the value of field 'pidSelected'.
     */
02105     public void setPidSelected(
            final boolean pidSelected) {
        this._pidSelected = pidSelected;
        this._has_pidSelected = true;
    }

    /**
     * Sets the value of field 'pidThreshold'.
     * 
     * @param pidThreshold the value of field 'pidThreshold'.
     */
02116     public void setPidThreshold(
            final int pidThreshold) {
        this._pidThreshold = pidThreshold;
        this._has_pidThreshold = true;
    }

    /**
     * Sets the value of field 'renderGaps'.
     * 
     * @param renderGaps the value of field 'renderGaps'.
     */
02127     public void setRenderGaps(
            final boolean renderGaps) {
        this._renderGaps = renderGaps;
        this._has_renderGaps = true;
    }

    /**
     * Sets the value of field 'rightAlignIds'.
     * 
     * @param rightAlignIds the value of field 'rightAlignIds'.
     */
02138     public void setRightAlignIds(
            final boolean rightAlignIds) {
        this._rightAlignIds = rightAlignIds;
        this._has_rightAlignIds = true;
    }

    /**
     * Sets the value of field 'sequenceSetId'.
     * 
     * @param sequenceSetId the value of field 'sequenceSetId'.
     */
02149     public void setSequenceSetId(
            final java.lang.String sequenceSetId) {
        this._sequenceSetId = sequenceSetId;
    }

    /**
     * Sets the value of field 'showAnnotation'.
     * 
     * @param showAnnotation the value of field 'showAnnotation'.
     */
02159     public void setShowAnnotation(
            final boolean showAnnotation) {
        this._showAnnotation = showAnnotation;
        this._has_showAnnotation = true;
    }

    /**
     * Sets the value of field 'showBoxes'.
     * 
     * @param showBoxes the value of field 'showBoxes'.
     */
02170     public void setShowBoxes(
            final boolean showBoxes) {
        this._showBoxes = showBoxes;
        this._has_showBoxes = true;
    }

    /**
     * Sets the value of field 'showColourText'.
     * 
     * @param showColourText the value of field 'showColourText'.
     */
02181     public void setShowColourText(
            final boolean showColourText) {
        this._showColourText = showColourText;
        this._has_showColourText = true;
    }

    /**
     * Sets the value of field 'showConsensusHistogram'.
     * 
     * @param showConsensusHistogram the value of field
     * 'showConsensusHistogram'.
     */
02193     public void setShowConsensusHistogram(
            final boolean showConsensusHistogram) {
        this._showConsensusHistogram = showConsensusHistogram;
        this._has_showConsensusHistogram = true;
    }

    /**
     * Sets the value of field 'showDbRefTooltip'.
     * 
     * @param showDbRefTooltip the value of field 'showDbRefTooltip'
     */
02204     public void setShowDbRefTooltip(
            final boolean showDbRefTooltip) {
        this._showDbRefTooltip = showDbRefTooltip;
        this._has_showDbRefTooltip = true;
    }

    /**
     * Sets the value of field 'showFullId'.
     * 
     * @param showFullId the value of field 'showFullId'.
     */
02215     public void setShowFullId(
            final boolean showFullId) {
        this._showFullId = showFullId;
        this._has_showFullId = true;
    }

    /**
     * Sets the value of field 'showGroupConsensus'.
     * 
     * @param showGroupConsensus the value of field
     * 'showGroupConsensus'.
     */
02227     public void setShowGroupConsensus(
            final boolean showGroupConsensus) {
        this._showGroupConsensus = showGroupConsensus;
        this._has_showGroupConsensus = true;
    }

    /**
     * Sets the value of field 'showGroupConservation'.
     * 
     * @param showGroupConservation the value of field
     * 'showGroupConservation'.
     */
02239     public void setShowGroupConservation(
            final boolean showGroupConservation) {
        this._showGroupConservation = showGroupConservation;
        this._has_showGroupConservation = true;
    }

    /**
     * Sets the value of field 'showNPfeatureTooltip'.
     * 
     * @param showNPfeatureTooltip the value of field
     * 'showNPfeatureTooltip'.
     */
02251     public void setShowNPfeatureTooltip(
            final boolean showNPfeatureTooltip) {
        this._showNPfeatureTooltip = showNPfeatureTooltip;
        this._has_showNPfeatureTooltip = true;
    }

    /**
     * Sets the value of field 'showSequenceFeatures'.
     * 
     * @param showSequenceFeatures the value of field
     * 'showSequenceFeatures'.
     */
02263     public void setShowSequenceFeatures(
            final boolean showSequenceFeatures) {
        this._showSequenceFeatures = showSequenceFeatures;
        this._has_showSequenceFeatures = true;
    }

    /**
     * Sets the value of field 'showSequenceLogo'.
     * 
     * @param showSequenceLogo the value of field 'showSequenceLogo'
     */
02274     public void setShowSequenceLogo(
            final boolean showSequenceLogo) {
        this._showSequenceLogo = showSequenceLogo;
        this._has_showSequenceLogo = true;
    }

    /**
     * Sets the value of field 'showText'.
     * 
     * @param showText the value of field 'showText'.
     */
02285     public void setShowText(
            final boolean showText) {
        this._showText = showText;
        this._has_showText = true;
    }

    /**
     * Sets the value of field 'showUnconserved'.
     * 
     * @param showUnconserved the value of field 'showUnconserved'.
     */
02296     public void setShowUnconserved(
            final boolean showUnconserved) {
        this._showUnconserved = showUnconserved;
        this._has_showUnconserved = true;
    }

    /**
     * Sets the value of field 'startRes'.
     * 
     * @param startRes the value of field 'startRes'.
     */
02307     public void setStartRes(
            final int startRes) {
        this._startRes = startRes;
        this._has_startRes = true;
    }

    /**
     * Sets the value of field 'startSeq'.
     * 
     * @param startSeq the value of field 'startSeq'.
     */
02318     public void setStartSeq(
            final int startSeq) {
        this._startSeq = startSeq;
        this._has_startSeq = true;
    }

    /**
     * Sets the value of field 'textCol1'.
     * 
     * @param textCol1 the value of field 'textCol1'.
     */
02329     public void setTextCol1(
            final int textCol1) {
        this._textCol1 = textCol1;
        this._has_textCol1 = true;
    }

    /**
     * Sets the value of field 'textCol2'.
     * 
     * @param textCol2 the value of field 'textCol2'.
     */
02340     public void setTextCol2(
            final int textCol2) {
        this._textCol2 = textCol2;
        this._has_textCol2 = true;
    }

    /**
     * Sets the value of field 'textColThreshold'.
     * 
     * @param textColThreshold the value of field 'textColThreshold'
     */
02351     public void setTextColThreshold(
            final int textColThreshold) {
        this._textColThreshold = textColThreshold;
        this._has_textColThreshold = true;
    }

    /**
     * Sets the value of field 'title'.
     * 
     * @param title the value of field 'title'.
     */
02362     public void setTitle(
            final java.lang.String title) {
        this._title = title;
    }

    /**
     * Sets the value of field 'viewName'.
     * 
     * @param viewName the value of field 'viewName'.
     */
02372     public void setViewName(
            final java.lang.String viewName) {
        this._viewName = viewName;
    }

    /**
     * Sets the value of field 'width'.
     * 
     * @param width the value of field 'width'.
     */
02382     public void setWidth(
            final int width) {
        this._width = width;
        this._has_width = true;
    }

    /**
     * Sets the value of field 'wrapAlignment'.
     * 
     * @param wrapAlignment the value of field 'wrapAlignment'.
     */
02393     public void setWrapAlignment(
            final boolean wrapAlignment) {
        this._wrapAlignment = wrapAlignment;
        this._has_wrapAlignment = true;
    }

    /**
     * Sets the value of field 'xpos'.
     * 
     * @param xpos the value of field 'xpos'.
     */
02404     public void setXpos(
            final int xpos) {
        this._xpos = xpos;
        this._has_xpos = true;
    }

    /**
     * Sets the value of field 'ypos'.
     * 
     * @param ypos the value of field 'ypos'.
     */
02415     public void setYpos(
            final int ypos) {
        this._ypos = ypos;
        this._has_ypos = true;
    }

    /**
     * Method unmarshal.
     * 
     * @param reader
     * @throws org.exolab.castor.xml.MarshalException if object is
     * null or if any SAXException is thrown during marshaling
     * @throws org.exolab.castor.xml.ValidationException if this
     * object is an invalid instance according to the schema
     * @return the unmarshaled
     * jalview.schemabinding.version2.Viewport
     */
02432     public static jalview.schemabinding.version2.Viewport unmarshal(
            final java.io.Reader reader)
    throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
        return (jalview.schemabinding.version2.Viewport) Unmarshaller.unmarshal(jalview.schemabinding.version2.Viewport.class, reader);
    }

    /**
     * 
     * 
     * @throws org.exolab.castor.xml.ValidationException if this
     * object is an invalid instance according to the schema
     */
02444     public void validate(
    )
    throws org.exolab.castor.xml.ValidationException {
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
        validator.validate(this);
    }

}

Generated by  Doxygen 1.6.0   Back to index