org.openorb.board.shared.treetable

Class TreeNode

public class TreeNode extends DefaultMutableTreeNode implements Cloneable

OpenORB GUI Components / Tree Table / TreeNode

Author: Olivier Modica

Constructor Summary
TreeNode(int nodeType, Object value)
Constructor
Method Summary
booleangetAllowsChildren()
Return getAllowsChildren
DataNodegetLinkedDataNode()
Get the linked datanode
intgetNodeType()
Get the type of this node
ObjectgetNodeValue()
Get the value of this node
booleanisLeaf()
Return isLeaf
voidsetLinkedDataNode(DataNode linkedDataNode)
Set the linked datanode
voidsetNodeType(int nodeType)
Set the type of this node
voidsetNodeValue(Object value)
Set the value of this node

Constructor Detail

TreeNode

public TreeNode(int nodeType, Object value)
Constructor

Method Detail

getAllowsChildren

public boolean getAllowsChildren()
Return getAllowsChildren

getLinkedDataNode

public DataNode getLinkedDataNode()
Get the linked datanode

getNodeType

public int getNodeType()
Get the type of this node

getNodeValue

public Object getNodeValue()
Get the value of this node

isLeaf

public boolean isLeaf()
Return isLeaf

setLinkedDataNode

public void setLinkedDataNode(DataNode linkedDataNode)
Set the linked datanode

setNodeType

public void setNodeType(int nodeType)
Set the type of this node

setNodeValue

public void setNodeValue(Object value)
Set the value of this node