20 package org.sleuthkit.autopsy.guiutils;
22 import javax.swing.AbstractListModel;
23 import javax.swing.ComboBoxModel;
24 import javax.swing.event.ListDataListener;
39 this.dataSourceList =
new String[0];
48 dataSourceList = theDataSoureList.clone();
53 selection = (String) anItem;
63 return dataSourceList.length;
68 return dataSourceList[index];
73 this.listenerList.add(ListDataListener.class, listener);
78 this.listenerList.remove(ListDataListener.class, listener);
String getElementAt(int index)
DataSourceComboBoxModel(String...theDataSoureList)
void setSelectedItem(Object anItem)
void addListDataListener(ListDataListener listener)
final String[] dataSourceList
void removeListDataListener(ListDataListener listener)
static final long serialVersionUID