Autopsy  4.19.3
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 DataSourceComboBoxModel.java.

Constructor & Destructor Documentation

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

Use this when we have data to display.

Parameters
theDataSoureListnames of data sources for user to pick from

Definition at line 47 of file DataSourceComboBoxModel.java.

Member Function Documentation

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

Definition at line 72 of file DataSourceComboBoxModel.java.

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

Definition at line 67 of file DataSourceComboBoxModel.java.

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

Definition at line 62 of file DataSourceComboBoxModel.java.

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

Definition at line 77 of file DataSourceComboBoxModel.java.

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

Definition at line 52 of file DataSourceComboBoxModel.java.

Member Data Documentation

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

Definition at line 32 of file DataSourceComboBoxModel.java.

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

Definition at line 31 of file DataSourceComboBoxModel.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Sun Sep 25 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.