X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FAnnotationColours.java;h=19f92b8c15479365357c8c52b9ccf80b7a57de78;hb=4674dbf3f27eee61a7e21174649aa4c9ec7a04dd;hp=ff6dea7053aae53514ebfa9315f1b036f85ce16d;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/schemabinding/version2/AnnotationColours.java b/src/jalview/schemabinding/version2/AnnotationColours.java index ff6dea7..19f92b8 100755 --- a/src/jalview/schemabinding/version2/AnnotationColours.java +++ b/src/jalview/schemabinding/version2/AnnotationColours.java @@ -1,26 +1,25 @@ /* - * 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 2.6) + * Copyright (C) 2010 J Procter, AM Waterhouse, 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 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. * - * 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 + * 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 . */ package jalview.schemabinding.version2; -// ---------------------------------/ -// - Imported classes and packages -/ -// ---------------------------------/ +//---------------------------------/ +//- Imported classes and packages -/ +//---------------------------------/ import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; @@ -101,28 +100,28 @@ public class AnnotationColours implements java.io.Serializable // -----------/ /** - */ + */ public void deleteAboveThreshold() { this._has_aboveThreshold = false; } /** - */ + */ public void deleteMaxColour() { this._has_maxColour = false; } /** - */ + */ public void deleteMinColour() { this._has_minColour = false; } /** - */ + */ public void deleteThreshold() { this._has_threshold = false; @@ -250,11 +249,10 @@ public class AnnotationColours 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, @@ -268,13 +266,12 @@ public class AnnotationColours 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, @@ -288,7 +285,7 @@ public class AnnotationColours implements java.io.Serializable * Sets the value of field 'aboveThreshold'. * * @param aboveThreshold - * the value of field 'aboveThreshold'. + * the value of field 'aboveThreshold'. */ public void setAboveThreshold(final int aboveThreshold) { @@ -300,7 +297,7 @@ public class AnnotationColours implements java.io.Serializable * Sets the value of field 'annotation'. * * @param annotation - * the value of field 'annotation'. + * the value of field 'annotation'. */ public void setAnnotation(final java.lang.String annotation) { @@ -311,7 +308,7 @@ public class AnnotationColours implements java.io.Serializable * Sets the value of field 'colourScheme'. * * @param colourScheme - * the value of field 'colourScheme'. + * the value of field 'colourScheme'. */ public void setColourScheme(final java.lang.String colourScheme) { @@ -322,7 +319,7 @@ public class AnnotationColours implements java.io.Serializable * Sets the value of field 'maxColour'. * * @param maxColour - * the value of field 'maxColour'. + * the value of field 'maxColour'. */ public void setMaxColour(final int maxColour) { @@ -334,7 +331,7 @@ public class AnnotationColours implements java.io.Serializable * Sets the value of field 'minColour'. * * @param minColour - * the value of field 'minColour'. + * the value of field 'minColour'. */ public void setMinColour(final int minColour) { @@ -346,7 +343,7 @@ public class AnnotationColours implements java.io.Serializable * Sets the value of field 'threshold'. * * @param threshold - * the value of field 'threshold'. + * the value of field 'threshold'. */ public void setThreshold(final float threshold) { @@ -359,11 +356,10 @@ public class AnnotationColours 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.schemabinding.version2.AnnotationColours */ public static jalview.schemabinding.version2.AnnotationColours unmarshal( @@ -381,8 +377,7 @@ public class AnnotationColours 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 {