X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FSetting.java;h=d276b9f43d9e4419fce6345fd6acfa44c67c9e0b;hb=def10fb2252c67e8256ec1fddc6605e34d760c63;hp=668ef9d655b3ff1b6e5891b9a7737a8271e31f7b;hpb=48df59aa393e03aa7269b2df662ac1b8d58cbb25;p=jalview.git diff --git a/src/jalview/schemabinding/version2/Setting.java b/src/jalview/schemabinding/version2/Setting.java index 668ef9d..d276b9f 100755 --- a/src/jalview/schemabinding/version2/Setting.java +++ b/src/jalview/schemabinding/version2/Setting.java @@ -58,6 +58,16 @@ public class Setting implements java.io.Serializable { */ private boolean _has_display; + /** + * Field _order + */ + private float _order; + + /** + * keeps track of state for field: _order + */ + private boolean _has_order; + //----------------/ //- Constructors -/ @@ -91,6 +101,15 @@ public class Setting implements java.io.Serializable { } //-- void deleteDisplay() /** + * Method deleteOrder + * + */ + public void deleteOrder() + { + this._has_order= false; + } //-- void deleteOrder() + + /** * Returns the value of field 'colour'. * * @return int @@ -113,6 +132,17 @@ public class Setting implements java.io.Serializable { } //-- boolean getDisplay() /** + * Returns the value of field 'order'. + * + * @return float + * @return the value of field 'order'. + */ + public float getOrder() + { + return this._order; + } //-- float getOrder() + + /** * Returns the value of field 'type'. * * @return String @@ -148,6 +178,18 @@ public class Setting implements java.io.Serializable { } //-- boolean hasDisplay() /** + * Method hasOrder + * + * + * + * @return boolean + */ + public boolean hasOrder() + { + return this._has_order; + } //-- boolean hasOrder() + + /** * Method isValid * * @@ -216,6 +258,17 @@ public class Setting implements java.io.Serializable { } //-- void setDisplay(boolean) /** + * Sets the value of field 'order'. + * + * @param order the value of field 'order'. + */ + public void setOrder(float order) + { + this._order = order; + this._has_order = true; + } //-- void setOrder(float) + + /** * Sets the value of field 'type'. * * @param type the value of field 'type'.