/*\r
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)\r
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6.1)\r
+ * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle\r
* \r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
+ * This file is part of Jalview.\r
* \r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
+ * Jalview is free software: you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License \r
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\r
* \r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
+ * Jalview is distributed in the hope that it will be useful, but \r
+ * WITHOUT ANY WARRANTY; without even the implied warranty \r
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR \r
+ * PURPOSE. See the GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
package jalview.schemabinding.version2;\r
\r
-// ---------------------------------/\r
-// - Imported classes and packages -/\r
-// ---------------------------------/\r
+//---------------------------------/\r
+//- Imported classes and packages -/\r
+//---------------------------------/\r
\r
import org.exolab.castor.xml.Marshaller;\r
import org.exolab.castor.xml.Unmarshaller;\r
private boolean _has_currentTree;\r
\r
/**\r
+ * Tree ID added for binding tree visualization settings to vamsas document\r
+ * trees in jalview 2.4.1\r
+ */\r
+ private java.lang.String _id;\r
+\r
+ /**\r
* Field _title.\r
*/\r
private java.lang.String _title;\r
// -----------/\r
\r
/**\r
- */\r
+ */\r
public void deleteCurrentTree()\r
{\r
this._has_currentTree = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteFitToWindow()\r
{\r
this._has_fitToWindow = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteFontSize()\r
{\r
this._has_fontSize = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteFontStyle()\r
{\r
this._has_fontStyle = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteHeight()\r
{\r
this._has_height = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteMarkUnlinked()\r
{\r
this._has_markUnlinked = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteShowBootstrap()\r
{\r
this._has_showBootstrap = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteShowDistances()\r
{\r
this._has_showDistances = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteThreshold()\r
{\r
this._has_threshold = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteWidth()\r
{\r
this._has_width = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteXpos()\r
{\r
this._has_xpos = false;\r
}\r
\r
/**\r
- */\r
+ */\r
public void deleteYpos()\r
{\r
this._has_ypos = false;\r
}\r
\r
/**\r
+ * Returns the value of field 'id'. The field 'id' has the following\r
+ * description: Tree ID added for binding tree visualization settings to\r
+ * vamsas document trees in jalview 2.4.1\r
+ * \r
+ * @return the value of field 'Id'.\r
+ */\r
+ public java.lang.String getId()\r
+ {\r
+ return this._id;\r
+ }\r
+\r
+ /**\r
* Returns the value of field 'markUnlinked'.\r
* \r
* @return the value of field 'MarkUnlinked'.\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
+ * 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\r
- * schema\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
* \r
* @param handler\r
* @throws java.io.IOException\r
- * if an IOException occurs during marshaling\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\r
- * schema\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
+ * 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
* Sets the value of field 'currentTree'.\r
* \r
* @param currentTree\r
- * the value of field 'currentTree'.\r
+ * the value of field 'currentTree'.\r
*/\r
public void setCurrentTree(final boolean currentTree)\r
{\r
* Sets the value of field 'fitToWindow'.\r
* \r
* @param fitToWindow\r
- * the value of field 'fitToWindow'.\r
+ * the value of field 'fitToWindow'.\r
*/\r
public void setFitToWindow(final boolean fitToWindow)\r
{\r
* Sets the value of field 'fontName'.\r
* \r
* @param fontName\r
- * the value of field 'fontName'.\r
+ * the value of field 'fontName'.\r
*/\r
public void setFontName(final java.lang.String fontName)\r
{\r
* Sets the value of field 'fontSize'.\r
* \r
* @param fontSize\r
- * the value of field 'fontSize'.\r
+ * the value of field 'fontSize'.\r
*/\r
public void setFontSize(final int fontSize)\r
{\r
* Sets the value of field 'fontStyle'.\r
* \r
* @param fontStyle\r
- * the value of field 'fontStyle'.\r
+ * the value of field 'fontStyle'.\r
*/\r
public void setFontStyle(final int fontStyle)\r
{\r
* Sets the value of field 'height'.\r
* \r
* @param height\r
- * the value of field 'height'.\r
+ * the value of field 'height'.\r
*/\r
public void setHeight(final int height)\r
{\r
}\r
\r
/**\r
+ * Sets the value of field 'id'. The field 'id' has the following description:\r
+ * Tree ID added for binding tree visualization settings to vamsas document\r
+ * trees in jalview 2.4.1\r
+ * \r
+ * @param id\r
+ * the value of field 'id'.\r
+ */\r
+ public void setId(final java.lang.String id)\r
+ {\r
+ this._id = id;\r
+ }\r
+\r
+ /**\r
* Sets the value of field 'markUnlinked'.\r
* \r
* @param markUnlinked\r
- * the value of field 'markUnlinked'.\r
+ * the value of field 'markUnlinked'.\r
*/\r
public void setMarkUnlinked(final boolean markUnlinked)\r
{\r
* Sets the value of field 'newick'.\r
* \r
* @param newick\r
- * the value of field 'newick'.\r
+ * the value of field 'newick'.\r
*/\r
public void setNewick(final java.lang.String newick)\r
{\r
* Sets the value of field 'showBootstrap'.\r
* \r
* @param showBootstrap\r
- * the value of field 'showBootstrap'.\r
+ * the value of field 'showBootstrap'.\r
*/\r
public void setShowBootstrap(final boolean showBootstrap)\r
{\r
* Sets the value of field 'showDistances'.\r
* \r
* @param showDistances\r
- * the value of field 'showDistances'.\r
+ * the value of field 'showDistances'.\r
*/\r
public void setShowDistances(final boolean showDistances)\r
{\r
* Sets the value of field 'threshold'.\r
* \r
* @param threshold\r
- * the value of field 'threshold'.\r
+ * the value of field 'threshold'.\r
*/\r
public void setThreshold(final float threshold)\r
{\r
* Sets the value of field 'title'.\r
* \r
* @param title\r
- * the value of field 'title'.\r
+ * the value of field 'title'.\r
*/\r
public void setTitle(final java.lang.String title)\r
{\r
* Sets the value of field 'width'.\r
* \r
* @param width\r
- * the value of field 'width'.\r
+ * the value of field 'width'.\r
*/\r
public void setWidth(final int width)\r
{\r
* Sets the value of field 'xpos'.\r
* \r
* @param xpos\r
- * the value of field 'xpos'.\r
+ * the value of field 'xpos'.\r
*/\r
public void setXpos(final int xpos)\r
{\r
* Sets the value of field 'ypos'.\r
* \r
* @param ypos\r
- * the value of field 'ypos'.\r
+ * the value of field 'ypos'.\r
*/\r
public void setYpos(final int ypos)\r
{\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
+ * 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\r
- * schema\r
+ * if this object is an invalid instance according to the schema\r
* @return the unmarshaled jalview.schemabinding.version2.Tree\r
*/\r
public static jalview.schemabinding.version2.Tree unmarshal(\r
* \r
* \r
* @throws org.exolab.castor.xml.ValidationException\r
- * if this object is an invalid instance according to the\r
- * schema\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