Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel Class Reference

Inherits AbstractListModel< String >, and ComboBoxModel< String >.

Public Member Functions

 DataSourceComboBoxModel (String...theDataSoureList)
void addListDataListener (ListDataListener listener)
String getElementAt (int index)
Object getSelectedItem ()
int getSize ()
void removeListDataListener (ListDataListener listener)
void setSelectedItem (Object anItem)

Private Attributes

final String[] dataSourceList
String selection = null

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

Encapsulates meta data needed to populate the data source selection drop down menu

Definition at line 29 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.DataSourceComboBoxModel ( String...  theDataSoureList)

Use this when we have data to display.

theDataSoureListnames of data sources for user to pick from

Definition at line 47 of file

Member Function Documentation

void org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.addListDataListener ( ListDataListener  listener)

Definition at line 72 of file

String org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.getElementAt ( int  index)

Definition at line 67 of file

Object org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.getSelectedItem ( )
int org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.getSize ( )

Definition at line 62 of file

void org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.removeListDataListener ( ListDataListener  listener)

Definition at line 77 of file

void org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.setSelectedItem ( Object  anItem)

Definition at line 52 of file

Member Data Documentation

final String [] org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.dataSourceList

Definition at line 32 of file

String org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.selection = null
final long org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel.serialVersionUID = 1L

Definition at line 31 of file

The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.