extended Colour element with additional optional attributes for graduated colour
[jalview.git] / src / jalview / schemabinding / version2 / Viewport.java
index aa97a95..6cfe996 100755 (executable)
@@ -1,10 +1,21 @@
 /*\r
- * This class was automatically generated with \r
- * <a href="http://www.castor.org">Castor 1.1</a>, using an XML\r
- * Schema.\r
- * $Id$\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.1)\r
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * \r
+ * This program is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License\r
+ * as published by the Free Software Foundation; either version 2\r
+ * of the License, or (at your option) any later version.\r
+ * \r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
  */\r
-\r
 package jalview.schemabinding.version2;\r
 \r
   //---------------------------------/\r
@@ -117,6 +128,16 @@ public class Viewport implements java.io.Serializable {
     private boolean _has_showColourText;\r
 \r
     /**\r
+     * Field _showUnconserved.\r
+     */\r
+    private boolean _showUnconserved;\r
+\r
+    /**\r
+     * keeps track of state for field: _showUnconserved\r
+     */\r
+    private boolean _has_showUnconserved;\r
+\r
+    /**\r
      * Field _showBoxes.\r
      */\r
     private boolean _showBoxes;\r
@@ -302,6 +323,13 @@ public class Viewport implements java.io.Serializable {
     private boolean _has_textColThreshold;\r
 \r
     /**\r
+     * unique id used by jalview to synchronize between stored and\r
+     * instantiated views\r
+     *  \r
+     */\r
+    private java.lang.String _id;\r
+\r
+    /**\r
      * Field _annotationColours.\r
      */\r
     private jalview.schemabinding.version2.AnnotationColours _annotationColours;\r
@@ -468,6 +496,13 @@ public class Viewport implements java.io.Serializable {
 \r
     /**\r
      */\r
+    public void deleteShowUnconserved(\r
+    ) {\r
+        this._has_showUnconserved= false;\r
+    }\r
+\r
+    /**\r
+     */\r
     public void deleteStartRes(\r
     ) {\r
         this._has_startRes= false;\r
@@ -678,6 +713,19 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Returns the value of field 'id'. The field 'id' has the\r
+     * following description: unique id used by jalview to\r
+     * synchronize between stored and instantiated views\r
+     *  \r
+     * \r
+     * @return the value of field 'Id'.\r
+     */\r
+    public java.lang.String getId(\r
+    ) {\r
+        return this._id;\r
+    }\r
+\r
+    /**\r
      * Returns the value of field 'pidSelected'.\r
      * \r
      * @return the value of field 'PidSelected'.\r
@@ -788,6 +836,16 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Returns the value of field 'showUnconserved'.\r
+     * \r
+     * @return the value of field 'ShowUnconserved'.\r
+     */\r
+    public boolean getShowUnconserved(\r
+    ) {\r
+        return this._showUnconserved;\r
+    }\r
+\r
+    /**\r
      * Returns the value of field 'startRes'.\r
      * \r
      * @return the value of field 'StartRes'.\r
@@ -1060,6 +1118,16 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Method hasShowUnconserved.\r
+     * \r
+     * @return true if at least one ShowUnconserved has been added\r
+     */\r
+    public boolean hasShowUnconserved(\r
+    ) {\r
+        return this._has_showUnconserved;\r
+    }\r
+\r
+    /**\r
      * Method hasStartRes.\r
      * \r
      * @return true if at least one StartRes has been added\r
@@ -1260,6 +1328,16 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Returns the value of field 'showUnconserved'.\r
+     * \r
+     * @return the value of field 'ShowUnconserved'.\r
+     */\r
+    public boolean isShowUnconserved(\r
+    ) {\r
+        return this._showUnconserved;\r
+    }\r
+\r
+    /**\r
      * Method isValid.\r
      * \r
      * @return true if this object is valid according to the schema\r
@@ -1481,6 +1559,19 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Sets the value of field 'id'. The field 'id' has the\r
+     * following description: unique id used by jalview to\r
+     * synchronize between stored and instantiated views\r
+     *  \r
+     * \r
+     * @param id the value of field 'id'.\r
+     */\r
+    public void setId(\r
+            final java.lang.String id) {\r
+        this._id = id;\r
+    }\r
+\r
+    /**\r
      * Sets the value of field 'pidSelected'.\r
      * \r
      * @param pidSelected the value of field 'pidSelected'.\r
@@ -1602,6 +1693,17 @@ public class Viewport implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Sets the value of field 'showUnconserved'.\r
+     * \r
+     * @param showUnconserved the value of field 'showUnconserved'.\r
+     */\r
+    public void setShowUnconserved(\r
+            final boolean showUnconserved) {\r
+        this._showUnconserved = showUnconserved;\r
+        this._has_showUnconserved = true;\r
+    }\r
+\r
+    /**\r
      * Sets the value of field 'startRes'.\r
      * \r
      * @param startRes the value of field 'startRes'.\r