com.ibm.commons.swt.data.controls.tabletree
Class CategoryNode

java.lang.Object
  extended by com.ibm.commons.swt.data.controls.tabletree.TreeNode
      extended by com.ibm.commons.swt.data.controls.tabletree.CategoryNode

public class CategoryNode
extends TreeNode

The node corresponding to a category in the DCPropertyTree.

See Also:
DCPropertyTree

Constructor Summary
CategoryNode(TreeNode parent, java.lang.String name)
          Creates a new instance of this class.
 
Method Summary
 void fillItem()
          Fill the contents of the corresponding TreeItem.
protected  boolean isVisible()
          Returns whether or not the current tree node is visible.
 
Methods inherited from class com.ibm.commons.swt.data.controls.tabletree.TreeNode
addChild, clearChildrenNode, dispose, fillNode, getChildren, getDataChangeNotifier, getLoader, getParent, getPropertyTree, getRootNode, getTreeItem, isShowing, refreshTree, toEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryNode

public CategoryNode(TreeNode parent,
                    java.lang.String name)
Creates a new instance of this class.

Parameters:
parent - the parent tree node
name - the name of the category
Method Detail

isVisible

protected boolean isVisible()
Description copied from class: TreeNode
Returns whether or not the current tree node is visible.

Overrides:
isVisible in class TreeNode
Returns:
always returns true

fillItem

public void fillItem()
Description copied from class: TreeNode
Fill the contents of the corresponding TreeItem. Typically this method will call TreeNode.getTreeItem() and manipulate the resulting TreeItem.

Specified by:
fillItem in class TreeNode