public class VanChartNode
extends java.lang.Object
构造器和说明 |
---|
VanChartNode() |
限定符和类型 | 方法和说明 |
---|---|
VanChartNode |
addChildNode(java.lang.Object nodeID)
向改节点中添加子节点,
返回添加的子节点,
如果已经有这个节点,则返回已经添加的节点
|
void |
addValue(java.lang.Object value) |
VanChartNode |
getChildNode(java.lang.Object ID)
寻找key为ID的节点
|
java.util.List<VanChartNode> |
getChildNodeList() |
int |
getNodeDepth() |
java.lang.Object |
getNodeID() |
java.lang.Number |
getNodeValue() |
VanChartNode |
getParentNode() |
VanChartNode |
getRootNode() |
java.util.List<java.lang.Object> |
getValueList() |
boolean |
hasNode(java.lang.Object nodeID) |
boolean |
isLeaf() |
boolean |
isNullNode() |
boolean |
isRoot() |
boolean |
isValueIsNull() |
void |
setNodeDepth(int nodeDepth) |
void |
setNodeID(java.lang.Object nodeID) |
void |
setNodeValue(java.lang.Number nodeValue) |
void |
setParentNode(VanChartNode parentNode) |
void |
setRoot(boolean isRoot) |
void |
setRootNode(VanChartNode rootNode) |
void |
setValueIsNull(boolean valueIsNull) |
public boolean isValueIsNull()
public void setValueIsNull(boolean valueIsNull)
public VanChartNode getRootNode()
public void setRootNode(VanChartNode rootNode)
public int getNodeDepth()
public void setNodeDepth(int nodeDepth)
public boolean isRoot()
public void setRoot(boolean isRoot)
public java.lang.Object getNodeID()
public void setNodeID(java.lang.Object nodeID)
public VanChartNode getParentNode()
public void setParentNode(VanChartNode parentNode)
public java.util.List<VanChartNode> getChildNodeList()
public VanChartNode getChildNode(java.lang.Object ID)
ID
- public boolean isLeaf()
public VanChartNode addChildNode(java.lang.Object nodeID)
nodeID
- public boolean isNullNode()
public boolean hasNode(java.lang.Object nodeID)
public java.lang.Number getNodeValue()
public void setNodeValue(java.lang.Number nodeValue)
public java.util.List<java.lang.Object> getValueList()
public void addValue(java.lang.Object value)