Save annotation colours, hideConsevation etc, graphGroups
[jalview.git] / src / jalview / schemabinding / version2 / AnnotationElement.java
index 8c91439..2507197 100755 (executable)
@@ -44,6 +44,16 @@ public class AnnotationElement implements java.io.Serializable {
     private boolean _has_position;\r
 \r
     /**\r
+     * Field _colour\r
+     */\r
+    private int _colour;\r
+\r
+    /**\r
+     * keeps track of state for field: _colour\r
+     */\r
+    private boolean _has_colour;\r
+\r
+    /**\r
      * Field _displayCharacter\r
      */\r
     private java.lang.String _displayCharacter;\r
@@ -83,6 +93,15 @@ public class AnnotationElement implements java.io.Serializable {
     //-----------/\r
 \r
     /**\r
+     * Method deleteColour\r
+     * \r
+     */\r
+    public void deleteColour()\r
+    {\r
+        this._has_colour= false;\r
+    } //-- void deleteColour() \r
+\r
+    /**\r
      * Method deletePosition\r
      * \r
      */\r
@@ -101,6 +120,17 @@ public class AnnotationElement implements java.io.Serializable {
     } //-- void deleteValue() \r
 \r
     /**\r
+     * Returns the value of field 'colour'.\r
+     * \r
+     * @return int\r
+     * @return the value of field 'colour'.\r
+     */\r
+    public int getColour()\r
+    {\r
+        return this._colour;\r
+    } //-- int getColour() \r
+\r
+    /**\r
      * Returns the value of field 'description'.\r
      * \r
      * @return String\r
@@ -156,6 +186,18 @@ public class AnnotationElement implements java.io.Serializable {
     } //-- float getValue() \r
 \r
     /**\r
+     * Method hasColour\r
+     * \r
+     * \r
+     * \r
+     * @return boolean\r
+     */\r
+    public boolean hasColour()\r
+    {\r
+        return this._has_colour;\r
+    } //-- boolean hasColour() \r
+\r
+    /**\r
      * Method hasPosition\r
      * \r
      * \r
@@ -226,6 +268,17 @@ public class AnnotationElement implements java.io.Serializable {
     } //-- void marshal(org.xml.sax.ContentHandler) \r
 \r
     /**\r
+     * Sets the value of field 'colour'.\r
+     * \r
+     * @param colour the value of field 'colour'.\r
+     */\r
+    public void setColour(int colour)\r
+    {\r
+        this._colour = colour;\r
+        this._has_colour = true;\r
+    } //-- void setColour(int) \r
+\r
+    /**\r
      * Sets the value of field 'description'.\r
      * \r
      * @param description the value of field 'description'.\r