Package hec.data.location
Class LocationCategoryMap
java.lang.Object
javax.swing.AbstractListModel
hec.data.location.LocationCategoryMap
- All Implemented Interfaces:
Serializable,ComboBoxModel,ListModel
Organizes the location categories and groups into a tree structure.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategory(LocationCategory category) voidaddGroup(LocationGroup group) getElementAt(int index) intgetSize()voidsetSelectedItem(Object anItem) intsize()Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
LocationCategoryMap
-
LocationCategoryMap
public LocationCategoryMap()
-
-
Method Details
-
getSelectedItem
- Specified by:
getSelectedItemin interfaceComboBoxModel
-
setSelectedItem
- Specified by:
setSelectedItemin interfaceComboBoxModel
-
getElementAt
- Specified by:
getElementAtin interfaceListModel
-
getSize
public int getSize() -
size
public int size() -
getLocationCategories
-
getLocationGroups
-
addCategory
-
addGroup
-