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, getNodeClass
public 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()
TreeNode
getName
in interface TreeNode
getName
in class TreeNodeAdapter
public java.lang.String getDetails()
TreeNode
getDetails
in interface TreeNode
getDetails
in class TreeNodeAdapter
public boolean isCanHaveChildren()
TreeNode
isCanHaveChildren
in interface TreeNode
isCanHaveChildren
in class TreeNodeAdapter
public java.lang.String getLinkPath()
TreeNode
getLinkPath
in interface TreeNode
getLinkPath
in class TreeNodeAdapter
public java.util.List<TreeNode> getChildren()
TreeNode
getChildren
in interface TreeNode
getChildren
in class TreeNodeAdapter