| Modifier and Type | Class and Description |
|---|---|
protected static class |
VariableListModel.MySectionHeader |
static class |
VariableListModel.VariableListItem<E> |
| Constructor and Description |
|---|
VariableListModel(Collection<I> elements,
String sectionHeader) |
VariableListModel(Collection<I> elements,
String sectionHeader,
boolean canAdd) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListDataListener(ListDataListener l) |
Object |
getElementAt(int index) |
int |
getSize() |
void |
init()
init
|
protected void |
notifyListeners() |
void |
removeListDataListener(ListDataListener l) |
public VariableListModel(Collection<I> elements, String sectionHeader)
elements - elementssectionHeader - sectionHeaderpublic VariableListModel(Collection<I> elements, String sectionHeader, boolean canAdd)
elements - elementssectionHeader - sectionHeadercanAdd - canAddpublic void init()
protected void notifyListeners()
public void addListDataListener(ListDataListener l)
addListDataListener in interface ListModel<Object>public Object getElementAt(int index)
getElementAt in interface ListModel<Object>public void removeListDataListener(ListDataListener l)
removeListDataListener in interface ListModel<Object>Copyright © 2014 The University of Manchester. All Rights Reserved.