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

Inherits JPanel, and DocumentListener.

Public Member Functions

synchronized void addPropertyChangeListener (PropertyChangeListener pcl)
 
void changedUpdate (DocumentEvent e)
 
void createTimeZoneList ()
 
String getContentPaths ()
 
boolean getNoFatOrphans ()
 
String getTimeZone ()
 
void insertUpdate (DocumentEvent e)
 
void readSettings ()
 
void removePropertyChangeListener (PropertyChangeListener pcl)
 
void removeUpdate (DocumentEvent e)
 
void reset ()
 
void select ()
 
void setContentPath (String s)
 
void storeSettings ()
 
boolean validatePanel ()
 

Static Public Member Functions

static synchronized ImageFilePanel createInstance (String context, List< FileFilter > fileChooserFilters)
 

Private Member Functions

 ImageFilePanel (String context, List< FileFilter > fileChooserFilters)
 
void browseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void initComponents ()
 
void postInit ()
 
void warnIfPathIsInvalid (String path)
 

Private Attributes

javax.swing.JButton browseButton
 
String contextName
 
javax.swing.JLabel descLabel
 
javax.swing.JLabel errorLabel
 
JFileChooser fc = new JFileChooser()
 
javax.swing.JCheckBox noFatOrphansCheckbox
 
javax.swing.JLabel pathLabel
 
javax.swing.JTextField pathTextField
 
PropertyChangeSupport pcs = null
 
final String PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"
 
javax.swing.JComboBox< String > timeZoneComboBox
 
javax.swing.JLabel timeZoneLabel
 

Static Private Attributes

static final Logger logger = Logger.getLogger(ImageFilePanel.class.getName())
 

Detailed Description

ImageTypePanel for adding an image file such as .img, .E0x, .00x, etc.

Definition at line 45 of file ImageFilePanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.ImageFilePanel.ImageFilePanel ( String  context,
List< FileFilter >  fileChooserFilters 
)
private

Creates new form ImageFilePanel

Parameters
contexta string context name used to read/store last used settings
fileChooserFiltersa list of filters to be used with the FileChooser

Definition at line 63 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.createTimeZoneList(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.errorLabel, and org.sleuthkit.autopsy.casemodule.ImageFilePanel.initComponents().

Referenced by org.sleuthkit.autopsy.casemodule.ImageFilePanel.createInstance().

Member Function Documentation

synchronized void org.sleuthkit.autopsy.casemodule.ImageFilePanel.addPropertyChangeListener ( PropertyChangeListener  pcl)

Definition at line 401 of file ImageFilePanel.java.

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.changedUpdate ( DocumentEvent  e)
static synchronized ImageFilePanel org.sleuthkit.autopsy.casemodule.ImageFilePanel.createInstance ( String  context,
List< FileFilter >  fileChooserFilters 
)
static
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.createTimeZoneList ( )

Creates the drop down list for the time zones and then makes the local machine time zone to be selected.

Definition at line 316 of file ImageFilePanel.java.

Referenced by org.sleuthkit.autopsy.casemodule.ImageFilePanel.ImageFilePanel().

String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getContentPaths ( )
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.getNoFatOrphans ( )
String org.sleuthkit.autopsy.casemodule.ImageFilePanel.getTimeZone ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.initComponents ( )
private
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.insertUpdate ( DocumentEvent  e)

Update functions are called by the pathTextField which has this set as it's DocumentEventListener. Each update function fires a property change to be caught by the parent panel.

Parameters
ethe event, which is ignored

Definition at line 356 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.MessageType.ERROR, org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.postInit ( )
private
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.readSettings ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.removePropertyChangeListener ( PropertyChangeListener  pcl)

Definition at line 412 of file ImageFilePanel.java.

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.removeUpdate ( DocumentEvent  e)
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.reset ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.select ( )

Set the focus to the pathTextField.

Definition at line 396 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField.

Referenced by org.sleuthkit.autopsy.casemodule.ImageDSProcessor.getPanel().

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.setContentPath ( String  s)

Set the path of the image file.

Definition at line 241 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField.

void org.sleuthkit.autopsy.casemodule.ImageFilePanel.storeSettings ( )
boolean org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel ( )
void org.sleuthkit.autopsy.casemodule.ImageFilePanel.warnIfPathIsInvalid ( String  path)
private

Validates path to selected data source and displays warning if it is invalid.

Parameters
pathAbsolute path to the selected data source

Definition at line 288 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.errorLabel, org.sleuthkit.autopsy.casemodule.Case.getCaseType(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.coreutils.PathValidator.isValid().

Referenced by org.sleuthkit.autopsy.casemodule.ImageFilePanel.validatePanel().

Member Data Documentation

javax.swing.JButton org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButton
private
String org.sleuthkit.autopsy.casemodule.ImageFilePanel.contextName
private

Definition at line 53 of file ImageFilePanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.descLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.errorLabel
private
JFileChooser org.sleuthkit.autopsy.casemodule.ImageFilePanel.fc = new JFileChooser()
private

Definition at line 50 of file ImageFilePanel.java.

final Logger org.sleuthkit.autopsy.casemodule.ImageFilePanel.logger = Logger.getLogger(ImageFilePanel.class.getName())
staticprivate

Definition at line 48 of file ImageFilePanel.java.

javax.swing.JCheckBox org.sleuthkit.autopsy.casemodule.ImageFilePanel.noFatOrphansCheckbox
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathLabel
private
javax.swing.JTextField org.sleuthkit.autopsy.casemodule.ImageFilePanel.pathTextField
private
PropertyChangeSupport org.sleuthkit.autopsy.casemodule.ImageFilePanel.pcs = null
private

Definition at line 49 of file ImageFilePanel.java.

final String org.sleuthkit.autopsy.casemodule.ImageFilePanel.PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"
private

Definition at line 47 of file ImageFilePanel.java.

javax.swing.JComboBox<String> org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneComboBox
private
javax.swing.JLabel org.sleuthkit.autopsy.casemodule.ImageFilePanel.timeZoneLabel
private

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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.