public static class DatasetCfg.AnTreeNode extends TreeIndenode
Representing each tree node.
Design Memo:[{"children":[ { "fullpath":"01.0101", "checked":true, "text":"users","sort":"0101", "value":"0101", "parentId":"01" }, { "fullpath":"01.0102", "checked":true, "text":"roles","sort":"0102","value":"0102","parentId":"01" }, { "fullpath":"01.0103", "checked":true, "text":"sys log","sort":"0103","value":"0103","parentId":"01" } ], "fullpath":"01", "checked":true, "text":"system","sort":"01","value":"01","parentId":"" }, {"children":[ { "fullpath":"03.0301", "checked":true, "text":"FUNC 0301","sort":"0301","value":"0301","parentId":"03"} ], "fullpath":"03", "checked":true, "text":"web contents","sort":"03","value":"03" }]
Constructor and Description |
---|
AnTreeNode()
Only for Anson parser, don't create like this (use subclass constructor)
|
AnTreeNode(String id,
String parent,
int level,
DatasetCfg.AnTreeNode... root) |
asLastSibling, child, child, children_, children, children, fullpath, get, getChildIndents, id, indents, parent, put, tagLast, toBlock
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toEnvelope, toJson, toJson, toMapBlock, toString, unescape
public AnTreeNode()
public AnTreeNode(String id, String parent, int level, DatasetCfg.AnTreeNode... root)
Copyright © 2024. All rights reserved.