Formatting changes
[jalview.git] / src / jalview / binding / Tree.java
index 2821029..9fc63d2 100755 (executable)
@@ -1,36 +1,36 @@
 /*\r
- * This class was automatically generated with \r
+ * This class was automatically generated with\r
  * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML\r
  * Schema.\r
  * $Id$\r
  */\r
-\r
 package jalview.binding;\r
 \r
-  //---------------------------------/\r
- //- Imported classes and packages -/\r
-//---------------------------------/\r
-\r
-import java.io.IOException;\r
-import java.io.Reader;\r
-import java.io.Serializable;\r
-import java.io.Writer;\r
 import org.exolab.castor.xml.MarshalException;\r
 import org.exolab.castor.xml.Marshaller;\r
 import org.exolab.castor.xml.Unmarshaller;\r
 import org.exolab.castor.xml.ValidationException;\r
+\r
 import org.xml.sax.ContentHandler;\r
 \r
+//---------------------------------/\r
+//- Imported classes and packages -/\r
+//---------------------------------/\r
+import java.io.IOException;\r
+import java.io.Reader;\r
+import java.io.Serializable;\r
+import java.io.Writer;\r
+\r
+\r
 /**\r
  * Class Tree.\r
- * \r
+ *\r
  * @version $Revision$ $Date$\r
  */\r
-public class Tree implements java.io.Serializable {\r
-\r
-\r
-      //--------------------------/\r
-     //- Class/Member Variables -/\r
+public class Tree implements java.io.Serializable\r
+{\r
+    //--------------------------/\r
+    //- Class/Member Variables -/\r
     //--------------------------/\r
 \r
     /**\r
@@ -153,604 +153,709 @@ public class Tree implements java.io.Serializable {
      */\r
     private java.lang.String _newick;\r
 \r
-\r
-      //----------------/\r
-     //- Constructors -/\r
     //----------------/\r
-\r
-    public Tree() {\r
+    //- Constructors -/\r
+    //----------------/\r
+    public Tree()\r
+    {\r
         super();\r
-    } //-- jalview.binding.Tree()\r
+    }\r
 \r
-\r
-      //-----------/\r
-     //- Methods -/\r
+    //-- jalview.binding.Tree()\r
     //-----------/\r
 \r
     /**\r
-     * Method deleteCurrentTree\r
-     * \r
+     * DOCUMENT ME!\r
      */\r
     public void deleteCurrentTree()\r
     {\r
-        this._has_currentTree= false;\r
-    } //-- void deleteCurrentTree() \r
+        this._has_currentTree = false;\r
+    }\r
+\r
+    //-- void deleteCurrentTree() \r
 \r
     /**\r
      * Method deleteFitToWindow\r
-     * \r
+     *\r
      */\r
     public void deleteFitToWindow()\r
     {\r
-        this._has_fitToWindow= false;\r
-    } //-- void deleteFitToWindow() \r
+        this._has_fitToWindow = false;\r
+    }\r
+\r
+    //-- void deleteFitToWindow() \r
 \r
     /**\r
      * Method deleteFontSize\r
-     * \r
+     *\r
      */\r
     public void deleteFontSize()\r
     {\r
-        this._has_fontSize= false;\r
-    } //-- void deleteFontSize() \r
+        this._has_fontSize = false;\r
+    }\r
+\r
+    //-- void deleteFontSize() \r
 \r
     /**\r
      * Method deleteHeight\r
-     * \r
+     *\r
      */\r
     public void deleteHeight()\r
     {\r
-        this._has_height= false;\r
-    } //-- void deleteHeight() \r
+        this._has_height = false;\r
+    }\r
+\r
+    //-- void deleteHeight() \r
 \r
     /**\r
      * Method deleteMarkUnlinked\r
-     * \r
+     *\r
      */\r
     public void deleteMarkUnlinked()\r
     {\r
-        this._has_markUnlinked= false;\r
-    } //-- void deleteMarkUnlinked() \r
+        this._has_markUnlinked = false;\r
+    }\r
+\r
+    //-- void deleteMarkUnlinked() \r
 \r
     /**\r
      * Method deleteShowBootstrap\r
-     * \r
+     *\r
      */\r
     public void deleteShowBootstrap()\r
     {\r
-        this._has_showBootstrap= false;\r
-    } //-- void deleteShowBootstrap() \r
+        this._has_showBootstrap = false;\r
+    }\r
+\r
+    //-- void deleteShowBootstrap() \r
 \r
     /**\r
      * Method deleteShowDistances\r
-     * \r
+     *\r
      */\r
     public void deleteShowDistances()\r
     {\r
-        this._has_showDistances= false;\r
-    } //-- void deleteShowDistances() \r
+        this._has_showDistances = false;\r
+    }\r
+\r
+    //-- void deleteShowDistances() \r
 \r
     /**\r
      * Method deleteThreshold\r
-     * \r
+     *\r
      */\r
     public void deleteThreshold()\r
     {\r
-        this._has_threshold= false;\r
-    } //-- void deleteThreshold() \r
+        this._has_threshold = false;\r
+    }\r
+\r
+    //-- void deleteThreshold() \r
 \r
     /**\r
      * Method deleteWidth\r
-     * \r
+     *\r
      */\r
     public void deleteWidth()\r
     {\r
-        this._has_width= false;\r
-    } //-- void deleteWidth() \r
+        this._has_width = false;\r
+    }\r
+\r
+    //-- void deleteWidth() \r
 \r
     /**\r
      * Method deleteXpos\r
-     * \r
+     *\r
      */\r
     public void deleteXpos()\r
     {\r
-        this._has_xpos= false;\r
-    } //-- void deleteXpos() \r
+        this._has_xpos = false;\r
+    }\r
+\r
+    //-- void deleteXpos() \r
 \r
     /**\r
      * Method deleteYpos\r
-     * \r
+     *\r
      */\r
     public void deleteYpos()\r
     {\r
-        this._has_ypos= false;\r
-    } //-- void deleteYpos() \r
+        this._has_ypos = false;\r
+    }\r
+\r
+    //-- void deleteYpos() \r
 \r
     /**\r
      * Returns the value of field 'currentTree'.\r
-     * \r
+     *\r
      * @return boolean\r
      * @return the value of field 'currentTree'.\r
      */\r
     public boolean getCurrentTree()\r
     {\r
         return this._currentTree;\r
-    } //-- boolean getCurrentTree() \r
+    }\r
+\r
+    //-- boolean getCurrentTree() \r
 \r
     /**\r
      * Returns the value of field 'fitToWindow'.\r
-     * \r
+     *\r
      * @return boolean\r
      * @return the value of field 'fitToWindow'.\r
      */\r
     public boolean getFitToWindow()\r
     {\r
         return this._fitToWindow;\r
-    } //-- boolean getFitToWindow() \r
+    }\r
+\r
+    //-- boolean getFitToWindow() \r
 \r
     /**\r
      * Returns the value of field 'fontSize'.\r
-     * \r
+     *\r
      * @return int\r
      * @return the value of field 'fontSize'.\r
      */\r
     public int getFontSize()\r
     {\r
         return this._fontSize;\r
-    } //-- int getFontSize() \r
+    }\r
+\r
+    //-- int getFontSize() \r
 \r
     /**\r
      * Returns the value of field 'height'.\r
-     * \r
+     *\r
      * @return int\r
      * @return the value of field 'height'.\r
      */\r
     public int getHeight()\r
     {\r
         return this._height;\r
-    } //-- int getHeight() \r
+    }\r
+\r
+    //-- int getHeight() \r
 \r
     /**\r
      * Returns the value of field 'markUnlinked'.\r
-     * \r
+     *\r
      * @return boolean\r
      * @return the value of field 'markUnlinked'.\r
      */\r
     public boolean getMarkUnlinked()\r
     {\r
         return this._markUnlinked;\r
-    } //-- boolean getMarkUnlinked() \r
+    }\r
+\r
+    //-- boolean getMarkUnlinked() \r
 \r
     /**\r
      * Returns the value of field 'newick'.\r
-     * \r
+     *\r
      * @return String\r
      * @return the value of field 'newick'.\r
      */\r
     public java.lang.String getNewick()\r
     {\r
         return this._newick;\r
-    } //-- java.lang.String getNewick() \r
+    }\r
+\r
+    //-- java.lang.String getNewick() \r
 \r
     /**\r
      * Returns the value of field 'showBootstrap'.\r
-     * \r
+     *\r
      * @return boolean\r
      * @return the value of field 'showBootstrap'.\r
      */\r
     public boolean getShowBootstrap()\r
     {\r
         return this._showBootstrap;\r
-    } //-- boolean getShowBootstrap() \r
+    }\r
+\r
+    //-- boolean getShowBootstrap() \r
 \r
     /**\r
      * Returns the value of field 'showDistances'.\r
-     * \r
+     *\r
      * @return boolean\r
      * @return the value of field 'showDistances'.\r
      */\r
     public boolean getShowDistances()\r
     {\r
         return this._showDistances;\r
-    } //-- boolean getShowDistances() \r
+    }\r
+\r
+    //-- boolean getShowDistances() \r
 \r
     /**\r
      * Returns the value of field 'threshold'.\r
-     * \r
+     *\r
      * @return float\r
      * @return the value of field 'threshold'.\r
      */\r
     public float getThreshold()\r
     {\r
         return this._threshold;\r
-    } //-- float getThreshold() \r
+    }\r
+\r
+    //-- float getThreshold() \r
 \r
     /**\r
      * Returns the value of field 'title'.\r
-     * \r
+     *\r
      * @return String\r
      * @return the value of field 'title'.\r
      */\r
     public java.lang.String getTitle()\r
     {\r
         return this._title;\r
-    } //-- java.lang.String getTitle() \r
+    }\r
+\r
+    //-- java.lang.String getTitle() \r
 \r
     /**\r
      * Returns the value of field 'width'.\r
-     * \r
+     *\r
      * @return int\r
      * @return the value of field 'width'.\r
      */\r
     public int getWidth()\r
     {\r
         return this._width;\r
-    } //-- int getWidth() \r
+    }\r
+\r
+    //-- int getWidth() \r
 \r
     /**\r
      * Returns the value of field 'xpos'.\r
-     * \r
+     *\r
      * @return int\r
      * @return the value of field 'xpos'.\r
      */\r
     public int getXpos()\r
     {\r
         return this._xpos;\r
-    } //-- int getXpos() \r
+    }\r
+\r
+    //-- int getXpos() \r
 \r
     /**\r
      * Returns the value of field 'ypos'.\r
-     * \r
+     *\r
      * @return int\r
      * @return the value of field 'ypos'.\r
      */\r
     public int getYpos()\r
     {\r
         return this._ypos;\r
-    } //-- int getYpos() \r
+    }\r
+\r
+    //-- int getYpos() \r
 \r
     /**\r
      * Method hasCurrentTree\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasCurrentTree()\r
     {\r
         return this._has_currentTree;\r
-    } //-- boolean hasCurrentTree() \r
+    }\r
+\r
+    //-- boolean hasCurrentTree() \r
 \r
     /**\r
      * Method hasFitToWindow\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasFitToWindow()\r
     {\r
         return this._has_fitToWindow;\r
-    } //-- boolean hasFitToWindow() \r
+    }\r
+\r
+    //-- boolean hasFitToWindow() \r
 \r
     /**\r
      * Method hasFontSize\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasFontSize()\r
     {\r
         return this._has_fontSize;\r
-    } //-- boolean hasFontSize() \r
+    }\r
+\r
+    //-- boolean hasFontSize() \r
 \r
     /**\r
      * Method hasHeight\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasHeight()\r
     {\r
         return this._has_height;\r
-    } //-- boolean hasHeight() \r
+    }\r
+\r
+    //-- boolean hasHeight() \r
 \r
     /**\r
      * Method hasMarkUnlinked\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasMarkUnlinked()\r
     {\r
         return this._has_markUnlinked;\r
-    } //-- boolean hasMarkUnlinked() \r
+    }\r
+\r
+    //-- boolean hasMarkUnlinked() \r
 \r
     /**\r
      * Method hasShowBootstrap\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasShowBootstrap()\r
     {\r
         return this._has_showBootstrap;\r
-    } //-- boolean hasShowBootstrap() \r
+    }\r
+\r
+    //-- boolean hasShowBootstrap() \r
 \r
     /**\r
      * Method hasShowDistances\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasShowDistances()\r
     {\r
         return this._has_showDistances;\r
-    } //-- boolean hasShowDistances() \r
+    }\r
+\r
+    //-- boolean hasShowDistances() \r
 \r
     /**\r
      * Method hasThreshold\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasThreshold()\r
     {\r
         return this._has_threshold;\r
-    } //-- boolean hasThreshold() \r
+    }\r
+\r
+    //-- boolean hasThreshold() \r
 \r
     /**\r
      * Method hasWidth\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasWidth()\r
     {\r
         return this._has_width;\r
-    } //-- boolean hasWidth() \r
+    }\r
+\r
+    //-- boolean hasWidth() \r
 \r
     /**\r
      * Method hasXpos\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasXpos()\r
     {\r
         return this._has_xpos;\r
-    } //-- boolean hasXpos() \r
+    }\r
+\r
+    //-- boolean hasXpos() \r
 \r
     /**\r
      * Method hasYpos\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean hasYpos()\r
     {\r
         return this._has_ypos;\r
-    } //-- boolean hasYpos() \r
+    }\r
+\r
+    //-- boolean hasYpos() \r
 \r
     /**\r
      * Method isValid\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @return boolean\r
      */\r
     public boolean isValid()\r
     {\r
-        try {\r
+        try\r
+        {\r
             validate();\r
         }\r
-        catch (org.exolab.castor.xml.ValidationException vex) {\r
+        catch (org.exolab.castor.xml.ValidationException vex)\r
+        {\r
             return false;\r
         }\r
+\r
         return true;\r
-    } //-- boolean isValid() \r
+    }\r
+\r
+    //-- boolean isValid() \r
 \r
     /**\r
      * Method marshal\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @param out\r
      */\r
     public void marshal(java.io.Writer out)\r
-        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
+        throws org.exolab.castor.xml.MarshalException, \r
+            org.exolab.castor.xml.ValidationException\r
     {\r
-        \r
         Marshaller.marshal(this, out);\r
-    } //-- void marshal(java.io.Writer) \r
+    }\r
+\r
+    //-- void marshal(java.io.Writer) \r
 \r
     /**\r
      * Method marshal\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @param handler\r
      */\r
     public void marshal(org.xml.sax.ContentHandler handler)\r
-        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
+        throws java.io.IOException, org.exolab.castor.xml.MarshalException, \r
+            org.exolab.castor.xml.ValidationException\r
     {\r
-        \r
         Marshaller.marshal(this, handler);\r
-    } //-- void marshal(org.xml.sax.ContentHandler) \r
+    }\r
+\r
+    //-- void marshal(org.xml.sax.ContentHandler) \r
 \r
     /**\r
      * Sets the value of field 'currentTree'.\r
-     * \r
+     *\r
      * @param currentTree the value of field 'currentTree'.\r
      */\r
     public void setCurrentTree(boolean currentTree)\r
     {\r
         this._currentTree = currentTree;\r
         this._has_currentTree = true;\r
-    } //-- void setCurrentTree(boolean) \r
+    }\r
+\r
+    //-- void setCurrentTree(boolean) \r
 \r
     /**\r
      * Sets the value of field 'fitToWindow'.\r
-     * \r
+     *\r
      * @param fitToWindow the value of field 'fitToWindow'.\r
      */\r
     public void setFitToWindow(boolean fitToWindow)\r
     {\r
         this._fitToWindow = fitToWindow;\r
         this._has_fitToWindow = true;\r
-    } //-- void setFitToWindow(boolean) \r
+    }\r
+\r
+    //-- void setFitToWindow(boolean) \r
 \r
     /**\r
      * Sets the value of field 'fontSize'.\r
-     * \r
+     *\r
      * @param fontSize the value of field 'fontSize'.\r
      */\r
     public void setFontSize(int fontSize)\r
     {\r
         this._fontSize = fontSize;\r
         this._has_fontSize = true;\r
-    } //-- void setFontSize(int) \r
+    }\r
+\r
+    //-- void setFontSize(int) \r
 \r
     /**\r
      * Sets the value of field 'height'.\r
-     * \r
+     *\r
      * @param height the value of field 'height'.\r
      */\r
     public void setHeight(int height)\r
     {\r
         this._height = height;\r
         this._has_height = true;\r
-    } //-- void setHeight(int) \r
+    }\r
+\r
+    //-- void setHeight(int) \r
 \r
     /**\r
      * Sets the value of field 'markUnlinked'.\r
-     * \r
+     *\r
      * @param markUnlinked the value of field 'markUnlinked'.\r
      */\r
     public void setMarkUnlinked(boolean markUnlinked)\r
     {\r
         this._markUnlinked = markUnlinked;\r
         this._has_markUnlinked = true;\r
-    } //-- void setMarkUnlinked(boolean) \r
+    }\r
+\r
+    //-- void setMarkUnlinked(boolean) \r
 \r
     /**\r
      * Sets the value of field 'newick'.\r
-     * \r
+     *\r
      * @param newick the value of field 'newick'.\r
      */\r
     public void setNewick(java.lang.String newick)\r
     {\r
         this._newick = newick;\r
-    } //-- void setNewick(java.lang.String) \r
+    }\r
+\r
+    //-- void setNewick(java.lang.String) \r
 \r
     /**\r
      * Sets the value of field 'showBootstrap'.\r
-     * \r
+     *\r
      * @param showBootstrap the value of field 'showBootstrap'.\r
      */\r
     public void setShowBootstrap(boolean showBootstrap)\r
     {\r
         this._showBootstrap = showBootstrap;\r
         this._has_showBootstrap = true;\r
-    } //-- void setShowBootstrap(boolean) \r
+    }\r
+\r
+    //-- void setShowBootstrap(boolean) \r
 \r
     /**\r
      * Sets the value of field 'showDistances'.\r
-     * \r
+     *\r
      * @param showDistances the value of field 'showDistances'.\r
      */\r
     public void setShowDistances(boolean showDistances)\r
     {\r
         this._showDistances = showDistances;\r
         this._has_showDistances = true;\r
-    } //-- void setShowDistances(boolean) \r
+    }\r
+\r
+    //-- void setShowDistances(boolean) \r
 \r
     /**\r
      * Sets the value of field 'threshold'.\r
-     * \r
+     *\r
      * @param threshold the value of field 'threshold'.\r
      */\r
     public void setThreshold(float threshold)\r
     {\r
         this._threshold = threshold;\r
         this._has_threshold = true;\r
-    } //-- void setThreshold(float) \r
+    }\r
+\r
+    //-- void setThreshold(float) \r
 \r
     /**\r
      * Sets the value of field 'title'.\r
-     * \r
+     *\r
      * @param title the value of field 'title'.\r
      */\r
     public void setTitle(java.lang.String title)\r
     {\r
         this._title = title;\r
-    } //-- void setTitle(java.lang.String) \r
+    }\r
+\r
+    //-- void setTitle(java.lang.String) \r
 \r
     /**\r
      * Sets the value of field 'width'.\r
-     * \r
+     *\r
      * @param width the value of field 'width'.\r
      */\r
     public void setWidth(int width)\r
     {\r
         this._width = width;\r
         this._has_width = true;\r
-    } //-- void setWidth(int) \r
+    }\r
+\r
+    //-- void setWidth(int) \r
 \r
     /**\r
      * Sets the value of field 'xpos'.\r
-     * \r
+     *\r
      * @param xpos the value of field 'xpos'.\r
      */\r
     public void setXpos(int xpos)\r
     {\r
         this._xpos = xpos;\r
         this._has_xpos = true;\r
-    } //-- void setXpos(int) \r
+    }\r
+\r
+    //-- void setXpos(int) \r
 \r
     /**\r
      * Sets the value of field 'ypos'.\r
-     * \r
+     *\r
      * @param ypos the value of field 'ypos'.\r
      */\r
     public void setYpos(int ypos)\r
     {\r
         this._ypos = ypos;\r
         this._has_ypos = true;\r
-    } //-- void setYpos(int) \r
+    }\r
+\r
+    //-- void setYpos(int) \r
 \r
     /**\r
      * Method unmarshal\r
-     * \r
-     * \r
-     * \r
+     *\r
+     *\r
+     *\r
      * @param reader\r
      * @return Object\r
      */\r
     public static java.lang.Object unmarshal(java.io.Reader reader)\r
-        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
+        throws org.exolab.castor.xml.MarshalException, \r
+            org.exolab.castor.xml.ValidationException\r
     {\r
-        return (jalview.binding.Tree) Unmarshaller.unmarshal(jalview.binding.Tree.class, reader);\r
-    } //-- java.lang.Object unmarshal(java.io.Reader) \r
+        return (jalview.binding.Tree) Unmarshaller.unmarshal(jalview.binding.Tree.class,\r
+            reader);\r
+    }\r
+\r
+    //-- java.lang.Object unmarshal(java.io.Reader) \r
 \r
     /**\r
      * Method validate\r
-     * \r
+     *\r
      */\r
-    public void validate()\r
-        throws org.exolab.castor.xml.ValidationException\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
-    } //-- void validate() \r
+    }\r
 \r
+    //-- void validate() \r
 }\r