Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel Class Reference

Inherits org.sleuthkit.autopsy.ingest.IngestModuleGlobalSettingsPanel, and org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Classes

class  HashSetTable
 
class  HashSetTableModel
 

Public Member Functions

 HashLookupSettingsPanel ()
 
void cancel ()
 
void load ()
 
void saveSettings ()
 
void store ()
 

Private Member Functions

void addHashesToDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void createDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void customizeComponents ()
 
void deleteDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void hashSetTableKeyPressed (java.awt.event.KeyEvent evt)
 
void importDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void indexButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void initComponents ()
 
boolean isLocalIngestJobEvent (PropertyChangeEvent evt)
 
void sendIngestMessagesCheckBoxActionPerformed (java.awt.event.ActionEvent evt)
 
void showInvalidIndex (boolean plural, List< HashDb > unindexed)
 
void updateComponents ()
 
void updateComponentsForNoSelection ()
 
void updateComponentsForSelection (HashDb db)
 

Static Private Member Functions

static String shortenPath (String path)
 

Private Attributes

javax.swing.JButton addHashesToDatabaseButton
 
javax.swing.JButton createDatabaseButton
 
javax.swing.JButton deleteDatabaseButton
 
javax.swing.JLabel hashDatabasesLabel
 
javax.swing.JLabel hashDbIndexStatusLabel
 
javax.swing.JLabel hashDbLocationLabel
 
javax.swing.JLabel hashDbNameLabel
 
javax.swing.JLabel hashDbTypeLabel
 
final HashDbManager hashSetManager = HashDbManager.getInstance()
 
javax.swing.JTable hashSetTable
 
final HashSetTableModel hashSetTableModel = new HashSetTableModel()
 
javax.swing.JButton importDatabaseButton
 
javax.swing.JButton indexButton
 
javax.swing.JLabel indexLabel
 
javax.swing.JLabel indexPathLabel
 
javax.swing.JLabel indexPathLabelLabel
 
javax.swing.JLabel informationLabel
 
javax.swing.JSeparator informationSeparator
 
javax.swing.JLabel ingestWarningLabel
 
javax.swing.JButton jButton3
 
javax.swing.JLabel jLabel2
 
javax.swing.JLabel jLabel4
 
javax.swing.JLabel jLabel6
 
javax.swing.JPanel jPanel1
 
javax.swing.JScrollPane jScrollPane1
 
javax.swing.JScrollPane jScrollPane2
 
javax.swing.JLabel locationLabel
 
javax.swing.JLabel nameLabel
 
javax.swing.JLabel optionsLabel
 
javax.swing.JSeparator optionsSeparator
 
javax.swing.JCheckBox sendIngestMessagesCheckBox
 
javax.swing.JLabel typeLabel
 

Static Private Attributes

static final String ERROR_GETTING_INDEX_STATUS_TEXT
 
static final String ERROR_GETTING_PATH_TEXT
 
static final String NO_SELECTION_TEXT
 

Detailed Description

Instances of this class provide a comprehensive UI for managing the hash sets configuration.

Definition at line 54 of file HashLookupSettingsPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.HashLookupSettingsPanel ( )

Member Function Documentation

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.cancel ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.customizeComponents ( )
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTableKeyPressed ( java.awt.event.KeyEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 485 of file HashLookupSettingsPanel.java.

References org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButtonActionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButtonActionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButtonActionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDatabasesLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbIndexStatusLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbLocationLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbNameLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbTypeLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTable, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTableKeyPressed(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButtonActionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButtonActionPerformed(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabelLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationSeparator, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ingestWarningLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jButton3, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jLabel2, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jLabel4, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jLabel6, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jPanel1, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jScrollPane1, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jScrollPane2, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.locationLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.nameLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsSeparator, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBox, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBoxActionPerformed(), and org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.typeLabel.

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.HashLookupSettingsPanel().

boolean org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.isLocalIngestJobEvent ( PropertyChangeEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.load ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.saveSettings ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBoxActionPerformed ( java.awt.event.ActionEvent  evt)
private
static String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.shortenPath ( String  path)
staticprivate
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.showInvalidIndex ( boolean  plural,
List< HashDb unindexed 
)
private

Displays the popup box that tells user that some of his databases are unindexed, along with solutions. This method is related to ModalNoButtons, to be removed at a later date.

Parameters
pluralWhether or not there are multiple unindexed databases
unindexedThe list of unindexed databases. Can be of size 1.

Definition at line 328 of file HashLookupSettingsPanel.java.

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.saveSettings().

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.store ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponents ( )
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponentsForNoSelection ( )
private

Definition at line 114 of file HashLookupSettingsPanel.java.

References org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButton, org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbIndexStatusLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbLocationLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbNameLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbTypeLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ingestWarningLabel, org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsSeparator, and org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBox.

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.HashLookupSettingsPanel(), and org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponents().

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponentsForSelection ( HashDb  db)
private

Definition at line 145 of file HashLookupSettingsPanel.java.

References org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getDatabasePath(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.KnownFilesType.getDisplayName(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getHashSetName(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getIndexPath(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getKnownFilesType(), org.sleuthkit.autopsy.coreutils.Logger.getLogger(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getSearchDuringIngest(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.getSendIngestMessages(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbIndexStatusLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbLocationLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbNameLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbTypeLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.hasIndexOnly(), org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButton, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ingestWarningLabel, org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.isUpdateable(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDb.KnownFilesType.KNOWN_BAD, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsLabel, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsSeparator, org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBox, and org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.shortenPath().

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponents().

Member Data Documentation

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButton
private
javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButton
private
javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButton
private
final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ERROR_GETTING_INDEX_STATUS_TEXT
staticprivate
Initial value:
= NbBundle
.getMessage(HashLookupSettingsPanel.class, "HashDbConfigPanel.errorGettingIndexStatusText")

Definition at line 60 of file HashLookupSettingsPanel.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ERROR_GETTING_PATH_TEXT
staticprivate
Initial value:
= NbBundle
.getMessage(HashLookupSettingsPanel.class, "HashDbConfigPanel.errorGettingPathText")

Definition at line 58 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDatabasesLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbIndexStatusLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbLocationLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbNameLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbTypeLabel
private
final HashDbManager org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetManager = HashDbManager.getInstance()
private

Definition at line 62 of file HashLookupSettingsPanel.java.

javax.swing.JTable org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTable
private
final HashSetTableModel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTableModel = new HashSetTableModel()
private

Definition at line 63 of file HashLookupSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButton
private
javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButton
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabelLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationLabel
private
javax.swing.JSeparator org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationSeparator
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ingestWarningLabel
private
javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jButton3
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jLabel2
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jLabel4
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jLabel6
private
javax.swing.JPanel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jPanel1
private
javax.swing.JScrollPane org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jScrollPane1
private
javax.swing.JScrollPane org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jScrollPane2
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.locationLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.nameLabel
private
final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.NO_SELECTION_TEXT
staticprivate
Initial value:
= NbBundle
.getMessage(HashLookupSettingsPanel.class, "HashDbConfigPanel.noSelectionText")

Definition at line 56 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsLabel
private
javax.swing.JSeparator org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.optionsSeparator
private
javax.swing.JCheckBox org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBox
private
javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.typeLabel
private

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

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