|
|||||||||
| 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.PrimitiveContainerNode
com.ibm.commons.swt.data.controls.tabletree.PrimitiveCollectionItemNode
public class PrimitiveCollectionItemNode
An individual item in a primitive collection.
DCPropertyTree,
PrimitiveContainerNode| Constructor Summary | |
|---|---|
PrimitiveCollectionItemNode(PrimitiveCollectionNode parent,
int index)
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
fillItem()
Fill the contents of the corresponding TreeItem. |
int |
getIndex()
Returns the index of the current node in the collection. |
PropertyEditor |
getPropertyEditor()
Returns a property editor that is associated with the current node. |
java.lang.String |
getValue()
Returns the value of the current node |
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, 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 |
|---|
public PrimitiveCollectionItemNode(PrimitiveCollectionNode parent,
int index)
throws com.ibm.commons.iloader.node.NodeException
parent - the parent tree node of the current nodeindex - the index of the current node in the node collection
com.ibm.commons.iloader.node.NodeException - if an error was encountered when creating the tree node| Method Detail |
|---|
public PropertyEditor getPropertyEditor()
MemberNode
getPropertyEditor in class MemberNodepublic void fillItem()
TreeNodeTreeNode.getTreeItem() and manipulate the resulting TreeItem.
fillItem in class TreeNodepublic java.lang.String getValue()
PrimitiveContainerNode
getValue in class PrimitiveContainerNodepublic void setValue(java.lang.String value)
PrimitiveContainerNode
setValue in class PrimitiveContainerNodevalue - a value which will be converted to a primative valuepublic int getIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||