X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FViewport.java;h=af2f28684c5846664a391fa5f04bd28d23ddd284;hb=ad15cff29620f960119f80176f1fd443da9f6763;hp=95b8adfc77565f1999a9fa6b8cd9ca426da3fbc2;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/binding/Viewport.java b/src/jalview/binding/Viewport.java old mode 100755 new mode 100644 index 95b8adf..af2f286 --- a/src/jalview/binding/Viewport.java +++ b/src/jalview/binding/Viewport.java @@ -1,26 +1,28 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * - * 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 file is part of Jalview. * - * 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. + * 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 this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.binding; -// ---------------------------------/ -// - Imported classes and packages -/ -// ---------------------------------/ +//---------------------------------/ +//- Imported classes and packages -/ +//---------------------------------/ import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; @@ -296,161 +298,161 @@ public class Viewport implements java.io.Serializable // -----------/ /** - */ + */ 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; @@ -1098,11 +1100,10 @@ public class Viewport implements java.io.Serializable * * @param out * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * 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 + * if this object is an invalid instance according to the schema */ public void marshal(final java.io.Writer out) throws org.exolab.castor.xml.MarshalException, @@ -1116,13 +1117,12 @@ public class Viewport implements java.io.Serializable * * @param handler * @throws java.io.IOException - * if an IOException occurs during marshaling + * if an IOException occurs during marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * 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 + * if object is null or if any SAXException is thrown during + * marshaling */ public void marshal(final org.xml.sax.ContentHandler handler) throws java.io.IOException, @@ -1136,7 +1136,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'bgColour'. * * @param bgColour - * the value of field 'bgColour'. + * the value of field 'bgColour'. */ public void setBgColour(final java.lang.String bgColour) { @@ -1147,7 +1147,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'consThreshold'. * * @param consThreshold - * the value of field 'consThreshold'. + * the value of field 'consThreshold'. */ public void setConsThreshold(final int consThreshold) { @@ -1159,7 +1159,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'conservationSelected'. * * @param conservationSelected - * the value of field 'conservationSelected'. + * the value of field 'conservationSelected'. */ public void setConservationSelected(final boolean conservationSelected) { @@ -1171,7 +1171,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'fontName'. * * @param fontName - * the value of field 'fontName'. + * the value of field 'fontName'. */ public void setFontName(final java.lang.String fontName) { @@ -1182,7 +1182,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'fontSize'. * * @param fontSize - * the value of field 'fontSize'. + * the value of field 'fontSize'. */ public void setFontSize(final int fontSize) { @@ -1194,7 +1194,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'fontStyle'. * * @param fontStyle - * the value of field 'fontStyle'. + * the value of field 'fontStyle'. */ public void setFontStyle(final int fontStyle) { @@ -1206,7 +1206,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'height'. * * @param height - * the value of field 'height'. + * the value of field 'height'. */ public void setHeight(final int height) { @@ -1218,7 +1218,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'pidSelected'. * * @param pidSelected - * the value of field 'pidSelected'. + * the value of field 'pidSelected'. */ public void setPidSelected(final boolean pidSelected) { @@ -1230,7 +1230,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'pidThreshold'. * * @param pidThreshold - * the value of field 'pidThreshold'. + * the value of field 'pidThreshold'. */ public void setPidThreshold(final int pidThreshold) { @@ -1242,7 +1242,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'renderGaps'. * * @param renderGaps - * the value of field 'renderGaps'. + * the value of field 'renderGaps'. */ public void setRenderGaps(final boolean renderGaps) { @@ -1254,7 +1254,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showAnnotation'. * * @param showAnnotation - * the value of field 'showAnnotation'. + * the value of field 'showAnnotation'. */ public void setShowAnnotation(final boolean showAnnotation) { @@ -1266,7 +1266,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showBoxes'. * * @param showBoxes - * the value of field 'showBoxes'. + * the value of field 'showBoxes'. */ public void setShowBoxes(final boolean showBoxes) { @@ -1278,7 +1278,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showColourText'. * * @param showColourText - * the value of field 'showColourText'. + * the value of field 'showColourText'. */ public void setShowColourText(final boolean showColourText) { @@ -1290,7 +1290,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showConservation'. * * @param showConservation - * the value of field 'showConservation' + * the value of field 'showConservation' */ public void setShowConservation(final boolean showConservation) { @@ -1302,7 +1302,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showFullId'. * * @param showFullId - * the value of field 'showFullId'. + * the value of field 'showFullId'. */ public void setShowFullId(final boolean showFullId) { @@ -1314,7 +1314,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showIdentity'. * * @param showIdentity - * the value of field 'showIdentity'. + * the value of field 'showIdentity'. */ public void setShowIdentity(final boolean showIdentity) { @@ -1326,7 +1326,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showQuality'. * * @param showQuality - * the value of field 'showQuality'. + * the value of field 'showQuality'. */ public void setShowQuality(final boolean showQuality) { @@ -1338,7 +1338,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showSequenceFeatures'. * * @param showSequenceFeatures - * the value of field 'showSequenceFeatures'. + * the value of field 'showSequenceFeatures'. */ public void setShowSequenceFeatures(final boolean showSequenceFeatures) { @@ -1350,7 +1350,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'showText'. * * @param showText - * the value of field 'showText'. + * the value of field 'showText'. */ public void setShowText(final boolean showText) { @@ -1362,7 +1362,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'startRes'. * * @param startRes - * the value of field 'startRes'. + * the value of field 'startRes'. */ public void setStartRes(final int startRes) { @@ -1374,7 +1374,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'startSeq'. * * @param startSeq - * the value of field 'startSeq'. + * the value of field 'startSeq'. */ public void setStartSeq(final int startSeq) { @@ -1386,7 +1386,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'title'. * * @param title - * the value of field 'title'. + * the value of field 'title'. */ public void setTitle(final java.lang.String title) { @@ -1397,7 +1397,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'width'. * * @param width - * the value of field 'width'. + * the value of field 'width'. */ public void setWidth(final int width) { @@ -1409,7 +1409,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'wrapAlignment'. * * @param wrapAlignment - * the value of field 'wrapAlignment'. + * the value of field 'wrapAlignment'. */ public void setWrapAlignment(final boolean wrapAlignment) { @@ -1421,7 +1421,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'xpos'. * * @param xpos - * the value of field 'xpos'. + * the value of field 'xpos'. */ public void setXpos(final int xpos) { @@ -1433,7 +1433,7 @@ public class Viewport implements java.io.Serializable * Sets the value of field 'ypos'. * * @param ypos - * the value of field 'ypos'. + * the value of field 'ypos'. */ public void setYpos(final int ypos) { @@ -1446,11 +1446,10 @@ public class Viewport implements java.io.Serializable * * @param reader * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * 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 + * if this object is an invalid instance according to the schema * @return the unmarshaled jalview.binding.Viewport */ public static jalview.binding.Viewport unmarshal( @@ -1466,8 +1465,7 @@ public class Viewport implements java.io.Serializable * * * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema */ public void validate() throws org.exolab.castor.xml.ValidationException {