public class PathsListTreeNode extends TreeNodeAdapter
| Constructor and Description |
|---|
PathsListTreeNode(java.lang.String currentPath,
java.util.List<java.lang.String> paths) |
PathsListTreeNode(java.lang.String currentPath,
java.lang.String dirName,
java.util.List<java.lang.String> paths) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TreeNode> |
getChildren()
Returns this node children
|
java.lang.String |
getDetails()
Node details
|
java.lang.String |
getLinkPath()
Returns path to set in the link for this node, applicable for leaf nodes only.
|
java.lang.String |
getName()
Name of the node to show in tree
|
boolean |
isCanHaveChildren()
Returns true if node can have children
|
getNodeAttributes, getNodeClasspublic PathsListTreeNode(@NotNull
java.lang.String currentPath,
@NotNull
java.util.List<java.lang.String> paths)
public PathsListTreeNode(@NotNull
java.lang.String currentPath,
@NotNull
java.lang.String dirName,
@NotNull
java.util.List<java.lang.String> paths)
@NotNull public java.lang.String getName()
TreeNodegetName in interface TreeNodegetName in class TreeNodeAdapterpublic java.lang.String getDetails()
TreeNodegetDetails in interface TreeNodegetDetails in class TreeNodeAdapterpublic boolean isCanHaveChildren()
TreeNodeisCanHaveChildren in interface TreeNodeisCanHaveChildren in class TreeNodeAdapterpublic java.lang.String getLinkPath()
TreeNodegetLinkPath in interface TreeNodegetLinkPath in class TreeNodeAdapterpublic java.util.List<TreeNode> getChildren()
TreeNodegetChildren in interface TreeNodegetChildren in class TreeNodeAdapter