JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / binding / Tree.java
old mode 100755 (executable)
new mode 100644 (file)
index f7679f1..04ea0a4
@@ -1,26 +1,15 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
- * 
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * 
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
+ * This class was automatically generated with 
+ * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
+ * Schema.
+ * $Id$
  */
+
 package jalview.binding;
 
-// ---------------------------------/
-// - Imported classes and packages -/
-// ---------------------------------/
+//---------------------------------/
+//- Imported classes and packages -/
+//---------------------------------/
 
 import org.exolab.castor.xml.Marshaller;
 import org.exolab.castor.xml.Unmarshaller;
@@ -186,84 +175,84 @@ public class Tree implements java.io.Serializable
   // -----------/
 
   /**
-   */
+     */
   public void deleteCurrentTree()
   {
     this._has_currentTree = false;
   }
 
   /**
-   */
+     */
   public void deleteFitToWindow()
   {
     this._has_fitToWindow = false;
   }
 
   /**
-   */
+     */
   public void deleteFontSize()
   {
     this._has_fontSize = false;
   }
 
   /**
-   */
+     */
   public void deleteFontStyle()
   {
     this._has_fontStyle = false;
   }
 
   /**
-   */
+     */
   public void deleteHeight()
   {
     this._has_height = false;
   }
 
   /**
-   */
+     */
   public void deleteMarkUnlinked()
   {
     this._has_markUnlinked = false;
   }
 
   /**
-   */
+     */
   public void deleteShowBootstrap()
   {
     this._has_showBootstrap = false;
   }
 
   /**
-   */
+     */
   public void deleteShowDistances()
   {
     this._has_showDistances = false;
   }
 
   /**
-   */
+     */
   public void deleteThreshold()
   {
     this._has_threshold = false;
   }
 
   /**
-   */
+     */
   public void deleteWidth()
   {
     this._has_width = false;
   }
 
   /**
-   */
+     */
   public void deleteXpos()
   {
     this._has_xpos = false;
   }
 
   /**
-   */
+     */
   public void deleteYpos()
   {
     this._has_ypos = false;
@@ -611,11 +600,10 @@ public class Tree implements java.io.Serializable
    * 
    * @param out
    * @throws org.exolab.castor.xml.MarshalException
-   *                 if object is null or if any SAXException is thrown during
-   *                 marshaling
+   *           if object is null or if any SAXException is thrown during
+   *           marshaling
    * @throws org.exolab.castor.xml.ValidationException
-   *                 if this object is an invalid instance according to the
-   *                 schema
+   *           if this object is an invalid instance according to the schema
    */
   public void marshal(final java.io.Writer out)
           throws org.exolab.castor.xml.MarshalException,
@@ -629,13 +617,12 @@ public class Tree implements java.io.Serializable
    * 
    * @param handler
    * @throws java.io.IOException
-   *                 if an IOException occurs during marshaling
+   *           if an IOException occurs during marshaling
    * @throws org.exolab.castor.xml.ValidationException
-   *                 if this object is an invalid instance according to the
-   *                 schema
+   *           if this object is an invalid instance according to the schema
    * @throws org.exolab.castor.xml.MarshalException
-   *                 if object is null or if any SAXException is thrown during
-   *                 marshaling
+   *           if object is null or if any SAXException is thrown during
+   *           marshaling
    */
   public void marshal(final org.xml.sax.ContentHandler handler)
           throws java.io.IOException,
@@ -649,7 +636,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'currentTree'.
    * 
    * @param currentTree
-   *                the value of field 'currentTree'.
+   *          the value of field 'currentTree'.
    */
   public void setCurrentTree(final boolean currentTree)
   {
@@ -661,7 +648,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fitToWindow'.
    * 
    * @param fitToWindow
-   *                the value of field 'fitToWindow'.
+   *          the value of field 'fitToWindow'.
    */
   public void setFitToWindow(final boolean fitToWindow)
   {
@@ -673,7 +660,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fontName'.
    * 
    * @param fontName
-   *                the value of field 'fontName'.
+   *          the value of field 'fontName'.
    */
   public void setFontName(final java.lang.String fontName)
   {
@@ -684,7 +671,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fontSize'.
    * 
    * @param fontSize
-   *                the value of field 'fontSize'.
+   *          the value of field 'fontSize'.
    */
   public void setFontSize(final int fontSize)
   {
@@ -696,7 +683,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fontStyle'.
    * 
    * @param fontStyle
-   *                the value of field 'fontStyle'.
+   *          the value of field 'fontStyle'.
    */
   public void setFontStyle(final int fontStyle)
   {
@@ -708,7 +695,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'height'.
    * 
    * @param height
-   *                the value of field 'height'.
+   *          the value of field 'height'.
    */
   public void setHeight(final int height)
   {
@@ -720,7 +707,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'markUnlinked'.
    * 
    * @param markUnlinked
-   *                the value of field 'markUnlinked'.
+   *          the value of field 'markUnlinked'.
    */
   public void setMarkUnlinked(final boolean markUnlinked)
   {
@@ -732,7 +719,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'newick'.
    * 
    * @param newick
-   *                the value of field 'newick'.
+   *          the value of field 'newick'.
    */
   public void setNewick(final java.lang.String newick)
   {
@@ -743,7 +730,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'showBootstrap'.
    * 
    * @param showBootstrap
-   *                the value of field 'showBootstrap'.
+   *          the value of field 'showBootstrap'.
    */
   public void setShowBootstrap(final boolean showBootstrap)
   {
@@ -755,7 +742,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'showDistances'.
    * 
    * @param showDistances
-   *                the value of field 'showDistances'.
+   *          the value of field 'showDistances'.
    */
   public void setShowDistances(final boolean showDistances)
   {
@@ -767,7 +754,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'threshold'.
    * 
    * @param threshold
-   *                the value of field 'threshold'.
+   *          the value of field 'threshold'.
    */
   public void setThreshold(final float threshold)
   {
@@ -779,7 +766,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'title'.
    * 
    * @param title
-   *                the value of field 'title'.
+   *          the value of field 'title'.
    */
   public void setTitle(final java.lang.String title)
   {
@@ -790,7 +777,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'width'.
    * 
    * @param width
-   *                the value of field 'width'.
+   *          the value of field 'width'.
    */
   public void setWidth(final int width)
   {
@@ -802,7 +789,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'xpos'.
    * 
    * @param xpos
-   *                the value of field 'xpos'.
+   *          the value of field 'xpos'.
    */
   public void setXpos(final int xpos)
   {
@@ -814,7 +801,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'ypos'.
    * 
    * @param ypos
-   *                the value of field 'ypos'.
+   *          the value of field 'ypos'.
    */
   public void setYpos(final int ypos)
   {
@@ -827,11 +814,10 @@ public class Tree implements java.io.Serializable
    * 
    * @param reader
    * @throws org.exolab.castor.xml.MarshalException
-   *                 if object is null or if any SAXException is thrown during
-   *                 marshaling
+   *           if object is null or if any SAXException is thrown during
+   *           marshaling
    * @throws org.exolab.castor.xml.ValidationException
-   *                 if this object is an invalid instance according to the
-   *                 schema
+   *           if this object is an invalid instance according to the schema
    * @return the unmarshaled jalview.binding.Tree
    */
   public static jalview.binding.Tree unmarshal(final java.io.Reader reader)
@@ -846,8 +832,7 @@ public class Tree implements java.io.Serializable
    * 
    * 
    * @throws org.exolab.castor.xml.ValidationException
-   *                 if this object is an invalid instance according to the
-   *                 schema
+   *           if this object is an invalid instance according to the schema
    */
   public void validate() throws org.exolab.castor.xml.ValidationException
   {