IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.desktop
Class TreeNodeData

java.lang.Object
  extended bycom.ibm.dse.desktop.TreeNodeData

public class TreeNodeData
extends java.lang.Object

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

TreeNodeData

public TreeNodeData()
This constructor creates a TreeNodeData object.

Method Detail

getBackgroundNonSelectionColor

public java.awt.Color getBackgroundNonSelectionColor()
Gets the user-object color of the background when it is not selected.

Returns:
java.awt.Color

getBackgroundSelectionColor

public java.awt.Color getBackgroundSelectionColor()
Gets the user-object color of the background when it is selected.

Returns:
java.awt.Color

getForegroundNonSelectionColor

public java.awt.Color getForegroundNonSelectionColor()
Gets the user-object color of the foreground when it is not selected.

Returns:
java.awt.Color

getForegroundSelectionColor

public java.awt.Color getForegroundSelectionColor()
Gets the user-object color of the foreground when it is selected.

Returns:
java.awt.Color

getIcon

public javax.swing.Icon getIcon()
Gets the user-object icon.

Returns:
javax.swing.Icon

getLabel

public java.lang.String getLabel()
Gets the user-object title.

Returns:
java.lang.String

getToolTipText

public java.lang.String getToolTipText()
Gets the tool tip text.

Returns:
java.lang.String

setBackgroundNonSelectionColor

public void setBackgroundNonSelectionColor(java.lang.Object o)
Sets the user-object color of the background when it is not selected.

Parameters:
o - java.lang.Object

setBackgroundSelectionColor

public void setBackgroundSelectionColor(java.lang.Object o)
Sets the user-object color of the background when it is selected.

Parameters:
o - java.lang.Object

setForegroundNonSelectionColor

public void setForegroundNonSelectionColor(java.lang.Object o)
Sets the user-object color of the foreground when it is not selected.

Parameters:
o - java.lang.Object

setForegroundSelectionColor

public void setForegroundSelectionColor(java.lang.Object o)
Sets the user-object color of the foreground when it is selected.

Parameters:
o - java.lang.Object

setIconName

public void setIconName(java.lang.Object o)
Sets the user-object icon.

Parameters:
o - java.lang.Object

setLabel

public void setLabel(java.lang.Object o)
Sets the user-object title.

Parameters:
o - java.lang.Object

setToolTipText

public void setToolTipText(java.lang.Object o)
Sets the tool tip text.


IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005