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

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.PrimitiveContainerNode
Direct Known Subclasses:
PrimitiveCollectionItemNode, PrimitiveValueNode

public abstract class PrimitiveContainerNode
extends MemberNode

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

See Also:
DCPropertyTree

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

PrimitiveContainerNode

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

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

getValue

public abstract java.lang.String getValue()
Returns the value of the current node

Returns:
a string representing the primative value of this node

setValue

public abstract void setValue(java.lang.String value)
Sets the value of the current node.

Parameters:
value - a value which will be converted to a primative value