Go to the documentation of this file.
20package org.sleuthkit.autopsy.guiutils;
22import javax.swing.AbstractListModel;
23import javax.swing.ComboBoxModel;
24import javax.swing.event.ListDataListener;
29public class DataSourceComboBoxModel
extends AbstractListModel<String> implements ComboBoxModel<String> {
38 DataSourceComboBoxModel() {
39 this.dataSourceList =
new String[0];
73 this.listenerList.add(ListDataListener.class, listener);
78 this.listenerList.remove(ListDataListener.class, listener);
String getElementAt(int index)
static final long serialVersionUID
void addListDataListener(ListDataListener listener)
void removeListDataListener(ListDataListener listener)
DataSourceComboBoxModel(String... theDataSoureList)
void setSelectedItem(Object anItem)
final String[] dataSourceList
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.