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

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

public class PrimitiveCollectionNode
extends MemberNode

A node representing a particular member in the tree. The node represents a primative member.

See Also:
DCPropertyTree

Constructor Summary
PrimitiveCollectionNode(TreeNode parent, java.lang.Object object, ICollection collection)
          Creates a new instance of this class.
 
Method Summary
 void fillItem()
          Fill the contents of the corresponding TreeItem.
 void fillNode(TreeNode parent, java.lang.Object object, ICollection collection, IValueCollection values)
          Adds a primative node to the tree.
 
Methods inherited from class com.ibm.commons.swt.data.controls.tabletree.MemberNode
getMember, getObjectContainer, getPropertyEditor, isVisible
 
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

PrimitiveCollectionNode

public PrimitiveCollectionNode(TreeNode parent,
                               java.lang.Object object,
                               ICollection collection)
Creates a new instance of this class.

Parameters:
parent - the parent node of the current node
object - the object being displayed in the tree
collection -
Method Detail

fillNode

public void fillNode(TreeNode parent,
                     java.lang.Object object,
                     ICollection collection,
                     IValueCollection values)
Adds a primative node to the tree.

Parameters:
parent - the parent node of the current node
object - the object being displayed in the tree control
collection - the collection being displayed by this node
values - the values of the items in the collection

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