X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbinding%2FTree.java;h=94922ac051dc9a727c297bcac02cd21f001438cb;hb=2d7deb9d3e1ddc98abae846c8ffbc62606b023be;hp=2821029a2a00021d8ca861e8f66bf39fb37d945d;hpb=c68ce4c63bd79f23b87aac3eb0afa7f6b42a3098;p=jalview.git diff --git a/src/jalview/binding/Tree.java b/src/jalview/binding/Tree.java index 2821029..94922ac 100755 --- a/src/jalview/binding/Tree.java +++ b/src/jalview/binding/Tree.java @@ -34,69 +34,69 @@ public class Tree implements java.io.Serializable { //--------------------------/ /** - * Field _title + * Field _width */ - private java.lang.String _title; + private int _width; /** - * Field _currentTree + * keeps track of state for field: _width */ - private boolean _currentTree; + private boolean _has_width; /** - * keeps track of state for field: _currentTree + * Field _height */ - private boolean _has_currentTree; + private int _height; /** - * Field _fitToWindow + * keeps track of state for field: _height */ - private boolean _fitToWindow; + private boolean _has_height; /** - * keeps track of state for field: _fitToWindow + * Field _xpos */ - private boolean _has_fitToWindow; + private int _xpos; /** - * Field _showDistances + * keeps track of state for field: _xpos */ - private boolean _showDistances; + private boolean _has_xpos; /** - * keeps track of state for field: _showDistances + * Field _ypos */ - private boolean _has_showDistances; + private int _ypos; /** - * Field _showBootstrap + * keeps track of state for field: _ypos */ - private boolean _showBootstrap; + private boolean _has_ypos; /** - * keeps track of state for field: _showBootstrap + * Field _fontName */ - private boolean _has_showBootstrap; + private java.lang.String _fontName; /** - * Field _markUnlinked + * Field _fontSize */ - private boolean _markUnlinked; + private int _fontSize; /** - * keeps track of state for field: _markUnlinked + * keeps track of state for field: _fontSize */ - private boolean _has_markUnlinked; + private boolean _has_fontSize; /** - * Field _fontSize + * Field _fontStyle */ - private int _fontSize; + private int _fontStyle; /** - * keeps track of state for field: _fontSize + * keeps track of state for field: _fontStyle */ - private boolean _has_fontSize; + private boolean _has_fontStyle; /** * Field _threshold @@ -109,44 +109,59 @@ public class Tree implements java.io.Serializable { private boolean _has_threshold; /** - * Field _xpos + * Field _showBootstrap */ - private int _xpos; + private boolean _showBootstrap; /** - * keeps track of state for field: _xpos + * keeps track of state for field: _showBootstrap */ - private boolean _has_xpos; + private boolean _has_showBootstrap; /** - * Field _ypos + * Field _showDistances */ - private int _ypos; + private boolean _showDistances; /** - * keeps track of state for field: _ypos + * keeps track of state for field: _showDistances */ - private boolean _has_ypos; + private boolean _has_showDistances; /** - * Field _width + * Field _markUnlinked */ - private int _width; + private boolean _markUnlinked; /** - * keeps track of state for field: _width + * keeps track of state for field: _markUnlinked */ - private boolean _has_width; + private boolean _has_markUnlinked; /** - * Field _height + * Field _fitToWindow */ - private int _height; + private boolean _fitToWindow; /** - * keeps track of state for field: _height + * keeps track of state for field: _fitToWindow */ - private boolean _has_height; + private boolean _has_fitToWindow; + + /** + * Field _currentTree + */ + private boolean _currentTree; + + /** + * keeps track of state for field: _currentTree + */ + private boolean _has_currentTree; + + /** + * Field _title + */ + private java.lang.String _title; /** * Field _newick @@ -195,6 +210,15 @@ public class Tree implements java.io.Serializable { } //-- void deleteFontSize() /** + * Method deleteFontStyle + * + */ + public void deleteFontStyle() + { + this._has_fontStyle= false; + } //-- void deleteFontStyle() + + /** * Method deleteHeight * */ @@ -289,6 +313,17 @@ public class Tree implements java.io.Serializable { } //-- boolean getFitToWindow() /** + * Returns the value of field 'fontName'. + * + * @return String + * @return the value of field 'fontName'. + */ + public java.lang.String getFontName() + { + return this._fontName; + } //-- java.lang.String getFontName() + + /** * Returns the value of field 'fontSize'. * * @return int @@ -300,6 +335,17 @@ public class Tree implements java.io.Serializable { } //-- int getFontSize() /** + * Returns the value of field 'fontStyle'. + * + * @return int + * @return the value of field 'fontStyle'. + */ + public int getFontStyle() + { + return this._fontStyle; + } //-- int getFontStyle() + + /** * Returns the value of field 'height'. * * @return int @@ -446,6 +492,18 @@ public class Tree implements java.io.Serializable { } //-- boolean hasFontSize() /** + * Method hasFontStyle + * + * + * + * @return boolean + */ + public boolean hasFontStyle() + { + return this._has_fontStyle; + } //-- boolean hasFontStyle() + + /** * Method hasHeight * * @@ -610,6 +668,16 @@ public class Tree implements java.io.Serializable { } //-- void setFitToWindow(boolean) /** + * Sets the value of field 'fontName'. + * + * @param fontName the value of field 'fontName'. + */ + public void setFontName(java.lang.String fontName) + { + this._fontName = fontName; + } //-- void setFontName(java.lang.String) + + /** * Sets the value of field 'fontSize'. * * @param fontSize the value of field 'fontSize'. @@ -621,6 +689,17 @@ public class Tree implements java.io.Serializable { } //-- void setFontSize(int) /** + * Sets the value of field 'fontStyle'. + * + * @param fontStyle the value of field 'fontStyle'. + */ + public void setFontStyle(int fontStyle) + { + this._fontStyle = fontStyle; + this._has_fontStyle = true; + } //-- void setFontStyle(int) + + /** * Sets the value of field 'height'. * * @param height the value of field 'height'.