Class symantec.itools.db.beans.dcnav.NodeItem
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.dcnav.NodeItem
Object
|
+----symantec.itools.db.beans.dcnav.NodeItem
- public class NodeItem
- extends Object
- implements Serializable
- Version:
- 1.0 08/23/98
- Author:
- Hristo Tonev
-
collapsedIcon
- The icon that will be used by the renderer
when the tree node is collapsed.
-
displayValue
- The value that will be displayed in the tree view
-
expandedIcon
- The icon that will be used by the renderer
when the tree node is expanded.
-
symantec.itools.db.beans.dcnav.NodeItem(String, Icon)
- Constructor for leaves
-
symantec.itools.db.beans.dcnav.NodeItem(String, Icon, Icon)
- Constructor
-
getCollapsedIcon()
-
-
getDisplayValue()
-
-
getExpandedIcon()
-
-
setCollapsedIcon(Icon)
-
-
setDisplayValue(String)
-
-
setExpandedIcon(Icon)
-
-
toString()
- This method is called to display the node value.
collapsedIcon
protected com.sun.java.swing.Icon collapsedIcon
- The icon that will be used by the renderer
when the tree node is collapsed.
displayValue
protected java.lang.String displayValue
- The value that will be displayed in the tree view
expandedIcon
protected com.sun.java.swing.Icon expandedIcon
- The icon that will be used by the renderer
when the tree node is expanded.
NodeItem
public NodeItem(String displayValue,
Icon icon)
- Constructor for leaves
- Parameters:
- displayValue - is the string that will be displayed
- icon - is the icon that will be used when the node
is collapsed AND expanded (usually for a leaf)
NodeItem
public NodeItem(String displayValue,
Icon collapsedIcon,
Icon expandedIcon)
- Constructor
- Parameters:
- displayValue - is the string that will be displayed
- collapsedIcon - is the icon that will be used when the node
is collapsed
- expandedIcon - is the icon that will be used when the node
is expanded
getCollapsedIcon
public com.sun.java.swing.Icon getCollapsedIcon()
getDisplayValue
public java.lang.String getDisplayValue()
getExpandedIcon
public com.sun.java.swing.Icon getExpandedIcon()
setCollapsedIcon
public void setCollapsedIcon(Icon icon)
setDisplayValue
public void setDisplayValue(String newDisplayValue)
setExpandedIcon
public void setExpandedIcon(Icon icon)
toString
public java.lang.String toString()
- This method is called to display the node value.
- Returns:
- a string representation of the object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index