|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - denotes the type of the context object required to obtain sub-categories
(the context would typically be a database, url, file, connection or alike)public interface Category<T>
represents a category that may be associated with any kind of entry and supports cascading sub-categories
Categorized,
CategoryNode,
JCategoryField,
MutableCategory| Nested Class Summary | |
|---|---|
static class |
Category.Adapter<T>
|
static class |
Category.Entry
|
| Method Summary | |
|---|---|
String |
getCategoryName()
returns the name for this category |
Category<T> |
getParentCategory()
returns the super category that this category belongs to - or null if it is a top-level category |
List<? extends Category<T>> |
getSubCategories(T context)
retrieves a list of sub-categories for this category |
| Method Detail |
|---|
String getCategoryName()
Category<T> getParentCategory()
List<? extends Category<T>> getSubCategories(T context)
throws IOException
context - the object (typically a database, a file, a URL, etc.) that
provides the information required to derive the children from.
IOException - if the categories could not be retrieved
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||