+ return true;\r
+ }\r
+\r
+ /**\r
+ * \r
+ * \r
+ * @param out\r
+ * @throws org.exolab.castor.xml.MarshalException\r
+ * if object is null or if any SAXException is thrown during\r
+ * marshaling\r
+ * @throws org.exolab.castor.xml.ValidationException\r
+ * if this object is an invalid instance according to the schema\r
+ */\r
+ public void marshal(final java.io.Writer out)\r
+ throws org.exolab.castor.xml.MarshalException,\r
+ org.exolab.castor.xml.ValidationException\r
+ {\r
+ Marshaller.marshal(this, out);\r
+ }\r
+\r
+ /**\r
+ * \r
+ * \r
+ * @param handler\r
+ * @throws java.io.IOException\r
+ * if an IOException occurs during marshaling\r
+ * @throws org.exolab.castor.xml.ValidationException\r
+ * if this object is an invalid instance according to the schema\r
+ * @throws org.exolab.castor.xml.MarshalException\r
+ * if object is null or if any SAXException is thrown during\r
+ * marshaling\r
+ */\r
+ public void marshal(final org.xml.sax.ContentHandler handler)\r
+ throws java.io.IOException,\r
+ org.exolab.castor.xml.MarshalException,\r
+ org.exolab.castor.xml.ValidationException\r
+ {\r
+ Marshaller.marshal(this, handler);\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'autoScale'.\r
+ * \r
+ * @param autoScale\r
+ * the value of field 'autoScale'.\r
+ */\r
+ public void setAutoScale(final boolean autoScale)\r
+ {\r
+ this._autoScale = autoScale;\r
+ this._has_autoScale = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'colour'.\r
+ * \r
+ * @param colour\r
+ * the value of field 'colour'.\r
+ */\r
+ public void setColour(final int colour)\r
+ {\r
+ this._colour = colour;\r
+ this._has_colour = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'colourByLabel'.\r
+ * \r
+ * @param colourByLabel\r
+ * the value of field 'colourByLabel'.\r
+ */\r
+ public void setColourByLabel(final boolean colourByLabel)\r
+ {\r
+ this._colourByLabel = colourByLabel;\r
+ this._has_colourByLabel = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'display'.\r
+ * \r
+ * @param display\r
+ * the value of field 'display'.\r
+ */\r
+ public void setDisplay(final boolean display)\r
+ {\r
+ this._display = display;\r
+ this._has_display = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'max'.\r
+ * \r
+ * @param max\r
+ * the value of field 'max'.\r
+ */\r
+ public void setMax(final float max)\r
+ {\r
+ this._max = max;\r
+ this._has_max = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'min'.\r
+ * \r
+ * @param min\r
+ * the value of field 'min'.\r
+ */\r
+ public void setMin(final float min)\r
+ {\r
+ this._min = min;\r
+ this._has_min = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'mincolour'. The field 'mincolour' has the\r
+ * following description: Optional minimum colour for graduated feature colour\r
+ * \r
+ * @param mincolour\r
+ * the value of field 'mincolour'.\r
+ */\r
+ public void setMincolour(final int mincolour)\r
+ {\r
+ this._mincolour = mincolour;\r
+ this._has_mincolour = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'order'.\r
+ * \r
+ * @param order\r
+ * the value of field 'order'.\r
+ */\r
+ public void setOrder(final float order)\r
+ {\r
+ this._order = order;\r
+ this._has_order = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'threshold'. The field 'threshold' has the\r
+ * following description: threshold value for graduated feature colour\r
+ * \r
+ * @param threshold\r
+ * the value of field 'threshold'.\r
+ */\r
+ public void setThreshold(final float threshold)\r
+ {\r
+ this._threshold = threshold;\r
+ this._has_threshold = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'threshstate'. The field 'threshstate' has the\r
+ * following description: threshold type for graduated feature colour\r
+ * \r
+ * @param threshstate\r
+ * the value of field 'threshstate'.\r
+ */\r
+ public void setThreshstate(final int threshstate)\r
+ {\r
+ this._threshstate = threshstate;\r
+ this._has_threshstate = true;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'type'.\r
+ * \r
+ * @param type\r
+ * the value of field 'type'.\r
+ */\r
+ public void setType(final java.lang.String type)\r
+ {\r
+ this._type = type;\r
+ }\r
+\r
+ /**\r
+ * Method unmarshal.\r
+ * \r
+ * @param reader\r
+ * @throws org.exolab.castor.xml.MarshalException\r
+ * if object is null or if any SAXException is thrown during\r
+ * marshaling\r
+ * @throws org.exolab.castor.xml.ValidationException\r
+ * if this object is an invalid instance according to the schema\r
+ * @return the unmarshaled jalview.schemabinding.version2.Settin\r
+ */\r
+ public static jalview.schemabinding.version2.Setting unmarshal(\r
+ final java.io.Reader reader)\r
+ throws org.exolab.castor.xml.MarshalException,\r
+ org.exolab.castor.xml.ValidationException\r
+ {\r
+ return (jalview.schemabinding.version2.Setting) Unmarshaller.unmarshal(\r
+ jalview.schemabinding.version2.Setting.class, reader);\r
+ }\r
+\r
+ /**\r
+ * \r
+ * \r
+ * @throws org.exolab.castor.xml.ValidationException\r
+ * if this object is an invalid instance according to the schema\r
+ */\r
+ public void validate() throws org.exolab.castor.xml.ValidationException\r
+ {\r
+ org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r
+ validator.validate(this);\r
+ }\r