Class SearchTextResultListPanel.ResultListModel<T>
- java.lang.Object
-
- javax.swing.AbstractListModel<T>
-
- org.openstreetmap.josm.gui.widgets.SearchTextResultListPanel.ResultListModel<T>
-
- All Implemented Interfaces:
Serializable
,ListModel<T>
- Enclosing class:
- SearchTextResultListPanel<T>
protected static class SearchTextResultListPanel.ResultListModel<T> extends AbstractListModel<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private List<T>
items
-
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResultListModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getElementAt(int index)
int
getSize()
boolean
isEmpty()
void
setItems(List<T> items)
-
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
-