X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FAnnotation.java;h=66f183d3126e8b72cf658ac2f14c4757153cd5ee;hb=1b1a1007c534a02fdbae76df0c084f215c7c4c21;hp=fefdd12a4a2f007592fb3f845a72788242ec9e59;hpb=ffe9b478a182cab3c8217b5c2bf002c7c1b6d7ec;p=jalview.git diff --git a/src/jalview/binding/Annotation.java b/src/jalview/binding/Annotation.java index fefdd12..66f183d 100755 --- a/src/jalview/binding/Annotation.java +++ b/src/jalview/binding/Annotation.java @@ -46,6 +46,16 @@ public class Annotation implements java.io.Serializable { private boolean _has_graph; /** + * Field _graphType + */ + private int _graphType; + + /** + * keeps track of state for field: _graphType + */ + private boolean _has_graphType; + + /** * Field _annotationElementList */ private java.util.Vector _annotationElementList; @@ -112,6 +122,15 @@ public class Annotation implements java.io.Serializable { } //-- void deleteGraph() /** + * Method deleteGraphType + * + */ + public void deleteGraphType() + { + this._has_graphType= false; + } //-- void deleteGraphType() + + /** * Method enumerateAnnotationElement * * @@ -194,6 +213,17 @@ public class Annotation implements java.io.Serializable { } //-- boolean getGraph() /** + * Returns the value of field 'graphType'. + * + * @return int + * @return the value of field 'graphType'. + */ + public int getGraphType() + { + return this._graphType; + } //-- int getGraphType() + + /** * Returns the value of field 'label'. * * @return String @@ -217,6 +247,18 @@ public class Annotation implements java.io.Serializable { } //-- boolean hasGraph() /** + * Method hasGraphType + * + * + * + * @return boolean + */ + public boolean hasGraphType() + { + return this._has_graphType; + } //-- boolean hasGraphType() + + /** * Method isValid * * @@ -342,6 +384,17 @@ public class Annotation implements java.io.Serializable { } //-- void setGraph(boolean) /** + * Sets the value of field 'graphType'. + * + * @param graphType the value of field 'graphType'. + */ + public void setGraphType(int graphType) + { + this._graphType = graphType; + this._has_graphType = true; + } //-- void setGraphType(int) + + /** * Sets the value of field 'label'. * * @param label the value of field 'label'.