|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--infosapient.ui.InfoSapientTreeData
Yarked from Swing examples
Field Summary | |
(package private) static java.awt.Font |
BOLD
|
protected java.awt.Color |
color
Color used for text. |
protected java.awt.Font |
font
font for display |
(package private) static java.awt.Font |
PLAIN
|
protected java.lang.String |
string
Value to display. |
(package private) java.lang.Object |
userData
|
Constructor Summary | |
InfoSapientTreeData(java.awt.Font newFont,
java.awt.Color newColor,
java.lang.String newString)
Constructs a new instance of BlackMesaTreeData with the arguments supplied. |
|
InfoSapientTreeData(java.lang.Object o)
Constructs a new instance of BlackMesaTreeData |
Method Summary | |
java.awt.Color |
getColor()
Returns the color used to draw the text. |
java.awt.Font |
getFont()
Returns the Font used to represent this object. |
void |
setColor(java.awt.Color newColor)
Sets the color used to draw the text. |
void |
setFont(java.awt.Font newFont)
Sets the font that is used to represent this object. |
void |
setString(java.lang.String newString)
Sets the string to display for this object. |
java.lang.String |
string()
Returnes the string to display for this object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
java.lang.Object userData
static final java.awt.Font PLAIN
static final java.awt.Font BOLD
protected java.awt.Font font
protected java.awt.Color color
protected java.lang.String string
Constructor Detail |
public InfoSapientTreeData(java.awt.Font newFont, java.awt.Color newColor, java.lang.String newString)
Font
- - font for this node.Color
- -- color to be displayed for this nodeString
- -- descriptionpublic InfoSapientTreeData(java.lang.Object o)
Method Detail |
public java.awt.Color getColor()
public java.awt.Font getFont()
public void setColor(java.awt.Color newColor)
public void setFont(java.awt.Font newFont)
public void setString(java.lang.String newString)
public java.lang.String string()
public java.lang.String toString()
|
License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |