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.binding;

  //---------------------------------/
 //- 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 _showText.
     */
00109     private boolean _showText;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * keeps track of state for field: _showConservation
     */
00184     private boolean _has_showConservation;

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

    /**
     * keeps track of state for field: _showQuality
     */
00194     private boolean _has_showQuality;

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

    /**
     * keeps track of state for field: _showIdentity
     */
00204     private boolean _has_showIdentity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    public Viewport() {
        super();
    }


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

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

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

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

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

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

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

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

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

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

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

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

    /**
     */
    public void deleteShowConservation(
    ) {
        this._has_showConservation= false;
    }

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

    /**
     */
    public void deleteShowIdentity(
    ) {
        this._has_showIdentity= false;
    }

    /**
     */
    public void deleteShowQuality(
    ) {
        this._has_showQuality= false;
    }

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

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

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

    /**
     */
    public void deleteStartSeq(
    ) {
        this._has_startSeq= 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;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Returns the value of field 'showConservation'.
     * 
     * @return the value of field 'ShowConservation'.
     */
00601     public boolean getShowConservation(
    ) {
        return this._showConservation;
    }

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

    /**
     * Returns the value of field 'showIdentity'.
     * 
     * @return the value of field 'ShowIdentity'.
     */
00621     public boolean getShowIdentity(
    ) {
        return this._showIdentity;
    }

    /**
     * Returns the value of field 'showQuality'.
     * 
     * @return the value of field 'ShowQuality'.
     */
00631     public boolean getShowQuality(
    ) {
        return this._showQuality;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Method hasShowConservation.
     * 
     * @return true if at least one ShowConservation has been added
     */
00842     public boolean hasShowConservation(
    ) {
        return this._has_showConservation;
    }

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

    /**
     * Method hasShowIdentity.
     * 
     * @return true if at least one ShowIdentity has been added
     */
00862     public boolean hasShowIdentity(
    ) {
        return this._has_showIdentity;
    }

    /**
     * Method hasShowQuality.
     * 
     * @return true if at least one ShowQuality has been added
     */
00872     public boolean hasShowQuality(
    ) {
        return this._has_showQuality;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Returns the value of field 'showConservation'.
     * 
     * @return the value of field 'ShowConservation'.
     */
01023     public boolean isShowConservation(
    ) {
        return this._showConservation;
    }

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

    /**
     * Returns the value of field 'showIdentity'.
     * 
     * @return the value of field 'ShowIdentity'.
     */
01043     public boolean isShowIdentity(
    ) {
        return this._showIdentity;
    }

    /**
     * Returns the value of field 'showQuality'.
     * 
     * @return the value of field 'ShowQuality'.
     */
01053     public boolean isShowQuality(
    ) {
        return this._showQuality;
    }

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

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

    /**
     * Method isValid.
     * 
     * @return true if this object is valid according to the schema
     */
01083     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'.
     */
01098     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
     */
01112     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
     */
01129     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);
    }

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

    /**
     * Sets the value of field 'consThreshold'.
     * 
     * @param consThreshold the value of field 'consThreshold'.
     */
01150     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'.
     */
01162     public void setConservationSelected(
            final boolean conservationSelected) {
        this._conservationSelected = conservationSelected;
        this._has_conservationSelected = true;
    }

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

    /**
     * Sets the value of field 'fontSize'.
     * 
     * @param fontSize the value of field 'fontSize'.
     */
01183     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'.
     */
01194     public void setFontStyle(
            final int fontStyle) {
        this._fontStyle = fontStyle;
        this._has_fontStyle = true;
    }

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

    /**
     * Sets the value of field 'pidSelected'.
     * 
     * @param pidSelected the value of field 'pidSelected'.
     */
01216     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'.
     */
01227     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'.
     */
01238     public void setRenderGaps(
            final boolean renderGaps) {
        this._renderGaps = renderGaps;
        this._has_renderGaps = true;
    }

    /**
     * Sets the value of field 'showAnnotation'.
     * 
     * @param showAnnotation the value of field 'showAnnotation'.
     */
01249     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'.
     */
01260     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'.
     */
01271     public void setShowColourText(
            final boolean showColourText) {
        this._showColourText = showColourText;
        this._has_showColourText = true;
    }

    /**
     * Sets the value of field 'showConservation'.
     * 
     * @param showConservation the value of field 'showConservation'
     */
01282     public void setShowConservation(
            final boolean showConservation) {
        this._showConservation = showConservation;
        this._has_showConservation = true;
    }

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

    /**
     * Sets the value of field 'showIdentity'.
     * 
     * @param showIdentity the value of field 'showIdentity'.
     */
01304     public void setShowIdentity(
            final boolean showIdentity) {
        this._showIdentity = showIdentity;
        this._has_showIdentity = true;
    }

    /**
     * Sets the value of field 'showQuality'.
     * 
     * @param showQuality the value of field 'showQuality'.
     */
01315     public void setShowQuality(
            final boolean showQuality) {
        this._showQuality = showQuality;
        this._has_showQuality = true;
    }

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

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

    /**
     * Sets the value of field 'startRes'.
     * 
     * @param startRes the value of field 'startRes'.
     */
01349     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'.
     */
01360     public void setStartSeq(
            final int startSeq) {
        this._startSeq = startSeq;
        this._has_startSeq = true;
    }

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

    /**
     * Sets the value of field 'width'.
     * 
     * @param width the value of field 'width'.
     */
01381     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'.
     */
01392     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'.
     */
01403     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'.
     */
01414     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.binding.Viewport
     */
01430     public static jalview.binding.Viewport unmarshal(
            final java.io.Reader reader)
    throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
        return (jalview.binding.Viewport) Unmarshaller.unmarshal(jalview.binding.Viewport.class, reader);
    }

    /**
     * 
     * 
     * @throws org.exolab.castor.xml.ValidationException if this
     * object is an invalid instance according to the schema
     */
01442     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