From 0e601aad1c53321613b6fe6727849f37eab89f48 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 3 Feb 2006 17:52:15 +0000 Subject: [PATCH] Added graphtype --- src/jalview/binding/Annotation.java | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) 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'. -- 1.7.10.2