Methods Summary |
---|
public java.awt.Color | getColor()Returns the color used to draw the text.
return color;
|
public java.awt.Font | getFont()Returns the Font used to represent this object.
return font;
|
public void | setColor(java.awt.Color newColor)Sets the color used to draw the text.
color = newColor;
|
public void | setFont(java.awt.Font newFont)Sets the font that is used to represent this object.
font = newFont;
|
public void | setString(java.lang.String newString)Sets the string to display for this object.
string = newString;
|
public java.lang.String | string()Returnes the string to display for this object.
return string;
|
public java.lang.String | toString()
return string;
|