|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.desktop.TreeNodeData
The TreeNodeData class enables you to provide user objects for each node in the tree, which can be configured independently from each other.
Constructor Summary | |
---|---|
TreeNodeData()
This constructor creates a TreeNodeData object. |
Method Summary | |
---|---|
java.awt.Color |
getBackgroundNonSelectionColor()
Gets the user-object color of the background when it is not selected. |
java.awt.Color |
getBackgroundSelectionColor()
Gets the user-object color of the background when it is selected. |
java.awt.Color |
getForegroundNonSelectionColor()
Gets the user-object color of the foreground when it is not selected. |
java.awt.Color |
getForegroundSelectionColor()
Gets the user-object color of the foreground when it is selected. |
javax.swing.Icon |
getIcon()
Gets the user-object icon. |
java.lang.String |
getLabel()
Gets the user-object title. |
java.lang.String |
getToolTipText()
Gets the tool tip text. |
void |
setBackgroundNonSelectionColor(java.lang.Object o)
Sets the user-object color of the background when it is not selected. |
void |
setBackgroundSelectionColor(java.lang.Object o)
Sets the user-object color of the background when it is selected. |
void |
setForegroundNonSelectionColor(java.lang.Object o)
Sets the user-object color of the foreground when it is not selected. |
void |
setForegroundSelectionColor(java.lang.Object o)
Sets the user-object color of the foreground when it is selected. |
void |
setIconName(java.lang.Object o)
Sets the user-object icon. |
void |
setLabel(java.lang.Object o)
Sets the user-object title. |
void |
setToolTipText(java.lang.Object o)
Sets the tool tip text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeNodeData()
Method Detail |
public java.awt.Color getBackgroundNonSelectionColor()
public java.awt.Color getBackgroundSelectionColor()
public java.awt.Color getForegroundNonSelectionColor()
public java.awt.Color getForegroundSelectionColor()
public javax.swing.Icon getIcon()
public java.lang.String getLabel()
public java.lang.String getToolTipText()
public void setBackgroundNonSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setBackgroundSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setForegroundNonSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setForegroundSelectionColor(java.lang.Object o)
o
- java.lang.Objectpublic void setIconName(java.lang.Object o)
o
- java.lang.Objectpublic void setLabel(java.lang.Object o)
o
- java.lang.Objectpublic void setToolTipText(java.lang.Object o)
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |