public final class ClassTree
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ClassTree.ClassNode
Tree node representing a single class.
|
static class |
ClassTree.PackageNode
Tree node representing a single class.
|
Modifier | Constructor and Description |
---|---|
private |
ClassTree()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.tree.TreeNode |
build(java.util.List<java.lang.Class<?>> choices,
java.lang.String rootpkg)
Build the class tree for a given set of choices.
|
private static javax.swing.tree.MutableTreeNode |
simplifyTree(javax.swing.tree.MutableTreeNode cur,
java.lang.String prefix)
Simplify the tree.
|
public static javax.swing.tree.TreeNode build(java.util.List<java.lang.Class<?>> choices, java.lang.String rootpkg)
choices
- Class choicesrootpkg
- Root package name (to strip / hide)private static javax.swing.tree.MutableTreeNode simplifyTree(javax.swing.tree.MutableTreeNode cur, java.lang.String prefix)
cur
- Current nodeprefix
- Prefix to addCopyright © 2019 ELKI Development Team. License information.