Holger's Java API

## Uses of Interface
com.antelmann.db.Category

Packages that use Category
com.antelmann.db: This package contains generally useful classes for generic database management.
com.antelmann.opengeodb: This package contains classes easing to deal with geological data as provided by http://opengeodb.org/.
com.antelmann.sql: This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes
com.antelmann.util.gui: This package contains utility classes for GUI related implementations.

Uses of Category in com.antelmann.db

Subinterfaces of Category in com.antelmann.db
`interface` `MutableCategory<T>` an extension of a category that allows to set its parent category

Classes in com.antelmann.db that implement Category
`static class` `Category.Adapter<T>`
`static class` `Category.Entry`
`static class` `MutableCategory.Adapter<T>`
`static class` `MutableCategory.Entry`

Methods in com.antelmann.db that return Category
`Category<T>` `Categorized.getCategory()`
`Category<T>` `Category.getParentCategory()` returns the super category that this category belongs to - or null if it is a top-level category
`Category<T>` `Category.Adapter.getParentCategory()`
`Category<Database<?>>` `Category.Entry.getParentCategory()`
`static Category<?>` `Category.Adapter.getTopCategory(Category<?> c)`

Methods in com.antelmann.db that return types with arguments of type Category

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.addAllChildrenFrom(Category<T> category, T context, ArrayList<Category<T>> list)`
works recursively; does not include the given category itself

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.getAllChildren(Category<T> category, T context)`
does not include the given category itself

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.getPath(Category<T> c)`

`List<? extends Category<Database<?>>>` `Category.Entry.getSubCategories(Database<?> context)`
`List<? extends Category<?>>` `CategoryManager.getSubCategories(DBReference categoryRef)`
`List<? extends Category<T>>` `Category.getSubCategories(T context)` retrieves a list of sub-categories for this category
`List<? extends Category<T>>` `Category.Adapter.getSubCategories(T context)` the returned list by this implementation allows direct modifications; the context parameter is ignored and may be null
`List<? extends Category<?>>` `CategoryManager.getTopCategories()`

`static

`<T> Iterator<Category<T>>`

`

`Category.Adapter.iterate(Category<T> category, T context)`
iterates over all children recursively

`static

`<T> Iterator<Category<T>>`

`

`Category.Adapter.iterate(List<? extends Category<T>> categoryList, T context)`
iterates over the list itself and all children recursively

`static

`<T> List<Category<T>>`

`

`Category.Adapter.listAll(Collection<? extends Category<T>> topCategories, T context)`

Methods in com.antelmann.db with parameters of type Category

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.addAllChildrenFrom(Category<T> category, T context, ArrayList<Category<T>> list)`
works recursively; does not include the given category itself

`static void` `Category.Adapter.checkForCircularReferenceInParent(Category<?> category, Category<?> parent)`
`static void` `Category.Adapter.checkForCircularReferenceInParent(Category<?> category, Category<?> parent)`

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.getAllChildren(Category<T> category, T context)`
does not include the given category itself

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.getPath(Category<T> c)`

`static String` `Category.Adapter.getPathName(Category<?> c)`
`static String` `Category.Adapter.getPathName(Category<?> c, String separator)`
`static Category<?>` `Category.Adapter.getTopCategory(Category<?> c)`

`static

`<T> boolean`

`

`Category.Adapter.isParent(Category<T> parent, Category<T> child)`

`static

`<T> boolean`

`

`Category.Adapter.isParent(Category<T> parent, Category<T> child)`

`static

`<T> Iterator<Category<T>>`

`

`Category.Adapter.iterate(Category<T> category, T context)`
iterates over all children recursively

`protected void` `Category.Entry.setParentCategory(Category<Database<?>> parent)`
`protected void` `Category.Adapter.setParentCategory(Category<T> parent)`

Method parameters in com.antelmann.db with type arguments of type Category

`static

`<T> ArrayList<Category<T>>`

`

`Category.Adapter.addAllChildrenFrom(Category<T> category, T context, ArrayList<Category<T>> list)`
works recursively; does not include the given category itself

`static

`<T> Iterator<Category<T>>`

`

`Category.Adapter.iterate(List<? extends Category<T>> categoryList, T context)`
iterates over the list itself and all children recursively

`static

`<T> List<Category<T>>`

`

`Category.Adapter.listAll(Collection<? extends Category<T>> topCategories, T context)`

`void` `MutableCategory.Adapter.setChildren(Collection<Category<T>> col)`
`void` `Category.Adapter.setChildren(Collection<Category<T>> col)`

Constructors in com.antelmann.db with parameters of type Category
`Category.Adapter(String name, Category<T> parent, Collection<? extends Category<T>> children)`
`Category.Entry(Object id, String categoryName, Category<Database<?>> parent)`
`MutableCategory.Entry(Object id, String categoryName, Category<Database<?>> parent)`

Constructor parameters in com.antelmann.db with type arguments of type Category
`Category.Adapter(String name, Category<T> parent, Collection<? extends Category<T>> children)`

Uses of Category in com.antelmann.opengeodb

Classes in com.antelmann.opengeodb that implement Category
`class` `GeoLocation` represents a location entry in the OpenGeoDB

Uses of Category in com.antelmann.sql

Classes in com.antelmann.sql with type parameters of type Category
`class` `CategoryStore<T extends Category<?> & DBEntry>` provides an SQL-based store wrapper to handle categories more easily based on a column that contains the parent-category-id.

Method parameters in com.antelmann.sql with type arguments of type Category

`static

`<T extends DBEntry> void`

`

`CategoryStore.registerCategoryUser(DBClassStore<T> store, String categoryIdColumn, Class<? extends Category<?>> categoryClass)`

Uses of Category in com.antelmann.util.gui

Methods in com.antelmann.util.gui that return Category
`Category<?>` `JCategoryField.getRelevantValue()`
`static Category<?>` `CategoryNode.selectCategory(TreeNode categoryRoot, Object context, Category<?> defaultCategory, String title, Component parent, Filter<? super Category<?>> filter, TreeCellRenderer renderer)`
`Category<T>` `CategoryNode.unwrap()`

Methods in com.antelmann.util.gui that return types with arguments of type Category
`Enumeration<Category<T>>` `CategoryNode.children()`
`Filter<? super Category<?>>` `JCategoryField.getFilter()`

Methods in com.antelmann.util.gui with parameters of type Category
`static CategoryNode<?>` `CategoryNode.createNode(Category<?> category, Object context)`
`static TreePath` `CategoryNode.createPath(TreeModel model, Category<?> category, Object context)`
`static Category<?>` `CategoryNode.selectCategory(TreeNode categoryRoot, Object context, Category<?> defaultCategory, String title, Component parent, Filter<? super Category<?>> filter, TreeCellRenderer renderer)`
`void` `JCategoryField.setRelevantValue(Category<?> value)`

Method parameters in com.antelmann.util.gui with type arguments of type Category
`static TreeNode` `CategoryNode.createRootNode(Collection<? extends Category<?>> topLevelCategories, String title, Object context)`
`static Category<?>` `CategoryNode.selectCategory(TreeNode categoryRoot, Object context, Category<?> defaultCategory, String title, Component parent, Filter<? super Category<?>> filter, TreeCellRenderer renderer)`
`void` `JCategoryField.setFilter(Filter<? super Category<?>> filter)`

Constructors in com.antelmann.util.gui with parameters of type Category
`CategoryNode(Category<T> category, T context)`
`CategoryNode(Category<T> category, ValueRetriever<T> contextRetriever)`

Constructor parameters in com.antelmann.util.gui with type arguments of type Category
`JCategoryField(Collection<Category<?>> topCategories, Object context)`
`JCategoryField(Collection<Category<?>> topCategories, Object context, boolean withClearButton)`
`JCategoryField(List<? extends Category<?>> topCategories, Object context)`
`JCategoryField(List<? extends Category<?>> topCategories, Object context, boolean withClearButton)`
`JCategoryField(ValueRetriever<Collection<Category<?>>> topCategoriesRetriever, ValueRetriever<?> contextRetriever)`
`JCategoryField(ValueRetriever<Collection<Category<?>>> topCategoriesRetriever, ValueRetriever<?> contextRetriever, boolean withClearButton)`

(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads