X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FAnnotation.java;h=0084c75f6c49abf18e5f2f50a16813d9191ee2a0;hb=84c20bdc7d5c6bd3aea2c8dae5263ebd9c5e5458;hp=021fa8bbe15557f667779f637f5f4376f24a59a9;hpb=4932106f045349290d58ab38d216dff31fd9afce;p=jalview.git diff --git a/src/jalview/schemabinding/version2/Annotation.java b/src/jalview/schemabinding/version2/Annotation.java index 021fa8b..0084c75 100755 --- a/src/jalview/schemabinding/version2/Annotation.java +++ b/src/jalview/schemabinding/version2/Annotation.java @@ -106,6 +106,16 @@ public class Annotation implements java.io.Serializable { private boolean _has_score; /** + * Field _visible + */ + private boolean _visible; + + /** + * keeps track of state for field: _visible + */ + private boolean _has_visible; + + /** * Field _annotationElementList */ private java.util.Vector _annotationElementList; @@ -222,6 +232,15 @@ public class Annotation implements java.io.Serializable { } //-- void deleteScoreOnly() /** + * Method deleteVisible + * + */ + public void deleteVisible() + { + this._has_visible= false; + } //-- void deleteVisible() + + /** * Method enumerateAnnotationElement * * @@ -403,6 +422,17 @@ public class Annotation implements java.io.Serializable { } //-- jalview.schemabinding.version2.ThresholdLine getThresholdLine() /** + * Returns the value of field 'visible'. + * + * @return boolean + * @return the value of field 'visible'. + */ + public boolean getVisible() + { + return this._visible; + } //-- boolean getVisible() + + /** * Method hasGraph * * @@ -475,6 +505,18 @@ public class Annotation implements java.io.Serializable { } //-- boolean hasScoreOnly() /** + * Method hasVisible + * + * + * + * @return boolean + */ + public boolean hasVisible() + { + return this._has_visible; + } //-- boolean hasVisible() + + /** * Method isValid * * @@ -695,6 +737,17 @@ public class Annotation implements java.io.Serializable { } //-- void setThresholdLine(jalview.schemabinding.version2.ThresholdLine) /** + * Sets the value of field 'visible'. + * + * @param visible the value of field 'visible'. + */ + public void setVisible(boolean visible) + { + this._visible = visible; + this._has_visible = true; + } //-- void setVisible(boolean) + + /** * Method unmarshal * *