protected static class SourceEditor.AvailableSourcesListModel extends DefaultListModel
| Modifier and Type | Field and Description |
|---|---|
private List<SourceEditor.ExtendedSourceEntry> |
data |
private DefaultListSelectionModel |
selectionModel |
listenerList| Constructor and Description |
|---|
AvailableSourcesListModel(DefaultListSelectionModel selectionModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSelected() |
Object |
getElementAt(int index) |
List<SourceEditor.ExtendedSourceEntry> |
getSelected() |
int |
getSize() |
void |
setSources(List<SourceEditor.ExtendedSourceEntry> sources) |
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSizeaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerprivate List<SourceEditor.ExtendedSourceEntry> data
private DefaultListSelectionModel selectionModel
public AvailableSourcesListModel(DefaultListSelectionModel selectionModel)
public void setSources(List<SourceEditor.ExtendedSourceEntry> sources)
public Object getElementAt(int index)
getElementAt in interface ListModelgetElementAt in class DefaultListModelpublic int getSize()
getSize in interface ListModelgetSize in class DefaultListModelpublic void deleteSelected()
public List<SourceEditor.ExtendedSourceEntry> getSelected()