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

Inherits JPanel.

Classes

enum  ReportStatus
 

Public Member Functions

 ReportProgressPanel (String reportName, String reportPath)
 
ReportStatus getStatus ()
 
void start ()
 
void setMaximumProgress (final int max)
 
void increment ()
 
void setProgress (final int value)
 
void setIndeterminate (final boolean indeterminate)
 
void updateStatusLabel (final String status)
 
void complete ()
 
void complete (ReportStatus reportStatus)
 

Private Member Functions

void customInit (String reportName, String reportPath)
 
String shortenPath (String path)
 
void initComponents ()
 

Private Attributes

ReportStatus STATUS
 
javax.swing.JLabel pathLabel
 
javax.swing.JLabel processingLabel
 
javax.swing.JLabel reportLabel
 
javax.swing.JProgressBar reportProgressBar
 
javax.swing.JLabel separationLabel
 

Static Private Attributes

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

Detailed Description

Definition at line 31 of file ReportProgressPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.report.ReportProgressPanel.ReportProgressPanel ( String  reportName,
String  reportPath 
)

Member Function Documentation

void org.sleuthkit.autopsy.report.ReportProgressPanel.complete ( )

Declare the report completed. This will fill the JProgressBar, update the cancelButton to completed, and disallow any cancellation of this report.

Deprecated:
Use complete(ReportStatus)

Definition at line 235 of file ReportProgressPanel.java.

References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.COMPLETE.

Referenced by org.sleuthkit.autopsy.modules.stix.STIXReportModule.generateReport().

void org.sleuthkit.autopsy.report.ReportProgressPanel.complete ( ReportStatus  reportStatus)

Declare the report completed ands sets if completed successfully or with errors. This will fill the JProgressBar, update the cancelButton to completed, and disallow any cancellation of this report.

Parameters
reportStatusset to appropriate ResultStatus enum.

Definition at line 244 of file ReportProgressPanel.java.

References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED, org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.COMPLETE, org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.ERROR, org.sleuthkit.autopsy.report.ReportProgressPanel.processingLabel, and org.sleuthkit.autopsy.report.ReportProgressPanel.reportProgressBar.

void org.sleuthkit.autopsy.report.ReportProgressPanel.customInit ( String  reportName,
String  reportPath 
)
private
ReportStatus org.sleuthkit.autopsy.report.ReportProgressPanel.getStatus ( )
void org.sleuthkit.autopsy.report.ReportProgressPanel.increment ( )
void org.sleuthkit.autopsy.report.ReportProgressPanel.initComponents ( )
private
void org.sleuthkit.autopsy.report.ReportProgressPanel.setIndeterminate ( final boolean  indeterminate)

Changes the status of the JProgressBar to be determinate or indeterminate.

Parameters
indeterminatesets the JProgressBar to be indeterminate if true, determinate otherwise

Definition at line 198 of file ReportProgressPanel.java.

References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED, and org.sleuthkit.autopsy.report.ReportProgressPanel.reportProgressBar.

Referenced by org.sleuthkit.autopsy.report.ReportGenerator.TableReportsWorker.doInBackground(), and org.sleuthkit.autopsy.modules.stix.STIXReportModule.generateReport().

void org.sleuthkit.autopsy.report.ReportProgressPanel.setMaximumProgress ( final int  max)
void org.sleuthkit.autopsy.report.ReportProgressPanel.setProgress ( final int  value)

Set the value of the JProgressBar for this report.

Parameters
valuevalue to be set at

Definition at line 182 of file ReportProgressPanel.java.

References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED, and org.sleuthkit.autopsy.report.ReportProgressPanel.reportProgressBar.

String org.sleuthkit.autopsy.report.ReportProgressPanel.shortenPath ( String  path)
private

Return a shortened version of the given path.

Definition at line 114 of file ReportProgressPanel.java.

Referenced by org.sleuthkit.autopsy.report.ReportProgressPanel.customInit().

void org.sleuthkit.autopsy.report.ReportProgressPanel.start ( )
void org.sleuthkit.autopsy.report.ReportProgressPanel.updateStatusLabel ( final String  status)

Change the text of this report's status label. The text given will be the full text used. e.g. updateStatusLabel("Now processing files...") sets the label to "Now processing files..."

Parameters
statusString to use as status

Definition at line 217 of file ReportProgressPanel.java.

References org.sleuthkit.autopsy.report.ReportProgressPanel.ReportStatus.CANCELED, and org.sleuthkit.autopsy.report.ReportProgressPanel.processingLabel.

Referenced by org.sleuthkit.autopsy.report.ReportGenerator.FileReportsWorker.doInBackground(), and org.sleuthkit.autopsy.modules.stix.STIXReportModule.generateReport().

Member Data Documentation

final Logger org.sleuthkit.autopsy.report.ReportProgressPanel.logger = Logger.getLogger(ReportProgressPanel.class.getName())
staticprivate

Definition at line 32 of file ReportProgressPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.report.ReportProgressPanel.pathLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.report.ReportProgressPanel.processingLabel
private
javax.swing.JLabel org.sleuthkit.autopsy.report.ReportProgressPanel.reportLabel
private
javax.swing.JProgressBar org.sleuthkit.autopsy.report.ReportProgressPanel.reportProgressBar
private
javax.swing.JLabel org.sleuthkit.autopsy.report.ReportProgressPanel.separationLabel
private
ReportStatus org.sleuthkit.autopsy.report.ReportProgressPanel.STATUS
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.