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

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.ObjectContainerNode
Direct Known Subclasses:
ObjectCollectionItemNode, ObjectValueNode

public abstract class ObjectContainerNode
extends MemberNode

An abstract class to be used to get and set the value of a node.

See Also:
DCPropertyTree

Constructor Summary
ObjectContainerNode(TreeNode parent, java.lang.Object object, IMember member)
          Creates a new instance of this class.
 
Method Summary
abstract  java.lang.Object getValue()
          Gets the value of the current tree node.
abstract  void setValue(java.lang.Object object)
          Sets the value of the current tree node.
 
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, fillItem, 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

ObjectContainerNode

public ObjectContainerNode(TreeNode parent,
                           java.lang.Object object,
                           IMember member)
Creates a new instance of this class.

Parameters:
parent - the parent TreeNode
object - the object being displayed in the tree
member - the member that this node represents
Method Detail

getValue

public abstract java.lang.Object getValue()
Gets the value of the current tree node.

Returns:
an object representing the value of the current node

setValue

public abstract void setValue(java.lang.Object object)
Sets the value of the current tree node.

Parameters:
object - an object representing the value of the current node.