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 TypeMethodDescriptionvoid
addCategory
(LocationCategory category) void
addGroup
(LocationGroup group) getElementAt
(int index) int
getSize()
void
setSelectedItem
(Object anItem) int
size()
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
LocationCategoryMap
-
LocationCategoryMap
public LocationCategoryMap()
-
-
Method Details
-
getSelectedItem
- Specified by:
getSelectedItem
in interfaceComboBoxModel
-
setSelectedItem
- Specified by:
setSelectedItem
in interfaceComboBoxModel
-
getElementAt
- Specified by:
getElementAt
in interfaceListModel
-
getSize
public int getSize() -
size
public int size() -
getLocationCategories
-
getLocationGroups
-
addCategory
-
addGroup
-