public static class UITree.TreeNode extends Object implements Serializable
Constructor and Description |
---|
TreeNode(String nodeRef,
String name,
String icon)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(UITree.TreeNode child) |
List<UITree.TreeNode> |
getChildren() |
String |
getIcon() |
String |
getName() |
String |
getNodeRef() |
UITree.TreeNode |
getParent() |
boolean |
isExpanded() |
boolean |
isLeafNode() |
boolean |
isSelected() |
void |
removeChildren() |
void |
setExpanded(boolean expanded) |
void |
setIcon(String icon) |
void |
setLeafNode(boolean leafNode) |
void |
setName(String name) |
void |
setNodeRef(String nodeRef) |
void |
setParent(UITree.TreeNode parent) |
void |
setSelected(boolean selected) |
String |
toString() |
String |
toXML() |
public String getIcon()
public void setIcon(String icon)
public boolean isLeafNode()
public void setLeafNode(boolean leafNode)
public boolean isExpanded()
public void setExpanded(boolean expanded)
public boolean isSelected()
public void setSelected(boolean selected)
public String getName()
public void setName(String name)
public String getNodeRef()
public void setNodeRef(String nodeRef)
public UITree.TreeNode getParent()
public void setParent(UITree.TreeNode parent)
public List<UITree.TreeNode> getChildren()
public void addChild(UITree.TreeNode child)
public void removeChildren()
public String toXML()
Copyright © 2005–2017 Alfresco Software. All rights reserved.