@Entity public class TreeNode extends PersistentObject
For folders, TreeFolder should be used.
| Constructor and Description |
|---|
TreeNode()
Explicitly adding the default constructor as this is important, e.g.
|
TreeNode(String text) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIcon() |
String |
getIconCls() |
int |
getIndex() |
TreeFolder |
getParentFolder() |
String |
getqTip() |
String |
getqTitle() |
String |
getText() |
int |
hashCode() |
Boolean |
isChecked() |
boolean |
isExpandable() |
boolean |
isExpanded() |
boolean |
isLeaf() |
boolean |
isRoot() |
void |
setChecked(Boolean checked) |
void |
setExpandable(boolean expandable) |
void |
setExpanded(boolean expanded) |
void |
setIcon(String icon) |
void |
setIconCls(String iconCls) |
void |
setIndex(int index) |
void |
setLeaf(boolean leaf) |
void |
setParentFolder(TreeFolder parentFolder) |
void |
setqTip(String qTip) |
void |
setqTitle(String qTitle) |
void |
setRoot(boolean root) |
void |
setText(String text) |
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toStringpublic TreeNode()
public TreeNode(String text)
public String getText()
public void setText(String text)
text - the text to setpublic TreeFolder getParentFolder()
public void setParentFolder(TreeFolder parentFolder)
parentFolder - the parentFolder to setpublic int getIndex()
public void setIndex(int index)
index - the index to setpublic boolean isRoot()
public void setRoot(boolean root)
root - the root to setpublic boolean isLeaf()
public void setLeaf(boolean leaf)
leaf - the leaf to setpublic Boolean isChecked()
public void setChecked(Boolean checked)
checked - the checked to setpublic boolean isExpandable()
public void setExpandable(boolean expandable)
expandable - the expandable to setpublic boolean isExpanded()
public void setExpanded(boolean expanded)
expanded - the expanded to setpublic String getIcon()
public void setIcon(String icon)
icon - the icon to setpublic String getIconCls()
public void setIconCls(String iconCls)
iconCls - the iconCls to setpublic String getqTip()
public void setqTip(String qTip)
qTip - the qTip to setpublic String getqTitle()
public void setqTitle(String qTitle)
qTitle - the qTitle to setpublic int hashCode()
public boolean equals(Object obj)
Copyright © 2020 terrestris GmbH & Co. KG. All rights reserved.