X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FViewport.java;fp=src%2Fjalview%2Fbinding%2FViewport.java;h=911061b3e38bcddd0d54dfb57d8bd9501f458fee;hb=c68ce4c63bd79f23b87aac3eb0afa7f6b42a3098;hp=8bdee5d580bb22dce6f77353463e26f1b7c95dd6;hpb=5ba8b4a50183f8a799069ba7a4dabd4cc2589a5b;p=jalview.git diff --git a/src/jalview/binding/Viewport.java b/src/jalview/binding/Viewport.java index 8bdee5d..911061b 100755 --- a/src/jalview/binding/Viewport.java +++ b/src/jalview/binding/Viewport.java @@ -1,53 +1,36 @@ /* -* Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle -* -* This program 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 2 -* of the License, or (at your option) any later version. -* -* This program 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 this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -*/ -/* - * This class was automatically generated with + * This class was automatically generated with * Castor 0.9.6, using an XML * Schema. * $Id$ */ -package jalview.binding; - -import org.exolab.castor.xml.MarshalException; -import org.exolab.castor.xml.Marshaller; -import org.exolab.castor.xml.Unmarshaller; -import org.exolab.castor.xml.ValidationException; -import org.xml.sax.ContentHandler; +package jalview.binding; + //---------------------------------/ + //- Imported classes and packages -/ //---------------------------------/ -//- Imported classes and packages -/ -//---------------------------------/ + import java.io.IOException; import java.io.Reader; import java.io.Serializable; import java.io.Writer; - +import org.exolab.castor.xml.MarshalException; +import org.exolab.castor.xml.Marshaller; +import org.exolab.castor.xml.Unmarshaller; +import org.exolab.castor.xml.ValidationException; +import org.xml.sax.ContentHandler; /** * Class Viewport. - * + * * @version $Revision$ $Date$ */ public class Viewport implements java.io.Serializable { - //--------------------------/ - //- Class/Member Variables -/ + + + //--------------------------/ + //- Class/Member Variables -/ //--------------------------/ /** @@ -295,1134 +278,1143 @@ public class Viewport implements java.io.Serializable { */ private boolean _has_fontStyle; + + //----------------/ + //- Constructors -/ //----------------/ - //- Constructors -/ - //----------------/ + public Viewport() { super(); - } - //-- jalview.binding.Viewport() - //-----------/ + } //-- jalview.binding.Viewport() - public void deleteConsThreshold() { - this._has_consThreshold = false; - } - //-- void deleteConsThreshold() + + //-----------/ + //- Methods -/ + //-----------/ + + /** + * Method deleteConsThreshold + * + */ + public void deleteConsThreshold() + { + this._has_consThreshold= false; + } //-- void deleteConsThreshold() /** * Method deleteConservationSelected - * + * */ - public void deleteConservationSelected() { - this._has_conservationSelected = false; - } - //-- void deleteConservationSelected() + public void deleteConservationSelected() + { + this._has_conservationSelected= false; + } //-- void deleteConservationSelected() /** * Method deleteFontSize - * + * */ - public void deleteFontSize() { - this._has_fontSize = false; - } - //-- void deleteFontSize() + public void deleteFontSize() + { + this._has_fontSize= false; + } //-- void deleteFontSize() /** * Method deleteFontStyle - * + * */ - public void deleteFontStyle() { - this._has_fontStyle = false; - } - //-- void deleteFontStyle() + public void deleteFontStyle() + { + this._has_fontStyle= false; + } //-- void deleteFontStyle() /** * Method deleteHeight - * + * */ - public void deleteHeight() { - this._has_height = false; - } - //-- void deleteHeight() + public void deleteHeight() + { + this._has_height= false; + } //-- void deleteHeight() /** * Method deletePidSelected - * + * */ - public void deletePidSelected() { - this._has_pidSelected = false; - } - //-- void deletePidSelected() + public void deletePidSelected() + { + this._has_pidSelected= false; + } //-- void deletePidSelected() /** * Method deletePidThreshold - * + * */ - public void deletePidThreshold() { - this._has_pidThreshold = false; - } - //-- void deletePidThreshold() + public void deletePidThreshold() + { + this._has_pidThreshold= false; + } //-- void deletePidThreshold() /** * Method deleteRenderGaps - * + * */ - public void deleteRenderGaps() { - this._has_renderGaps = false; - } - //-- void deleteRenderGaps() + public void deleteRenderGaps() + { + this._has_renderGaps= false; + } //-- void deleteRenderGaps() /** * Method deleteShowAnnotation - * + * */ - public void deleteShowAnnotation() { - this._has_showAnnotation = false; - } - //-- void deleteShowAnnotation() + public void deleteShowAnnotation() + { + this._has_showAnnotation= false; + } //-- void deleteShowAnnotation() /** * Method deleteShowBoxes - * + * */ - public void deleteShowBoxes() { - this._has_showBoxes = false; - } - //-- void deleteShowBoxes() + public void deleteShowBoxes() + { + this._has_showBoxes= false; + } //-- void deleteShowBoxes() /** * Method deleteShowColourText - * + * */ - public void deleteShowColourText() { - this._has_showColourText = false; - } - //-- void deleteShowColourText() + public void deleteShowColourText() + { + this._has_showColourText= false; + } //-- void deleteShowColourText() /** * Method deleteShowConservation - * + * */ - public void deleteShowConservation() { - this._has_showConservation = false; - } - //-- void deleteShowConservation() + public void deleteShowConservation() + { + this._has_showConservation= false; + } //-- void deleteShowConservation() /** * Method deleteShowFullId - * + * */ - public void deleteShowFullId() { - this._has_showFullId = false; - } - //-- void deleteShowFullId() + public void deleteShowFullId() + { + this._has_showFullId= false; + } //-- void deleteShowFullId() /** * Method deleteShowIdentity - * + * */ - public void deleteShowIdentity() { - this._has_showIdentity = false; - } - //-- void deleteShowIdentity() + public void deleteShowIdentity() + { + this._has_showIdentity= false; + } //-- void deleteShowIdentity() /** * Method deleteShowQuality - * + * */ - public void deleteShowQuality() { - this._has_showQuality = false; - } - //-- void deleteShowQuality() + public void deleteShowQuality() + { + this._has_showQuality= false; + } //-- void deleteShowQuality() /** * Method deleteShowSequenceFeatures - * + * */ - public void deleteShowSequenceFeatures() { - this._has_showSequenceFeatures = false; - } - //-- void deleteShowSequenceFeatures() + public void deleteShowSequenceFeatures() + { + this._has_showSequenceFeatures= false; + } //-- void deleteShowSequenceFeatures() /** * Method deleteShowText - * + * */ - public void deleteShowText() { - this._has_showText = false; - } - //-- void deleteShowText() + public void deleteShowText() + { + this._has_showText= false; + } //-- void deleteShowText() /** * Method deleteStartRes - * + * */ - public void deleteStartRes() { - this._has_startRes = false; - } - //-- void deleteStartRes() + public void deleteStartRes() + { + this._has_startRes= false; + } //-- void deleteStartRes() /** * Method deleteStartSeq - * + * */ - public void deleteStartSeq() { - this._has_startSeq = false; - } - //-- void deleteStartSeq() + public void deleteStartSeq() + { + this._has_startSeq= false; + } //-- void deleteStartSeq() /** * Method deleteWidth - * + * */ - public void deleteWidth() { - this._has_width = false; - } - //-- void deleteWidth() + public void deleteWidth() + { + this._has_width= false; + } //-- void deleteWidth() /** * Method deleteWrapAlignment - * + * */ - public void deleteWrapAlignment() { - this._has_wrapAlignment = false; - } - //-- void deleteWrapAlignment() + public void deleteWrapAlignment() + { + this._has_wrapAlignment= false; + } //-- void deleteWrapAlignment() /** * Method deleteXpos - * + * */ - public void deleteXpos() { - this._has_xpos = false; - } - //-- void deleteXpos() + public void deleteXpos() + { + this._has_xpos= false; + } //-- void deleteXpos() /** * Method deleteYpos - * + * */ - public void deleteYpos() { - this._has_ypos = false; - } - //-- void deleteYpos() + public void deleteYpos() + { + this._has_ypos= false; + } //-- void deleteYpos() /** * Returns the value of field 'bgColour'. - * + * * @return String * @return the value of field 'bgColour'. */ - public java.lang.String getBgColour() { + public java.lang.String getBgColour() + { return this._bgColour; - } - //-- java.lang.String getBgColour() + } //-- java.lang.String getBgColour() /** * Returns the value of field 'consThreshold'. - * + * * @return int * @return the value of field 'consThreshold'. */ - public int getConsThreshold() { + public int getConsThreshold() + { return this._consThreshold; - } - //-- int getConsThreshold() + } //-- int getConsThreshold() /** * Returns the value of field 'conservationSelected'. - * + * * @return boolean * @return the value of field 'conservationSelected'. */ - public boolean getConservationSelected() { + public boolean getConservationSelected() + { return this._conservationSelected; - } - //-- boolean getConservationSelected() + } //-- boolean getConservationSelected() /** * Returns the value of field 'fontName'. - * + * * @return String * @return the value of field 'fontName'. */ - public java.lang.String getFontName() { + public java.lang.String getFontName() + { return this._fontName; - } - //-- java.lang.String getFontName() + } //-- java.lang.String getFontName() /** * Returns the value of field 'fontSize'. - * + * * @return int * @return the value of field 'fontSize'. */ - public int getFontSize() { + public int getFontSize() + { return this._fontSize; - } - //-- int getFontSize() + } //-- int getFontSize() /** * Returns the value of field 'fontStyle'. - * + * * @return int * @return the value of field 'fontStyle'. */ - public int getFontStyle() { + public int getFontStyle() + { return this._fontStyle; - } - //-- int getFontStyle() + } //-- int getFontStyle() /** * Returns the value of field 'height'. - * + * * @return int * @return the value of field 'height'. */ - public int getHeight() { + public int getHeight() + { return this._height; - } - //-- int getHeight() + } //-- int getHeight() /** * Returns the value of field 'pidSelected'. - * + * * @return boolean * @return the value of field 'pidSelected'. */ - public boolean getPidSelected() { + public boolean getPidSelected() + { return this._pidSelected; - } - //-- boolean getPidSelected() + } //-- boolean getPidSelected() /** * Returns the value of field 'pidThreshold'. - * + * * @return int * @return the value of field 'pidThreshold'. */ - public int getPidThreshold() { + public int getPidThreshold() + { return this._pidThreshold; - } - //-- int getPidThreshold() + } //-- int getPidThreshold() /** * Returns the value of field 'renderGaps'. - * + * * @return boolean * @return the value of field 'renderGaps'. */ - public boolean getRenderGaps() { + public boolean getRenderGaps() + { return this._renderGaps; - } - //-- boolean getRenderGaps() + } //-- boolean getRenderGaps() /** * Returns the value of field 'showAnnotation'. - * + * * @return boolean * @return the value of field 'showAnnotation'. */ - public boolean getShowAnnotation() { + public boolean getShowAnnotation() + { return this._showAnnotation; - } - //-- boolean getShowAnnotation() + } //-- boolean getShowAnnotation() /** * Returns the value of field 'showBoxes'. - * + * * @return boolean * @return the value of field 'showBoxes'. */ - public boolean getShowBoxes() { + public boolean getShowBoxes() + { return this._showBoxes; - } - //-- boolean getShowBoxes() + } //-- boolean getShowBoxes() /** * Returns the value of field 'showColourText'. - * + * * @return boolean * @return the value of field 'showColourText'. */ - public boolean getShowColourText() { + public boolean getShowColourText() + { return this._showColourText; - } - //-- boolean getShowColourText() + } //-- boolean getShowColourText() /** * Returns the value of field 'showConservation'. - * + * * @return boolean * @return the value of field 'showConservation'. */ - public boolean getShowConservation() { + public boolean getShowConservation() + { return this._showConservation; - } - //-- boolean getShowConservation() + } //-- boolean getShowConservation() /** * Returns the value of field 'showFullId'. - * + * * @return boolean * @return the value of field 'showFullId'. */ - public boolean getShowFullId() { + public boolean getShowFullId() + { return this._showFullId; - } - //-- boolean getShowFullId() + } //-- boolean getShowFullId() /** * Returns the value of field 'showIdentity'. - * + * * @return boolean * @return the value of field 'showIdentity'. */ - public boolean getShowIdentity() { + public boolean getShowIdentity() + { return this._showIdentity; - } - //-- boolean getShowIdentity() + } //-- boolean getShowIdentity() /** * Returns the value of field 'showQuality'. - * + * * @return boolean * @return the value of field 'showQuality'. */ - public boolean getShowQuality() { + public boolean getShowQuality() + { return this._showQuality; - } - //-- boolean getShowQuality() + } //-- boolean getShowQuality() /** * Returns the value of field 'showSequenceFeatures'. - * + * * @return boolean * @return the value of field 'showSequenceFeatures'. */ - public boolean getShowSequenceFeatures() { + public boolean getShowSequenceFeatures() + { return this._showSequenceFeatures; - } - //-- boolean getShowSequenceFeatures() + } //-- boolean getShowSequenceFeatures() /** * Returns the value of field 'showText'. - * + * * @return boolean * @return the value of field 'showText'. */ - public boolean getShowText() { + public boolean getShowText() + { return this._showText; - } - //-- boolean getShowText() + } //-- boolean getShowText() /** * Returns the value of field 'startRes'. - * + * * @return int * @return the value of field 'startRes'. */ - public int getStartRes() { + public int getStartRes() + { return this._startRes; - } - //-- int getStartRes() + } //-- int getStartRes() /** * Returns the value of field 'startSeq'. - * + * * @return int * @return the value of field 'startSeq'. */ - public int getStartSeq() { + public int getStartSeq() + { return this._startSeq; - } - //-- int getStartSeq() + } //-- int getStartSeq() /** * Returns the value of field 'title'. - * + * * @return String * @return the value of field 'title'. */ - public java.lang.String getTitle() { + public java.lang.String getTitle() + { return this._title; - } - //-- java.lang.String getTitle() + } //-- java.lang.String getTitle() /** * Returns the value of field 'width'. - * + * * @return int * @return the value of field 'width'. */ - public int getWidth() { + public int getWidth() + { return this._width; - } - //-- int getWidth() + } //-- int getWidth() /** * Returns the value of field 'wrapAlignment'. - * + * * @return boolean * @return the value of field 'wrapAlignment'. */ - public boolean getWrapAlignment() { + public boolean getWrapAlignment() + { return this._wrapAlignment; - } - //-- boolean getWrapAlignment() + } //-- boolean getWrapAlignment() /** * Returns the value of field 'xpos'. - * + * * @return int * @return the value of field 'xpos'. */ - public int getXpos() { + public int getXpos() + { return this._xpos; - } - //-- int getXpos() + } //-- int getXpos() /** * Returns the value of field 'ypos'. - * + * * @return int * @return the value of field 'ypos'. */ - public int getYpos() { + public int getYpos() + { return this._ypos; - } - //-- int getYpos() + } //-- int getYpos() /** * Method hasConsThreshold - * - * - * + * + * + * * @return boolean */ - public boolean hasConsThreshold() { + public boolean hasConsThreshold() + { return this._has_consThreshold; - } - //-- boolean hasConsThreshold() + } //-- boolean hasConsThreshold() /** * Method hasConservationSelected - * - * - * + * + * + * * @return boolean */ - public boolean hasConservationSelected() { + public boolean hasConservationSelected() + { return this._has_conservationSelected; - } - //-- boolean hasConservationSelected() + } //-- boolean hasConservationSelected() /** * Method hasFontSize - * - * - * + * + * + * * @return boolean */ - public boolean hasFontSize() { + public boolean hasFontSize() + { return this._has_fontSize; - } - //-- boolean hasFontSize() + } //-- boolean hasFontSize() /** * Method hasFontStyle - * - * - * + * + * + * * @return boolean */ - public boolean hasFontStyle() { + public boolean hasFontStyle() + { return this._has_fontStyle; - } - //-- boolean hasFontStyle() + } //-- boolean hasFontStyle() /** * Method hasHeight - * - * - * + * + * + * * @return boolean */ - public boolean hasHeight() { + public boolean hasHeight() + { return this._has_height; - } - //-- boolean hasHeight() + } //-- boolean hasHeight() /** * Method hasPidSelected - * - * - * + * + * + * * @return boolean */ - public boolean hasPidSelected() { + public boolean hasPidSelected() + { return this._has_pidSelected; - } - //-- boolean hasPidSelected() + } //-- boolean hasPidSelected() /** * Method hasPidThreshold - * - * - * + * + * + * * @return boolean */ - public boolean hasPidThreshold() { + public boolean hasPidThreshold() + { return this._has_pidThreshold; - } - //-- boolean hasPidThreshold() + } //-- boolean hasPidThreshold() /** * Method hasRenderGaps - * - * - * + * + * + * * @return boolean */ - public boolean hasRenderGaps() { + public boolean hasRenderGaps() + { return this._has_renderGaps; - } - //-- boolean hasRenderGaps() + } //-- boolean hasRenderGaps() /** * Method hasShowAnnotation - * - * - * + * + * + * * @return boolean */ - public boolean hasShowAnnotation() { + public boolean hasShowAnnotation() + { return this._has_showAnnotation; - } - //-- boolean hasShowAnnotation() + } //-- boolean hasShowAnnotation() /** * Method hasShowBoxes - * - * - * + * + * + * * @return boolean */ - public boolean hasShowBoxes() { + public boolean hasShowBoxes() + { return this._has_showBoxes; - } - //-- boolean hasShowBoxes() + } //-- boolean hasShowBoxes() /** * Method hasShowColourText - * - * - * + * + * + * * @return boolean */ - public boolean hasShowColourText() { + public boolean hasShowColourText() + { return this._has_showColourText; - } - //-- boolean hasShowColourText() + } //-- boolean hasShowColourText() /** * Method hasShowConservation - * - * - * + * + * + * * @return boolean */ - public boolean hasShowConservation() { + public boolean hasShowConservation() + { return this._has_showConservation; - } - //-- boolean hasShowConservation() + } //-- boolean hasShowConservation() /** * Method hasShowFullId - * - * - * + * + * + * * @return boolean */ - public boolean hasShowFullId() { + public boolean hasShowFullId() + { return this._has_showFullId; - } - //-- boolean hasShowFullId() + } //-- boolean hasShowFullId() /** * Method hasShowIdentity - * - * - * + * + * + * * @return boolean */ - public boolean hasShowIdentity() { + public boolean hasShowIdentity() + { return this._has_showIdentity; - } - //-- boolean hasShowIdentity() + } //-- boolean hasShowIdentity() /** * Method hasShowQuality - * - * - * + * + * + * * @return boolean */ - public boolean hasShowQuality() { + public boolean hasShowQuality() + { return this._has_showQuality; - } - //-- boolean hasShowQuality() + } //-- boolean hasShowQuality() /** * Method hasShowSequenceFeatures - * - * - * + * + * + * * @return boolean */ - public boolean hasShowSequenceFeatures() { + public boolean hasShowSequenceFeatures() + { return this._has_showSequenceFeatures; - } - //-- boolean hasShowSequenceFeatures() + } //-- boolean hasShowSequenceFeatures() /** * Method hasShowText - * - * - * + * + * + * * @return boolean */ - public boolean hasShowText() { + public boolean hasShowText() + { return this._has_showText; - } - //-- boolean hasShowText() + } //-- boolean hasShowText() /** * Method hasStartRes - * - * - * + * + * + * * @return boolean */ - public boolean hasStartRes() { + public boolean hasStartRes() + { return this._has_startRes; - } - //-- boolean hasStartRes() + } //-- boolean hasStartRes() /** * Method hasStartSeq - * - * - * + * + * + * * @return boolean */ - public boolean hasStartSeq() { + public boolean hasStartSeq() + { return this._has_startSeq; - } - //-- boolean hasStartSeq() + } //-- boolean hasStartSeq() /** * Method hasWidth - * - * - * + * + * + * * @return boolean */ - public boolean hasWidth() { + public boolean hasWidth() + { return this._has_width; - } - //-- boolean hasWidth() + } //-- boolean hasWidth() /** * Method hasWrapAlignment - * - * - * + * + * + * * @return boolean */ - public boolean hasWrapAlignment() { + public boolean hasWrapAlignment() + { return this._has_wrapAlignment; - } - //-- boolean hasWrapAlignment() + } //-- boolean hasWrapAlignment() /** * Method hasXpos - * - * - * + * + * + * * @return boolean */ - public boolean hasXpos() { + public boolean hasXpos() + { return this._has_xpos; - } - //-- boolean hasXpos() + } //-- boolean hasXpos() /** * Method hasYpos - * - * - * + * + * + * * @return boolean */ - public boolean hasYpos() { + public boolean hasYpos() + { return this._has_ypos; - } - //-- boolean hasYpos() + } //-- boolean hasYpos() /** * Method isValid - * - * - * + * + * + * * @return boolean */ - public boolean isValid() { + public boolean isValid() + { try { validate(); - } catch (org.exolab.castor.xml.ValidationException vex) { + } + catch (org.exolab.castor.xml.ValidationException vex) { return false; } - return true; - } - //-- boolean isValid() + } //-- boolean isValid() /** * Method marshal - * - * - * + * + * + * * @param out */ public void marshal(java.io.Writer out) - throws org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException { + throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException + { + Marshaller.marshal(this, out); - } - //-- void marshal(java.io.Writer) + } //-- void marshal(java.io.Writer) /** * Method marshal - * - * - * + * + * + * * @param handler */ public void marshal(org.xml.sax.ContentHandler handler) - throws java.io.IOException, org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException { + throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException + { + Marshaller.marshal(this, handler); - } - //-- void marshal(org.xml.sax.ContentHandler) + } //-- void marshal(org.xml.sax.ContentHandler) /** * Sets the value of field 'bgColour'. - * + * * @param bgColour the value of field 'bgColour'. */ - public void setBgColour(java.lang.String bgColour) { + public void setBgColour(java.lang.String bgColour) + { this._bgColour = bgColour; - } - //-- void setBgColour(java.lang.String) + } //-- void setBgColour(java.lang.String) /** * Sets the value of field 'consThreshold'. - * + * * @param consThreshold the value of field 'consThreshold'. */ - public void setConsThreshold(int consThreshold) { + public void setConsThreshold(int consThreshold) + { this._consThreshold = consThreshold; this._has_consThreshold = true; - } - //-- void setConsThreshold(int) + } //-- void setConsThreshold(int) /** * Sets the value of field 'conservationSelected'. - * + * * @param conservationSelected the value of field * 'conservationSelected'. */ - public void setConservationSelected(boolean conservationSelected) { + public void setConservationSelected(boolean conservationSelected) + { this._conservationSelected = conservationSelected; this._has_conservationSelected = true; - } - //-- void setConservationSelected(boolean) + } //-- void setConservationSelected(boolean) /** * Sets the value of field 'fontName'. - * + * * @param fontName the value of field 'fontName'. */ - public void setFontName(java.lang.String fontName) { + public void setFontName(java.lang.String fontName) + { this._fontName = fontName; - } - //-- void setFontName(java.lang.String) + } //-- void setFontName(java.lang.String) /** * Sets the value of field 'fontSize'. - * + * * @param fontSize the value of field 'fontSize'. */ - public void setFontSize(int fontSize) { + public void setFontSize(int fontSize) + { this._fontSize = fontSize; this._has_fontSize = true; - } - //-- void setFontSize(int) + } //-- void setFontSize(int) /** * Sets the value of field 'fontStyle'. - * + * * @param fontStyle the value of field 'fontStyle'. */ - public void setFontStyle(int fontStyle) { + public void setFontStyle(int fontStyle) + { this._fontStyle = fontStyle; this._has_fontStyle = true; - } - //-- void setFontStyle(int) + } //-- void setFontStyle(int) /** * Sets the value of field 'height'. - * + * * @param height the value of field 'height'. */ - public void setHeight(int height) { + public void setHeight(int height) + { this._height = height; this._has_height = true; - } - //-- void setHeight(int) + } //-- void setHeight(int) /** * Sets the value of field 'pidSelected'. - * + * * @param pidSelected the value of field 'pidSelected'. */ - public void setPidSelected(boolean pidSelected) { + public void setPidSelected(boolean pidSelected) + { this._pidSelected = pidSelected; this._has_pidSelected = true; - } - //-- void setPidSelected(boolean) + } //-- void setPidSelected(boolean) /** * Sets the value of field 'pidThreshold'. - * + * * @param pidThreshold the value of field 'pidThreshold'. */ - public void setPidThreshold(int pidThreshold) { + public void setPidThreshold(int pidThreshold) + { this._pidThreshold = pidThreshold; this._has_pidThreshold = true; - } - //-- void setPidThreshold(int) + } //-- void setPidThreshold(int) /** * Sets the value of field 'renderGaps'. - * + * * @param renderGaps the value of field 'renderGaps'. */ - public void setRenderGaps(boolean renderGaps) { + public void setRenderGaps(boolean renderGaps) + { this._renderGaps = renderGaps; this._has_renderGaps = true; - } - //-- void setRenderGaps(boolean) + } //-- void setRenderGaps(boolean) /** * Sets the value of field 'showAnnotation'. - * + * * @param showAnnotation the value of field 'showAnnotation'. */ - public void setShowAnnotation(boolean showAnnotation) { + public void setShowAnnotation(boolean showAnnotation) + { this._showAnnotation = showAnnotation; this._has_showAnnotation = true; - } - //-- void setShowAnnotation(boolean) + } //-- void setShowAnnotation(boolean) /** * Sets the value of field 'showBoxes'. - * + * * @param showBoxes the value of field 'showBoxes'. */ - public void setShowBoxes(boolean showBoxes) { + public void setShowBoxes(boolean showBoxes) + { this._showBoxes = showBoxes; this._has_showBoxes = true; - } - //-- void setShowBoxes(boolean) + } //-- void setShowBoxes(boolean) /** * Sets the value of field 'showColourText'. - * + * * @param showColourText the value of field 'showColourText'. */ - public void setShowColourText(boolean showColourText) { + public void setShowColourText(boolean showColourText) + { this._showColourText = showColourText; this._has_showColourText = true; - } - //-- void setShowColourText(boolean) + } //-- void setShowColourText(boolean) /** * Sets the value of field 'showConservation'. - * + * * @param showConservation the value of field 'showConservation' */ - public void setShowConservation(boolean showConservation) { + public void setShowConservation(boolean showConservation) + { this._showConservation = showConservation; this._has_showConservation = true; - } - //-- void setShowConservation(boolean) + } //-- void setShowConservation(boolean) /** * Sets the value of field 'showFullId'. - * + * * @param showFullId the value of field 'showFullId'. */ - public void setShowFullId(boolean showFullId) { + public void setShowFullId(boolean showFullId) + { this._showFullId = showFullId; this._has_showFullId = true; - } - //-- void setShowFullId(boolean) + } //-- void setShowFullId(boolean) /** * Sets the value of field 'showIdentity'. - * + * * @param showIdentity the value of field 'showIdentity'. */ - public void setShowIdentity(boolean showIdentity) { + public void setShowIdentity(boolean showIdentity) + { this._showIdentity = showIdentity; this._has_showIdentity = true; - } - //-- void setShowIdentity(boolean) + } //-- void setShowIdentity(boolean) /** * Sets the value of field 'showQuality'. - * + * * @param showQuality the value of field 'showQuality'. */ - public void setShowQuality(boolean showQuality) { + public void setShowQuality(boolean showQuality) + { this._showQuality = showQuality; this._has_showQuality = true; - } - //-- void setShowQuality(boolean) + } //-- void setShowQuality(boolean) /** * Sets the value of field 'showSequenceFeatures'. - * + * * @param showSequenceFeatures the value of field * 'showSequenceFeatures'. */ - public void setShowSequenceFeatures(boolean showSequenceFeatures) { + public void setShowSequenceFeatures(boolean showSequenceFeatures) + { this._showSequenceFeatures = showSequenceFeatures; this._has_showSequenceFeatures = true; - } - //-- void setShowSequenceFeatures(boolean) + } //-- void setShowSequenceFeatures(boolean) /** * Sets the value of field 'showText'. - * + * * @param showText the value of field 'showText'. */ - public void setShowText(boolean showText) { + public void setShowText(boolean showText) + { this._showText = showText; this._has_showText = true; - } - //-- void setShowText(boolean) + } //-- void setShowText(boolean) /** * Sets the value of field 'startRes'. - * + * * @param startRes the value of field 'startRes'. */ - public void setStartRes(int startRes) { + public void setStartRes(int startRes) + { this._startRes = startRes; this._has_startRes = true; - } - //-- void setStartRes(int) + } //-- void setStartRes(int) /** * Sets the value of field 'startSeq'. - * + * * @param startSeq the value of field 'startSeq'. */ - public void setStartSeq(int startSeq) { + public void setStartSeq(int startSeq) + { this._startSeq = startSeq; this._has_startSeq = true; - } - //-- void setStartSeq(int) + } //-- void setStartSeq(int) /** * Sets the value of field 'title'. - * + * * @param title the value of field 'title'. */ - public void setTitle(java.lang.String title) { + public void setTitle(java.lang.String title) + { this._title = title; - } - //-- void setTitle(java.lang.String) + } //-- void setTitle(java.lang.String) /** * Sets the value of field 'width'. - * + * * @param width the value of field 'width'. */ - public void setWidth(int width) { + public void setWidth(int width) + { this._width = width; this._has_width = true; - } - //-- void setWidth(int) + } //-- void setWidth(int) /** * Sets the value of field 'wrapAlignment'. - * + * * @param wrapAlignment the value of field 'wrapAlignment'. */ - public void setWrapAlignment(boolean wrapAlignment) { + public void setWrapAlignment(boolean wrapAlignment) + { this._wrapAlignment = wrapAlignment; this._has_wrapAlignment = true; - } - //-- void setWrapAlignment(boolean) + } //-- void setWrapAlignment(boolean) /** * Sets the value of field 'xpos'. - * + * * @param xpos the value of field 'xpos'. */ - public void setXpos(int xpos) { + public void setXpos(int xpos) + { this._xpos = xpos; this._has_xpos = true; - } - //-- void setXpos(int) + } //-- void setXpos(int) /** * Sets the value of field 'ypos'. - * + * * @param ypos the value of field 'ypos'. */ - public void setYpos(int ypos) { + public void setYpos(int ypos) + { this._ypos = ypos; this._has_ypos = true; - } - //-- void setYpos(int) + } //-- void setYpos(int) /** * Method unmarshal - * - * - * + * + * + * * @param reader * @return Object */ public static java.lang.Object unmarshal(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); - } - //-- java.lang.Object unmarshal(java.io.Reader) + throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException + { + return (jalview.binding.Viewport) Unmarshaller.unmarshal(jalview.binding.Viewport.class, reader); + } //-- java.lang.Object unmarshal(java.io.Reader) /** * Method validate - * + * */ - public void validate() throws org.exolab.castor.xml.ValidationException { + public void validate() + throws org.exolab.castor.xml.ValidationException + { org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); validator.validate(this); - } - //-- void validate() + } //-- void validate() + }