|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.commons.swt.data.controls.tabletree.TreeNode
com.ibm.commons.swt.data.controls.tabletree.MemberNode
com.ibm.commons.swt.data.controls.tabletree.ObjectContainerNode
com.ibm.commons.swt.data.controls.tabletree.ObjectValueNode
public class ObjectValueNode
A node which describes an object's value in the tree
DCPropertyTree| Constructor Summary | |
|---|---|
ObjectValueNode(TreeNode parent,
java.lang.Object object,
IAttribute attribute)
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
fillItem()
Fill the contents of the corresponding TreeItem. |
void |
fillNode(IClassDef classDef,
java.lang.Object object)
Creates a tree structure based on the provided class definition and object. |
void |
fillNode(TreeNode node)
Adds children to the current node. |
PropertyEditor |
getPropertyEditor()
Returns a property editor that is associated with the current node. |
java.lang.Object |
getValue()
Gets the value of the current tree node. |
void |
setValue(java.lang.Object value)
Sets the value of the current tree node. |
| Methods inherited from class com.ibm.commons.swt.data.controls.tabletree.MemberNode |
|---|
getMember, getObjectContainer, isVisible |
| Methods inherited from class com.ibm.commons.swt.data.controls.tabletree.TreeNode |
|---|
addChild, clearChildrenNode, dispose, 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 |
|---|
public ObjectValueNode(TreeNode parent,
java.lang.Object object,
IAttribute attribute)
parent - the tree node which is the parent of the current nodeobject - the object being displayed in the treeattribute - the attribute that the current node represents| Method Detail |
|---|
public void fillItem()
TreeNodeTreeNode.getTreeItem() and manipulate the resulting TreeItem.
fillItem in class TreeNodepublic java.lang.Object getValue()
ObjectContainerNode
getValue in class ObjectContainerNodepublic void setValue(java.lang.Object value)
ObjectContainerNode
setValue in class ObjectContainerNodevalue - an object representing the value of the current node.public PropertyEditor getPropertyEditor()
MemberNode
getPropertyEditor in class MemberNodepublic void fillNode(TreeNode node)
node - the tree node which is to be added as a child of this nodeTreeNode.addChild(TreeNode)
public void fillNode(IClassDef classDef,
java.lang.Object object)
throws com.ibm.commons.iloader.node.NodeException
TreeNode
fillNode in class TreeNodeclassDef - a class definition which will be described by the resulting treeobject - the object that is to appear in the tree
com.ibm.commons.iloader.node.NodeException - an exception will be generated if a null class definition is provided
and the object provided does not have a corresponding class definitionIClassDef
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||