/**
* This method is used to add nodes to a tree
*
* @param node
* - the node to be added to
* @param categoryName
* - the group name of the list of the items
* @param counts
* - list of counts values
*/
private void addResultTreeNode(final DefaultMutableTreeNode node, final String categoryName,
final List<ModifiedPropertyCountData> counts) {
final DefaultMutableTreeNode category = new DefaultMutableTreeNode(categoryName);
node.add(category);
for (final ModifiedPropertyCountData count : counts) {
final DefaultMutableTreeNode childNode = new DefaultMutableTreeNode(ResultsFormatter.formatCount(count));
category.add(childNode);
}
}
RLCTreeBuilder.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:rlc-analyser
作者:
评论列表
文章目录