public class ListListModel<T> extends AbstractListModel<T>
listenerList| Constructor and Description |
|---|
ListListModel() |
ListListModel(List<T> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T item) |
void |
addAll(Collection<T> c) |
void |
clear() |
T |
getElementAt(int index) |
List<T> |
getList() |
int |
getSize() |
void |
removeAll(Collection<T> c) |
void |
setList(List<T> list) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerpublic T getElementAt(int index)
public int getSize()
public void removeAll(Collection<T> c)
c - collection with objects to removepublic void addAll(Collection<T> c)
c - collection with objets to addpublic void clear()
public void add(T item)
Copyright © 2014 JDAL. All Rights Reserved.