|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsonification.dataimport.visbards_resourcetoolkit.model.DefaultCategoryPool
public class DefaultCategoryPool
| Constructor Summary | |
|---|---|
DefaultCategoryPool()
|
|
| Method Summary | |
|---|---|
void |
addCategory(Category cat)
Add a category to the system. |
void |
addListener(CategoryPoolListener listener)
Registers a listener. |
Category[] |
getAllCategories()
Returns all categories in the system. |
Category[] |
getCategories(int capability,
boolean presentationalOnly)
Returns all categories with appropriate capability |
Category |
getCategory(java.lang.String name)
Returns a category with the specified name, if not avaliable returns null. |
Category[] |
getDataCategories()
Returns all non-pseudo categories in the system. |
Category[] |
getPresentationalCategories()
Returns all presentational categoryes. |
PseudoCategory[] |
getPseudoCategories()
Returns all pseudo categories in the system. |
void |
removeCategory(Category cat)
Remove a category from the system. |
void |
removeListener(CategoryPoolListener listener)
Unregisters a listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCategoryPool()
| Method Detail |
|---|
public Category getCategory(java.lang.String name)
getCategory in interface CategoryPoolpublic Category[] getAllCategories()
getAllCategories in interface CategoryPoolpublic Category[] getPresentationalCategories()
getPresentationalCategories in interface CategoryPoolpublic PseudoCategory[] getPseudoCategories()
getPseudoCategories in interface CategoryPoolpublic Category[] getDataCategories()
getDataCategories in interface CategoryPool
public Category[] getCategories(int capability,
boolean presentationalOnly)
getCategories in interface CategoryPoolpublic void addCategory(Category cat)
addCategory in interface CategoryPoolpublic void removeCategory(Category cat)
removeCategory in interface CategoryPoolpublic void addListener(CategoryPoolListener listener)
addListener in interface CategoryPoolpublic void removeListener(CategoryPoolListener listener)
removeListener in interface CategoryPool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||