org.jfree.report.modules.gui.swing.preview

Class CategoryTreeItem

Implemented Interfaces:
Comparable

public class CategoryTreeItem
extends java.lang.Object
implements Comparable

Creation-Date: 01.12.2006, 20:01:32
Author:
Thomas Morgner

Constructor Summary

CategoryTreeItem(ActionCategory category)

Method Summary

void
add(CategoryTreeItem item)
int
compareTo(Object o)
Compares this object with the specified object for order.
ActionCategory
getCategory()
CategoryTreeItem[]
getChilds()
String
getName()
CategoryTreeItem
getParent()
void
setParent(CategoryTreeItem parent)

Constructor Details

CategoryTreeItem

public CategoryTreeItem(ActionCategory category)

Method Details

add

public void add(CategoryTreeItem item)

compareTo

public int compareTo(Object o)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Parameters:
o - the Object to be compared.
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

getCategory

public ActionCategory getCategory()

getChilds

public CategoryTreeItem[] getChilds()

getName

public String getName()

getParent

public CategoryTreeItem getParent()

setParent

public void setParent(CategoryTreeItem parent)