| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT_NODE_ID
根节点Id
|
static String |
ROOT_NODE_NAME
根节点名称
|
| Constructor and Description |
|---|
TreeNode() |
| Modifier and Type | Method and Description |
|---|---|
static TreeNode |
createRoot()
创建根节点
|
String |
getNodeId()
获取节点id
|
String |
getNodeParentId()
获取节点父id
|
void |
setChildrenNodes(List childrenNodes)
设置children
|
public static final String ROOT_NODE_ID
public static final String ROOT_NODE_NAME
public String getNodeParentId()
TreegetNodeParentId in interface Treepublic void setChildrenNodes(List childrenNodes)
TreesetChildrenNodes in interface Treepublic static TreeNode createRoot()
Copyright © 2018. All rights reserved.