Autopsy  3.1
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

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

Static Public Member Functions

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

Private Member Functions

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

Private Attributes

final String PROP_LASTIMAGE_PATH = "LBL_LastImage_PATH"
 
PropertyChangeSupport pcs = null
 
JFileChooser fc = new JFileChooser()
 
String contextName
 
javax.swing.JButton browseButton
 
javax.swing.JLabel descLabel
 
javax.swing.JCheckBox noFatOrphansCheckbox
 
javax.swing.JLabel pathLabel
 
javax.swing.JTextField pathTextField
 
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 44 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 59 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.createTimeZoneList(), 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 377 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 290 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 328 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 388 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 371 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 232 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 ( )

Should we enable the next button of the wizard?

Returns
true if a proper image has been selected, false otherwise

Definition at line 257 of file ImageFilePanel.java.

References org.sleuthkit.autopsy.casemodule.ImageFilePanel.getContentPaths(), and org.sleuthkit.autopsy.casemodule.Case.pathExists().

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

Member Data Documentation

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

Definition at line 52 of file ImageFilePanel.java.

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

Definition at line 49 of file ImageFilePanel.java.

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

Definition at line 47 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 48 of file ImageFilePanel.java.

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

Definition at line 46 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: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.