git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2ffe2de
)
TreeFont added, binding rebuilt
author
amwaterhouse
<Andrew Waterhouse>
Wed, 14 Sep 2005 11:19:16 +0000
(11:19 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 14 Sep 2005 11:19:16 +0000
(11:19 +0000)
src/jalview/binding/Tree.java
patch
|
blob
|
history
diff --git
a/src/jalview/binding/Tree.java
b/src/jalview/binding/Tree.java
index
56943c7
..
94922ac
100755
(executable)
--- a/
src/jalview/binding/Tree.java
+++ b/
src/jalview/binding/Tree.java
@@
-74,6
+74,11
@@
public class Tree implements java.io.Serializable {
private boolean _has_ypos;
\r
\r
/**
\r
private boolean _has_ypos;
\r
\r
/**
\r
+ * Field _fontName
\r
+ */
\r
+ private java.lang.String _fontName;
\r
+
\r
+ /**
\r
* Field _fontSize
\r
*/
\r
private int _fontSize;
\r
* Field _fontSize
\r
*/
\r
private int _fontSize;
\r
@@
-84,6
+89,16
@@
public class Tree implements java.io.Serializable {
private boolean _has_fontSize;
\r
\r
/**
\r
private boolean _has_fontSize;
\r
\r
/**
\r
+ * Field _fontStyle
\r
+ */
\r
+ private int _fontStyle;
\r
+
\r
+ /**
\r
+ * keeps track of state for field: _fontStyle
\r
+ */
\r
+ private boolean _has_fontStyle;
\r
+
\r
+ /**
\r
* Field _threshold
\r
*/
\r
private float _threshold;
\r
* Field _threshold
\r
*/
\r
private float _threshold;
\r
@@
-195,6
+210,15
@@
public class Tree implements java.io.Serializable {
} //-- void deleteFontSize()
\r
\r
/**
\r
} //-- void deleteFontSize()
\r
\r
/**
\r
+ * Method deleteFontStyle
\r
+ *
\r
+ */
\r
+ public void deleteFontStyle()
\r
+ {
\r
+ this._has_fontStyle= false;
\r
+ } //-- void deleteFontStyle()
\r
+
\r
+ /**
\r
* Method deleteHeight
\r
*
\r
*/
\r
* Method deleteHeight
\r
*
\r
*/
\r
@@
-289,6
+313,17
@@
public class Tree implements java.io.Serializable {
} //-- boolean getFitToWindow()
\r
\r
/**
\r
} //-- boolean getFitToWindow()
\r
\r
/**
\r
+ * Returns the value of field 'fontName'.
\r
+ *
\r
+ * @return String
\r
+ * @return the value of field 'fontName'.
\r
+ */
\r
+ public java.lang.String getFontName()
\r
+ {
\r
+ return this._fontName;
\r
+ } //-- java.lang.String getFontName()
\r
+
\r
+ /**
\r
* Returns the value of field 'fontSize'.
\r
*
\r
* @return int
\r
* Returns the value of field 'fontSize'.
\r
*
\r
* @return int
\r
@@
-300,6
+335,17
@@
public class Tree implements java.io.Serializable {
} //-- int getFontSize()
\r
\r
/**
\r
} //-- int getFontSize()
\r
\r
/**
\r
+ * Returns the value of field 'fontStyle'.
\r
+ *
\r
+ * @return int
\r
+ * @return the value of field 'fontStyle'.
\r
+ */
\r
+ public int getFontStyle()
\r
+ {
\r
+ return this._fontStyle;
\r
+ } //-- int getFontStyle()
\r
+
\r
+ /**
\r
* Returns the value of field 'height'.
\r
*
\r
* @return int
\r
* Returns the value of field 'height'.
\r
*
\r
* @return int
\r
@@
-446,6
+492,18
@@
public class Tree implements java.io.Serializable {
} //-- boolean hasFontSize()
\r
\r
/**
\r
} //-- boolean hasFontSize()
\r
\r
/**
\r
+ * Method hasFontStyle
\r
+ *
\r
+ *
\r
+ *
\r
+ * @return boolean
\r
+ */
\r
+ public boolean hasFontStyle()
\r
+ {
\r
+ return this._has_fontStyle;
\r
+ } //-- boolean hasFontStyle()
\r
+
\r
+ /**
\r
* Method hasHeight
\r
*
\r
*
\r
* Method hasHeight
\r
*
\r
*
\r
@@
-610,6
+668,16
@@
public class Tree implements java.io.Serializable {
} //-- void setFitToWindow(boolean)
\r
\r
/**
\r
} //-- void setFitToWindow(boolean)
\r
\r
/**
\r
+ * Sets the value of field 'fontName'.
\r
+ *
\r
+ * @param fontName the value of field 'fontName'.
\r
+ */
\r
+ public void setFontName(java.lang.String fontName)
\r
+ {
\r
+ this._fontName = fontName;
\r
+ } //-- void setFontName(java.lang.String)
\r
+
\r
+ /**
\r
* Sets the value of field 'fontSize'.
\r
*
\r
* @param fontSize the value of field 'fontSize'.
\r
* Sets the value of field 'fontSize'.
\r
*
\r
* @param fontSize the value of field 'fontSize'.
\r
@@
-621,6
+689,17
@@
public class Tree implements java.io.Serializable {
} //-- void setFontSize(int)
\r
\r
/**
\r
} //-- void setFontSize(int)
\r
\r
/**
\r
+ * Sets the value of field 'fontStyle'.
\r
+ *
\r
+ * @param fontStyle the value of field 'fontStyle'.
\r
+ */
\r
+ public void setFontStyle(int fontStyle)
\r
+ {
\r
+ this._fontStyle = fontStyle;
\r
+ this._has_fontStyle = true;
\r
+ } //-- void setFontStyle(int)
\r
+
\r
+ /**
\r
* Sets the value of field 'height'.
\r
*
\r
* @param height the value of field 'height'.
\r
* Sets the value of field 'height'.
\r
*
\r
* @param height the value of field 'height'.
\r