Package edu.tufts.hrilab.vision.util
Class NonEDTListModel<T>
java.lang.Object
javax.swing.AbstractListModel
edu.tufts.hrilab.vision.util.NonEDTListModel<T>
- All Implemented Interfaces:
Serializable
,ListModel
List model that allows elements to be added and removed from non Event
Dispatch Thread (i.e., non-GUI) threads.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getElementAt
(int arg0) int
getSize()
void
void
updateGuiEntry
(T item) Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Constructor Details
-
NonEDTListModel
public NonEDTListModel()
-
-
Method Details
-
add
-
remove
-
getElementAt
-
getSize
public int getSize() -
updateGuiEntry
-