public class CategoryTreeItem
extends java.lang.Object
implements java.lang.Comparable
| Constructor and Description |
|---|
CategoryTreeItem(ActionCategory category) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CategoryTreeItem item) |
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order.
|
ActionCategory |
getCategory() |
CategoryTreeItem[] |
getChilds() |
java.lang.String |
getName() |
CategoryTreeItem |
getParent() |
void |
setParent(CategoryTreeItem parent) |
public CategoryTreeItem(ActionCategory category)
public java.lang.String getName()
public CategoryTreeItem getParent()
public void setParent(CategoryTreeItem parent)
public ActionCategory getCategory()
public void add(CategoryTreeItem item)
public CategoryTreeItem[] getChilds()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the Object to be compared.java.lang.ClassCastException - if the specified object's type prevents it from
being compared to this Object.