X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FAnnotationElement.java;h=250719721779ee9fb115b447beaf8c2ea45adbfe;hb=501657b3f11ab8e83271b6500375d8ae80b66c84;hp=8c914394246e9d9fd97618acbf445b0ca261c588;hpb=ea49c8f1b0d681ec87547fc4055eb35a1165aee3;p=jalview.git diff --git a/src/jalview/schemabinding/version2/AnnotationElement.java b/src/jalview/schemabinding/version2/AnnotationElement.java index 8c91439..2507197 100755 --- a/src/jalview/schemabinding/version2/AnnotationElement.java +++ b/src/jalview/schemabinding/version2/AnnotationElement.java @@ -44,6 +44,16 @@ public class AnnotationElement implements java.io.Serializable { private boolean _has_position; /** + * Field _colour + */ + private int _colour; + + /** + * keeps track of state for field: _colour + */ + private boolean _has_colour; + + /** * Field _displayCharacter */ private java.lang.String _displayCharacter; @@ -83,6 +93,15 @@ public class AnnotationElement implements java.io.Serializable { //-----------/ /** + * Method deleteColour + * + */ + public void deleteColour() + { + this._has_colour= false; + } //-- void deleteColour() + + /** * Method deletePosition * */ @@ -101,6 +120,17 @@ public class AnnotationElement implements java.io.Serializable { } //-- void deleteValue() /** + * Returns the value of field 'colour'. + * + * @return int + * @return the value of field 'colour'. + */ + public int getColour() + { + return this._colour; + } //-- int getColour() + + /** * Returns the value of field 'description'. * * @return String @@ -156,6 +186,18 @@ public class AnnotationElement implements java.io.Serializable { } //-- float getValue() /** + * Method hasColour + * + * + * + * @return boolean + */ + public boolean hasColour() + { + return this._has_colour; + } //-- boolean hasColour() + + /** * Method hasPosition * * @@ -226,6 +268,17 @@ public class AnnotationElement implements java.io.Serializable { } //-- void marshal(org.xml.sax.ContentHandler) /** + * Sets the value of field 'colour'. + * + * @param colour the value of field 'colour'. + */ + public void setColour(int colour) + { + this._colour = colour; + this._has_colour = true; + } //-- void setColour(int) + + /** * Sets the value of field 'description'. * * @param description the value of field 'description'.