public class TreeNodeAdapter extends java.lang.Object implements TreeNode
| Constructor and Description |
|---|
TreeNodeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends 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
|
java.lang.String |
getNodeAttributes()
Returns the node attributes (besides href)
|
java.lang.String |
getNodeClass()
Returns node CSS class
|
boolean |
isCanHaveChildren()
Returns true if node can have children
|
@NotNull public java.lang.String getName()
TreeNodepublic java.lang.String getDetails()
TreeNodegetDetails in interface TreeNodepublic boolean isCanHaveChildren()
TreeNodeisCanHaveChildren in interface TreeNodepublic java.lang.String getLinkPath()
TreeNodegetLinkPath in interface TreeNodepublic java.util.List<? extends TreeNode> getChildren()
TreeNodegetChildren in interface TreeNodepublic java.lang.String getNodeClass()
TreeNodegetNodeClass in interface TreeNodepublic java.lang.String getNodeAttributes()
TreeNodegetNodeAttributes in interface TreeNode