sonification.dataimport.visbards_resourcetoolkit.model
Interface CategoryPool

All Known Implementing Classes:
DefaultCategoryPool

public interface CategoryPool

Contains information about all the categories in the system.


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.
 

Method Detail

getCategory

Category getCategory(java.lang.String name)
Returns a category with the specified name, if not avaliable returns null.


getAllCategories

Category[] getAllCategories()
Returns all categories in the system. Members are of type Category.


getPresentationalCategories

Category[] getPresentationalCategories()
Returns all presentational categoryes.


getPseudoCategories

PseudoCategory[] getPseudoCategories()
Returns all pseudo categories in the system. Members are of type Category.


getDataCategories

Category[] getDataCategories()
Returns all non-pseudo categories in the system.


getCategories

Category[] getCategories(int capability,
                         boolean presentationalOnly)
Returns all categories with appropriate capability


addCategory

void addCategory(Category cat)
Add a category to the system.


removeCategory

void removeCategory(Category cat)
Remove a category from the system.


addListener

void addListener(CategoryPoolListener listener)
Registers a listener.


removeListener

void removeListener(CategoryPoolListener listener)
Unregisters a listener.