jmathlib.tools.treeanalyser
Class TreeData

java.lang.Object
  extended by jmathlib.tools.treeanalyser.TreeData

public class TreeData
extends java.lang.Object


Field Summary
protected  java.awt.Color color
          Color used for text.
protected  java.awt.Font font
          Font used for drawing.
protected  java.lang.String string
          Value to display.
 
Constructor Summary
TreeData(java.awt.Font newFont, java.awt.Color newColor, java.lang.String newString)
          Constructs a new instance of SampleData with the passed in arguments.
TreeData(java.lang.String newString)
           
 
Method Summary
 java.awt.Color getColor()
           
 java.awt.Font getFont()
           
 void setColor(java.awt.Color newColor)
           
 void setFont(java.awt.Font newFont)
           
 void setString(java.lang.String newString)
           
 java.lang.String string()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

font

protected java.awt.Font font
Font used for drawing.


color

protected java.awt.Color color
Color used for text.


string

protected java.lang.String string
Value to display.

Constructor Detail

TreeData

public TreeData(java.awt.Font newFont,
                java.awt.Color newColor,
                java.lang.String newString)
Constructs a new instance of SampleData with the passed in arguments.


TreeData

public TreeData(java.lang.String newString)
Method Detail

setFont

public void setFont(java.awt.Font newFont)

getFont

public java.awt.Font getFont()

setColor

public void setColor(java.awt.Color newColor)

getColor

public java.awt.Color getColor()

setString

public void setString(java.lang.String newString)

string

public java.lang.String string()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

FOOTER

BOTTOM