|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.ObjectCollectionItemNode
public class ObjectCollectionItemNode
A tree node associated with a collection of objects
IObjectCollection
,
DCPropertyTree
Constructor Summary | |
---|---|
ObjectCollectionItemNode(ObjectCollectionNode parent,
IObjectCollection objectCollection,
int index)
Creates a new instance of this class. |
Method Summary | |
---|---|
void |
fillItem()
Fill the contents of the corresponding TreeItem. |
int |
getIndex()
Gets the index for the current node |
java.lang.Object |
getValue()
Gets the value of the current tree node. |
protected boolean |
isVisible()
Returns whether or not the member associated with this node is visible |
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, getPropertyEditor |
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 |
---|
public ObjectCollectionItemNode(ObjectCollectionNode parent, IObjectCollection objectCollection, int index)
parent
- the parent ObjectCollectionNodeobjectCollection
- a collection of objectsindex
- the index in the collection where this node residesMethod Detail |
---|
protected boolean isVisible()
MemberNode
isVisible
in class MemberNode
public void fillItem()
TreeNode
TreeNode.getTreeItem()
and manipulate the resulting TreeItem.
fillItem
in class TreeNode
public java.lang.Object getValue()
ObjectContainerNode
getValue
in class ObjectContainerNode
public void setValue(java.lang.Object value)
ObjectContainerNode
setValue
in class ObjectContainerNode
value
- an object representing the value of the current node.public int getIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |