Category objects.See: Description
| Interface | Description |
|---|---|
| Category<T> |
Interface for a category that contains elements and is part of a
hierarchy.
|
| CategoryListener<T> |
Interface for classes that want to be informed about changes in
a
Category. |
| MutableCategory<T> |
Interface for a mutable
Category |
| Class | Description |
|---|---|
| Categories |
Methods related to
Category instances |
| CategoriesBuilder<T> |
A builder for
Category hierarchies:
CategoriesBuilder<Type> b = Categories.createBuilder("Root");
b.add(elementForRoot);
b.get("FirstChild").add(someElementForFirstChild);
b.get("FirstChild").add(someOtherElementForFirstChild);
b.get("SecondChild").add(ElementForSecondChild);
b.get("SecondChild").get("GrandChild").add(lastElement);
Category<Type> root = b.get();
This class essentially wraps a MutableCategory and offers
convenience functions for the initial construction of the categories,
for example, by creating the child categories on demand. |
| CategoryEvent<T> |
A class describing a change in a
Category |
Category objects.Copyright © 2018. All rights reserved.