|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.swing.joutlooknavbar.CategoryModel
com.sygem.swing.joutlooknavbar.DefaultCategoryModel
A default implementation of a CategoryModel. One of these is created by the JOutlookNavBar to store NavBarCategory objects. Uses a Vector to store the data, and fires CategoryDataEvents to the JOutlookNavBar when categories are added or removed.
Title: JOutlookNavBar
Description: A Swing component simulating Outlook's Nav Bar
Copyright: Copyright (c) 2004
Company: SyGem Software
Constructor Summary | |
DefaultCategoryModel()
Constructs the (empty) DefaultCategoryModel. |
Method Summary | |
void |
addCategory(NavBarCategory category)
Adds a NavBarCategory to this data model. |
NavBarCategory[] |
getCategories()
Returns an array containing all of the NavBarCategories currently present in this model. |
void |
removeCategory(NavBarCategory category)
Removes a Category from this data model. |
Methods inherited from class com.sygem.swing.joutlooknavbar.CategoryModel |
addCategoryDataListener, removeAll, removeCategoryDataListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultCategoryModel()
Method Detail |
public void addCategory(NavBarCategory category)
addCategory
in class CategoryModel
category
- The NavBarCategory to be addedNavBarCategory
public NavBarCategory[] getCategories()
getCategories
in class CategoryModel
NavBarCategory
public void removeCategory(NavBarCategory category)
removeCategory
in class CategoryModel
category
- The NavBarCategory to be removedNavBarCategory
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |